Wes Kocher
6d1e417938
Backed out changeset b20e5de65e51 (bug 1239420) for m(bc) failures in browser_usercontext.js
...
--HG--
extra : commitid : HbBPWGSMxWu
2016-01-15 12:13:51 -08:00
Andrea Marchesini
31bbbc390a
Bug 1239420 - UserContextId should be propagate to nested docShells, r=smaug
2016-01-15 18:33:35 +00:00
Jonathan Kew
45d2ab27ce
Bug 890156 - patch 2 - Expose DevicePixelsPerDesktopPixel through nsIBaseWindow and its implementations. r=emk
2015-11-25 19:12:07 +00:00
Andrea Marchesini
54e1406a46
Bug 1237081 - remove the getter of userContextId from nsIDocShell, r=smaug
2016-01-06 15:39:58 +00:00
Nigel Babu
442c7ab5e1
Backed out changeset 1b5c66916877 (bug 1237081) for mochitest browser-chrome bustage
...
--HG--
extra : commitid : HyS2gutZZNx
2016-01-06 12:01:27 +05:30
Andrea Marchesini
ed29611caa
Bug 1237081 - Remove the getter of userContextId from nsIDocShell. r=smaug
...
--HG--
extra : rebase_source : 2909919577005b2a988eeb82d8e6414dadfb44d9
2016-01-05 14:22:00 -05:00
Olli Pettay
fb35bc42f0
Bug 1237075 - Navigating from 'manual' to 'auto' session history entry should scroll the page, r=jst
...
--HG--
extra : rebase_source : c6d901084edf1b17e21c44515a0483c7fbcc77dd
2016-01-06 04:03:42 +02:00
Andrea Marchesini
cb358b3a57
Bug 1193854 - Restoring userContextIds with the browser session - part 1 - store the userContextId in sessionStore, r=smaug, r=ttaubert
2016-01-05 21:00:33 +00:00
Ehsan Akhgari
40c82fa10c
Bug 1236686 - Remove nsIFetchEventDispatcher; r=jdm
2016-01-05 15:04:41 -05:00
Olli Pettay
2b2b2cc690
Bug 1155730, implement History.scrollRestoration r=jst
2015-12-26 12:59:09 +02:00
Tim Nguyen
cf7f672f1c
Bug 1137681 - Per-tab user agent emulation. r=bz
2015-07-21 08:42:00 +02:00
Ehsan Akhgari
d8cef2d841
Bug 1222464 - Part 2: Implement FetchEvent.clientId; r=jdm
2015-12-02 20:36:59 -05:00
Ehsan Akhgari
f9035eb119
Bug 1222464 - Part 1: Save a client ID for top-level navigations on the docshell and assign it as the document ID when we start loading the document; r=jdm
...
For top-level navigations, we need to compute the client ID when we decide to
intercept the document load, and we need to make sure the document that will
be created later will end up using that same ID.
2015-12-02 20:36:56 -05:00
Kate McKinley
20bcd25937
Bug 1191460 Rebased patch and added userContextId to origin attributes. (r=tanvi,r=sicking)
2015-11-24 10:40:02 +09:00
Franziskus Kiefer
6bf24410e1
Bug 1187357 - rename referrer attribute to referrerpolicy. r=hsivonen
2015-11-30 16:13:03 -08:00
Carsten "Tomcat" Book
4478aaa8da
Merge mozilla-central to b2g-inbound
2015-11-25 14:00:32 +01:00
Yoshi Huang
4b500464f5
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Francois Marier
82be864165
Bug 1226490 - Allow administrators to prevent users from ignoring Safe Browsing warnings. r=gcp,r=smaug
2015-11-23 13:34:31 -08:00
Christoph Kerschbaumer
9552d92516
Bug 1119386 - Part 1: Use document's principal for favicons in docshell (r=smaug)
2015-11-24 13:31:42 -08:00
Francois Marier
67506f65a6
Bug 1216723 - Add a new -forbid- Safe Browsing list type. r=gcp,r=smaug
2015-11-20 20:24:50 -08:00
Henry
daec939f23
Bug 1178526 - Create docshell with packageId from TabContext. r=sicking.
2015-10-29 00:52:40 +08:00
Bill McCloskey
4f99faeaed
Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs)
2015-11-11 18:04:21 -08:00
George Wright
92df2e4ade
Bug 1098131 - Don't invalidate layers when simply changing SizeMode r=smaug,jimm
2015-11-09 21:38:21 -05:00
Nicholas Nethercote
ad0dd8414a
Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Gijs Kruitbosch
35bed1c0ce
Bug 1209591 - allow loadURI consumers to expose whether an error page was immediately loaded as result of an error, r=smaug,mak
...
--HG--
extra : commitid : 9tlkWrUKl12
extra : rebase_source : bb5b476dc28cebc66a99d23934a5214530e9a008
extra : amend_source : f62e5a91df5af9eea893fbb9a13980e9fdd56a38
2015-10-27 16:44:24 +01:00
Tom Tromey
141af2d368
Bug 1160307 - capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug r=Paolo
2015-11-05 11:31:00 +01:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ben Kelly
a4dd10345e
Bug 1215140 P8 Remove now unnecessary interception values from ErrorList.h. r=bz
2015-10-29 19:53:25 -07:00
Ben Kelly
00f7f89915
Bug 1215140 P7 Remove old service worker interception logging. r=bz
2015-10-29 19:53:25 -07:00
Ben Kelly
5f3adc2e2b
Bug 1215140 P3 Flush pending console reports on http channels. r=bz
2015-10-29 19:53:25 -07:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Victor Porof
9dc0ce6b1a
Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
...
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
Dragana Damjanovic
007f351b9c
Bug 1213267 - Fix view-source address. r=bz
2015-10-12 02:08:00 -04:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Phil Ringnalda
9ea53214d8
Merge f-t to m-c, a=merge
2015-10-17 11:19:46 -07:00
Masatoshi Kimura
3c8f7945a7
Bug 1207137 - Add an error code for weak crypto override. r=bz
2015-10-17 09:38:30 +09:00
Olli Pettay
9a9ce1ed03
Bug 1003100 - pushState() in iframe fails when reloading with CTRL+F5, r=bz
2015-10-16 20:05:54 +03:00
Gijs Kruitbosch
0e5eaa117d
Bug 1210439, r=smaug
...
--HG--
extra : commitid : C69q7RrWYoC
extra : rebase_source : ef3f6584fa0c62c55bd3b233638b3a2a1db0f865
2015-10-01 13:23:27 -04:00
Xidorn Quan
57b9d7be94
Bug 1212299 part 1 - Forbid documents inside elements other than iframe from requesting fullscreen. r=smaug
...
--HG--
extra : source : b995b57bc1dd2003eeff6f568f5f22298ff81608
2015-10-12 11:24:23 +11:00
Dragana Damjanovic
eebb3ae788
Bug 1211690 - Remove not needed nsILoadInfo get. r=ckerschb
2015-10-11 18:13:10 +02:00
Ehsan Akhgari
202348d36c
Bug 1213514 - Don't bother checking for third party URLs at interception time unless if the user needs it; r=jdm
...
The current code is wasteful for the vast majority of our users.
2015-10-10 19:05:27 -04:00
Ehsan Akhgari
f303ed36f2
Bug 1213150 - Part 2: Rework ShouldPrepareForIntercept() in terms of subresource requests; r=jdm
2015-10-09 10:52:55 -04:00
Ehsan Akhgari
fbd4c8c55b
Bug 1213150 - Part 1: Add a nsContentUtils::IsNonSubresourceRequest helper; r=jdm
2015-10-09 10:52:54 -04:00
Ehsan Akhgari
1869e89340
Bug 1212636 - Add a better error message for the content corrupcted error caused by the Promise being passed to FetchEvent.respondWith; r=bkelly
2015-10-07 18:06:26 -04:00
Bill McCloskey
c5d5457154
Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process
2015-10-07 11:15:11 -07:00
Ehsan Akhgari
158253749d
Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking
2015-10-06 20:26:46 -04:00
Ben Kelly
eaa946bccc
Bug 1210941 P4 Use LOAD_BYPASS_SERVICE_WORKER instead of ForceNoIntercept in nsDocShell. r=ehsan
2015-10-06 06:37:07 -07:00
Dragana Damjanovic
ba3f41bc1e
Bug 1211269 - Store the information whether the channel is LOAD_REPLACE into history entry. r=bz
2015-10-05 12:33:00 +02:00
Michael Madsen
5722288db7
Bug 1208124 - changed a check such that post data only depends on nsIUploadChannel and not nsIHttpChannel. r=bz
2015-09-29 19:50:46 +02:00
Bill McCloskey
207404ad2d
Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs)
2015-10-01 21:18:48 -07:00
Wes Kocher
7c2b0c515f
Merge inbound to central, a=merge
2015-09-30 13:49:27 -07:00
Dragana Damjanovic
5f14316a80
Bug 1185256 - Save originURI to the history. r=bz
...
--HG--
extra : rebase_source : 4321df591ab16127ca4cd6549fcdca7e20c2e890
2015-09-30 08:54:39 +02:00
Gijs Kruitbosch
314c978904
Bug 1206879 - fire onlocationchange from pushState in frames when the URI changes, r=smaug
...
--HG--
extra : commitid : AuCEnWCXk6y
extra : rebase_source : e825b13db3edccb115b7fdd2569154bbc434cfec
2015-09-29 13:50:55 -04:00
Ehsan Akhgari
aa774fb7e3
Bug 1208903 - Eliminate a repeated condition in nsDocShell::EndPageLoad; r=baku
...
Found by Viva64.
2015-09-28 09:08:43 -04:00
Yoshi Huang
d38b78ae54
Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley
2015-09-23 16:10:21 +08:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Ehsan Akhgari
0bc360edc4
Bug 1204581 - Add a deprecation warning for the usage of AppCache when service worker fetch interception is enabled; r=mcmanus,baku
2015-09-24 10:09:10 -04:00
Nikhil Marathe
48d53f38df
Bug 1184798 - Ensure workers loads are treated as non-subresource fetches. r=jdm
...
--HG--
extra : commitid : KSrA2sDx3MI
extra : rebase_source : c28988811316aa40e38752669a928d27750001b6
2015-09-17 11:56:41 -07:00
Ehsan Akhgari
5d40efa578
Bug 1206894 - Enable asynchronous dispatching of fetch events; r=jdm
...
This refactoring patch separates the preparation of the fetch event
object from its dispatching, so that consumers would be able to
dispatch the event asynchronously.
2015-09-21 20:59:27 -04:00
Andrea Marchesini
9462aa8c25
Bug 1163545 - Bypass AppCache completely when Service Workers supported & registered, r=jdm
2015-09-18 10:18:38 +08:00
Brendan Dahl
47647e9a4f
Bug 1202895 - Fix shift-reload check for setting up service worker. r=bkelly
2015-09-16 15:28:45 -07:00
Matteo Ferretti
694730e132
Bug 1132475 - Refactor LayoutHelpers.jsm to avoid dependencies. r=pbrosset
...
--HG--
extra : histedit_source : 54d69138146487b378e62bc2cfeb520a85956f43
2015-09-15 00:32:00 -04:00
Nikhil Marathe
cd9d0eb7ab
Bug 1198230 - Respect FetchEvent.preventDefault(). r=jdm
...
Update web-platform-tests expected data
--HG--
extra : commitid : 4dM6kivKeAc
extra : rebase_source : 64e40258a98b79064d5073422811fb8e1f688735
2015-09-04 12:00:24 -07:00
Aidin Gharibnavaz
9a9c180ef3
Bug 1100154 - Ensure that targeted links in a private browsing window can't target non-private-browsing windows and vice versa. r=bz
2015-09-05 09:15:00 +02:00
Ben Kelly
e12f21f827
Bug 1184607 P5 Set RequestRedirect to "manual" for navigations. r=nsm
...
* * *
Bug 1184607 P5 interdiff 001 don't set manual redirect mode for html imports
2015-08-31 14:26:29 -07:00
Ben Kelly
10350eb242
Bug 1184607 P4 Handle the RequestRedirect mode during service worker interception. r=nsm
...
* * *
Bug 1184607 P4 interdiff 001 fix manual redirect assertion for navigations r=nsm
* * *
Bug 1184607 P4 interdiff 002 dom/worker nits
2015-08-31 14:26:29 -07:00
Victor Porof
e14eb49e91
Bug 1195232 - Stop using TracingMetadata from GeckoProfiler.h, r=tromey
2015-08-31 16:14:14 +02:00
Victor Porof
c78fbabbef
Bug 1195838 - Maintain all the TimelineMarker subclasses in a single place, r=tromey
2015-08-31 14:56:37 +02:00
Victor Porof
4ce24e2588
Bug 1194707 - Remove the docshell param from TimelineMarker constructors, r=tromey
2015-08-31 11:42:35 +02:00
Olli Pettay
942f1a8ca8
Bug 1186774 - Scroll position (scrollX/scrollY) should be restored after popstate, not before, r=bz
...
--HG--
extra : rebase_source : e5b3a1bae24adf174777d35847576c61242e221e
2015-08-28 22:25:54 +03:00
Yoshi Huang
4347bb2318
Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley
2015-08-17 17:03:19 +08:00
Bobby Holley
edfe287f26
Backed out 3 changesets (bug 1165272) for b2g sanity blocker.
2015-08-25 11:16:21 -07:00
Yoshi Huang
12efacfa8c
Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley
2015-08-24 01:31:00 -04:00
William Chen
601a710703
Bug 1196290 - Do not update orientation lock when app docshell is activated. r=smaug
...
--HG--
extra : rebase_source : 3ac42afe245103c052125e9615e43f9b89b295a2
2015-08-20 17:25:05 -07:00
Christoph Kerschbaumer
3e6c68863f
Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch)
2015-08-19 10:43:30 -07:00
William Chen
0625e989b4
Bug 1131470 - Part 5: Handle changes to active orientation lock. r=smaug
...
--HG--
extra : rebase_source : 51fb1484301d8b2afa518396f52a1bd0378f326d
2015-08-18 15:28:01 -07:00
Aryeh Gregor
0ccef27b6a
Bug 1179451 - Part 1: Rewrite some ternary operators as if/else. r=froydnj
...
--HG--
extra : rebase_source : 161e415b6f518bf2b82e45b6f7f8d21298712d81
2015-08-13 15:22:48 +03:00
Christoph Kerschbaumer
dad90516d6
Bug 1192955 - Use channel->ascynOpen2 for PING in docshell/base/nsDocShell.cpp (r=sicking)
2015-08-13 08:53:28 -07:00
Ehsan Akhgari
4db099dbd2
Bug 1191491 - Do not dispatch an audio-playback notification when swapping browsers; r=smaug
...
We send a pagehide event during swapping docshell frame loaders, and
before this patch we would not be able to differentiate this event with
the one that we send when navigating away from a page, so we would
incorrectly dispatch an audio-playback notification indicating that
audio playback has stopped. This patch adds a flag to the root docshell
when the frame loader swapping is in progress and disables the above
behavior when that flag is set.
2015-08-07 12:18:24 -04:00
Birunthan Mohanathas
7315345693
Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Junior Hsu
546348a34c
Bug 1043110 - Part 2 - dispatch mozbrowsererror. r=kanru
...
--HG--
extra : rebase_source : 40a7dc00c2c1121ec6444fefaf1aca927ea17b27
2015-07-15 18:13:16 +08:00
Junior Hsu
d0b091710d
Bug 1043110 - Part 1 - Display a load error if we navigate to a page which is not claimed in |widgetPages|. r=bz
...
--HG--
extra : rebase_source : 2e5d48a826ef8e6f8c159f305d8d549923861488
2015-04-27 14:17:41 +08:00
Ryan VanderMeulen
4f09769d88
Merge fx-team to m-c. a=merge
2015-07-27 10:39:37 -04:00
Christoph Kerschbaumer
4bebfdcdbc
Bug 1187217 - Fix deref nullptr loadInfo in nsDocShell::LoadStream. r=bz
2015-07-24 12:15:14 -07:00
Victor Porof
c7617039dc
Bug 1184377 - Move nsDocShell::PopProfileTimelineMarkers logic to ObservedDocShell, r=smaug
2015-07-18 09:35:59 -04:00
Carsten "Tomcat" Book
cbae5434a4
merge mozilla-inbound to mozilla-central a=merge
2015-07-24 12:54:13 +02:00
Ryan VanderMeulen
16c5601b55
Merge m-c to inbound. a=merge
2015-07-23 16:05:45 -04:00
Eric Rahm
fb657a2076
Bug 1184275 - Remove warnings that URI is not a file URI. r=jduell
...
This error is handled properly and appears to happen due to legitimate usage.
The warnings are updated to just return the proper error code.
2015-07-23 11:03:25 -07:00
Victor Porof
05bbc587a6
Bug 1183235 - Keep the dochsell-specific markers inside a ObservedDocShell managed list instead of nsDocShell, r=smaug
2015-07-18 09:35:59 -04:00
Eric Rahm
6603d2cd75
Bug 1184260 - Remove warning if GetRootScrollFrame returns null in GetCurScrollPos. r=smaug
2015-07-22 09:24:57 -07:00
Carsten "Tomcat" Book
b76ca95f3f
merge mozilla-inbound to mozilla-central a=merge
2015-07-21 16:56:44 +02:00
Victor Porof
a714287abf
Bug 1183231 - Maintain a list of timeline-observed docshells outside of nsDocShell, r=smaug
2015-07-18 09:35:59 -04:00
Michael Layzell
811eb00946
Bug 1184971 - Expose cookieBehavior and cookieLifetimePolicy preference variants from nsICookieService. r=ehsan
...
--HG--
extra : rebase_source : 7cfe37db0fe858f42aceda2ef90a5fa69560b86e
2015-07-17 08:01:00 +02:00
Carsten "Tomcat" Book
af1ca050c6
Backed out changeset 2f4b5acae553 (bug 1184971) for causing OS X Memory Leaks
...
--HG--
extra : rebase_source : 8a69fbfd8f30276036a80929e2f04b1e22d60341
2015-07-21 10:27:44 +02:00
Victor Porof
c08ba2500f
Bug 1183229 - Add a way to count the number of timeline-observed docshells outside of nsDocShell, r=smaug
2015-07-18 09:35:59 -04:00
Franziskus Kiefer
b4e4b6d771
Bug 1174913 - remove unnecessary attribute parsing. r=bz
2015-07-13 18:04:42 -07:00
Franziskus Kiefer
e97220a88e
Bug 1174913 - anchor and area referrer attributes. r=ckerschb, r=bz
2015-06-05 15:25:24 -07:00
Michael Layzell
30664f5e8d
Bug 1184971 - Expose cookieBehavior and cookieLifetimePolicy preference variants from nsICookieService. r=ehsan
2015-07-17 08:01:00 +02:00
Mike Conley
c86643f748
Bug 1114299 - Be more strict about which window chromeFlags we compute from content. r=smaug
...
We don't ever want to accept "private", "non-private", "remote" or "non-remote" from the
content process. We only let the parent decide when to open those types of windows.
--HG--
extra : commitid : 9MGeXNdb9US
extra : rebase_source : 41a4d9785bd667b84c255eda0ac7fedf44733736
extra : histedit_source : 698c707b68c60108e0631b775a98fb4e241c009b
2015-07-10 11:40:19 -04:00
Ehsan Akhgari
020deeb507
Bug 1148044 - Correctly reflect frame and iframe RequestContext values; r=smaug
2015-07-18 13:18:06 -04:00