Граф коммитов

4310 Коммитов

Автор SHA1 Сообщение Дата
Victor Porof 66078a0201 Bug 1211839 - Don't allow off the main thread markers to nest under main thread markers, r=smaug, jsantell 2015-10-24 17:10:22 +02: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 9ce6fdd65c Bug 1217836 - Add a readme file to our timeline backend, r=jsantell 2015-10-24 17:09:15 +02: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
Tooru Fujisawa 66174ea819 Bug 1217315 - Remove for-each from docshell/. r=smaug
--HG--
extra : commitid : JmGDFohA4rK
2015-10-19 01:37:26 +09:00
Dragana Damjanovic 007f351b9c Bug 1213267 - Fix view-source address. r=bz 2015-10-12 02:08:00 -04:00
Christoph Kerschbaumer 33fa277605 Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07:00
Wes Kocher c6deb98829 Backed out 3 changesets (bug 1204983) for talos(g2) failures
Backed out changeset 00c07b02c8a8 (bug 1204983)
Backed out changeset a4879b180d2d (bug 1204983)
Backed out changeset 38b6f878608a (bug 1204983)
2015-10-19 16:09:33 -07:00
Nicholas Hurley 1f3e7e88b7 Bug 1213443 - Parallelism for <link rel=prefetch> r=bz
--HG--
extra : rebase_source : 386f6fb7b4fb5513bb4821ba59d2d205ce9b75b4
2015-10-19 12:46:57 -07:00
Christoph Kerschbaumer 1526f05f35 Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07: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
Wes Kocher e3ef408502 Backed out 3 changesets (bug 1204983) for various talos failures
Backed out changeset 5bdf50e82ca8 (bug 1204983)
Backed out changeset 602e91d48e43 (bug 1204983)
Backed out changeset c7d3635f771a (bug 1204983)
2015-10-16 09:29:36 -07:00
Christoph Kerschbaumer 8d976b10b7 Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07:00
Nathan Froyd 6e137587df Bug 1207161 - fix run-by-dir leak in test_bug846906.xul; r=mccr8 2015-10-12 21:41:35 -04: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
Valentin Gosu 9b9fcccc66 Bug 1199430 - update to tests. r=gijs 2015-10-08 11:57:58 +02: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 1b6da7ed71 Back out bug 967873 - Test changes for async removeTab 2015-10-07 11:15:11 -07:00
Bill McCloskey 919ed9ae86 Back out bug 967873 - browser_onbeforeunload_navigation.js fix for e10s 2015-10-07 11:15:11 -07:00
Bill McCloskey c5d5457154 Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-10-07 11:15:11 -07:00
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Ehsan Akhgari 158253749d Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking 2015-10-06 20:26:46 -04:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Kaustabh Datta Choudhury 92494c4d5f Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop debug builds. r=jmaher 2015-10-06 09:46:24 -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
Carsten "Tomcat" Book e91d5a31b6 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book ca77b70a8d merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Bobby Holley c74861b35c Bug 1210508 - Handle null OriginAttributes from JS-implemented nsILoadContext. r=me 2015-10-01 18:10:18 -07:00
Wes Kocher 296abd21ee Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 38a51b2c491658bc19cfac0d227b04ef6e5f6718
2015-09-30 14:10:21 -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
Tooru Fujisawa ee5f570ffb Bug 1207499 - Part 3: Remove use of expression closure from docshell/. r=bz
--HG--
extra : commitid : L3WI3cTiD8P
extra : rebase_source : fcaabc7b817c736a392b827223706df5343f2301
2015-09-21 02:36:39 +09:00
Bill McCloskey 207404ad2d Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-10-01 21:18:48 -07:00
Bill McCloskey 057e0bf85a Bug 967873 - browser_onbeforeunload_navigation.js fix for e10s (r=Gijs) 2015-10-01 21:18:06 -07:00
Bill McCloskey 633d4a3ecf Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-10-01 21:18:05 -07:00
Gijs Kruitbosch 5dd3837ea4 Bug 636905 - part 3: flip prefs in tests to keep them working, r=jaws
--HG--
extra : commitid : 5ctg1uTZzZd
extra : rebase_source : 953ba9df408b24a340074abeb1a05a2c02b2bbf6
2015-09-26 15:01:51 +01:00
Brian Grinstead d23fa8b95a Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound
2015-09-24 08:23:32 -07: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
Wes Kocher 04128a0432 Merge m-c to inbound, a=merge 2015-09-24 17:14:17 -07:00
Wes Kocher 0eeafe1fa4 Merge inbound to central, a=merge 2015-09-24 16:46:34 -07:00
Wes Kocher e1ad19c1cb Backed out 2 changesets (bug 1034110) for test_mutationobserver_anonymous.html bustage CLOSED TREE
Backed out changeset 7b145ea2fbde (bug 1034110)
Backed out changeset 3a8904e50016 (bug 1034110)
2015-09-24 11:29:11 -07:00
J. Ryan Stinnett c0dffd8c52 Bug 1201535 - Mark srcdoc as safe for loading in child. r=bz
When showing view source of a srcdoc frame in a tab, we load the frame content
via a page descriptor and use the URI "view-source:about:srcdoc".

Since we are creating a browser tab, the docshell's `InternalLoad` triggers the
browser's `shouldLoadURI` machinery that checks if we are in the correct process
for the given URI.  This machinery will unwrap "view-source:" to "about:srcdoc"
and check if such an about page can be loaded in the child.

Marking "about:srcdoc" as safe for the child to load allows the view source
content of the frame to be displayed as expected.
2015-09-24 12:39:08 -05:00
Bobby Holley 110f12e7ca Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
Brian Grinstead e1174022ee Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound

--HG--
extra : commitid : 6TG2gUAljQC
2015-09-24 08:23:32 -07:00
Kaustabh Datta Choudhury d64ac7ea6b Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop opt builds. r=jmaher 2015-09-23 13:39:45 -04: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
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Wes Kocher d483efb68a Merge m-c to inbound, a=merge CLOSED TREE 2015-09-22 16:46:47 -07:00
Gijs Kruitbosch ae1ee788c9 Bug 1199289 - r=valentin,dao
--HG--
extra : commitid : Gt0ahICl0FY
extra : rebase_source : 4c21bbdc64d32ad1ea7291252632d13d1d326296
2015-09-22 16:26:15 +01: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
Phil Ringnalda 998bf97f68 Bug 1206406 - We need to also ifdef the CID for about:performance so about:about doesn't assert in non-NIGHTLY_BUILDs, r=Yoric 2015-09-19 12:24:18 -07:00
Olli Pettay 73e3069a93 Bug 1209621 - Add a way to get the TabParent for the content-primary tab, r=mconley
--HG--
extra : rebase_source : 2755b86bf3b247cbb2931eda3cc9433d2878125e
2015-10-01 20:06:51 +03: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
Nicholas Nethercote 6f036921dc Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)

--HG--
extra : rebase_source : 89b99e9dbb2a806bd21145d04a5e023794643b61
2015-09-09 21:07:07 -07:00
Wes Kocher 5b879dacff Merge mozilla-inbound to m-c a=merge CLOSED TREE 2015-09-16 10:52:53 -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
Michael Layzell 0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Victor Porof 7456418a9e Bug 1200119 - Add a way to create usable markers from different threads, r=tromey 2015-09-11 17:03:06 +02: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
Victor Porof 2f60403030 Bug 1200118 - Create a barebones TimelineMarker abstract class, r=tromey 2015-09-04 14:13:11 +02:00
Jan Keromnes 5bc0358244 Bug 1196785 - Alphabetically sort redirected about:pages. r=jst 2015-08-31 07:30: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
Ryan VanderMeulen 0f38752ebc Merge inbound to m-c. a=merge 2015-08-31 15:21:02 -04:00
Victor Porof e14eb49e91 Bug 1195232 - Stop using TracingMetadata from GeckoProfiler.h, r=tromey 2015-08-31 16:14:14 +02:00
Victor Porof a6f8bea518 Bug 1196294 - Remove the mCause from TimelineMarkers, r=tromey 2015-08-31 16:13:23 +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
Ryan VanderMeulen 3e3e1cbd1d Merge m-c to fx-team. a=merge 2015-08-26 14:34:15 -04:00
YFdyh000 39ddf7f195 Bug 1169209 - about:performance should not be listed for non-Nightly. r=Yoric 2015-08-24 07:01:00 -04:00
Bobby Holley edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Chris Peterson 1416e566de Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Victor Porof a79634e0d2 Bug 1050498 - Record compositing operations, r=jsantell,smaug,tromey 2015-08-25 08:51:58 +03:00
Yoshi Huang 12efacfa8c Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Blake Kaplan 69b300592b Bug 1197378 - Make docshell tests pass in e10s. r=billm 2015-08-21 16:21:23 -07: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
Wes Kocher d8fffe1765 Merge inbound to central, a=merge 2015-08-20 12:42:21 -07:00
Yury Delendik 2ea982f244 Bug 1192450 - Remove PlayPreview registration from Shumway. r=jet
--HG--
extra : amend_source : cd9b8cd949cc2354d6166987cfb7c1fb00beb372
2015-08-18 11:24:16 -05: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
Christoph Kerschbaumer 3e6c68863f Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch) 2015-08-19 10:43:30 -07:00
Arnaud Bienner 2755fa9a57 Bug 1190086 - Use new String::Contains(char) method more widely r=froydnj
--HG--
extra : rebase_source : 81df1495200d3734ea1c4c13818ae764a445f4b3
2015-08-14 00:49:15 +02: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
Carsten "Tomcat" Book b998607785 Merge mozilla-central to fx-team 2015-08-05 13:36:41 +02:00
Victor Porof a8beaed157 Bug 1190826 - Rename "AddMarkerTo*" to "AddMarkerFor*" to reflect the new philosophy behind markers, r=tromey 2015-08-05 12:32:24 +02: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
Robert O'Callahan efd3df82d6 Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv
--HG--
extra : commitid : 8C2GnpowyCS
extra : rebase_source : 3f2948df48fe13f65425345f7b674e4e4869c861
2015-07-25 18:05:19 +12:00
Robert O'Callahan 1e49288224 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
--HG--
extra : commitid : CYjyQn3BAqb
extra : rebase_source : ef153c7cf1e08a058d8de6a76dbe7dc343a299fb
2015-07-25 18:01:19 +12: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
Bobby Holley 97b9240b34 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Tom Tromey 9f3b16bf4c Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen
--HG--
extra : rebase_source : f9b507d8f005dbca6f40f510ca41a0cbb03aebf9
2015-07-24 07:01:00 -04: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
Carsten "Tomcat" Book 0551dfb053 merge mozilla-inbound to mozilla-central a=merge 2015-07-20 11:36:42 +02:00
Victor Porof 81a5c929bd Bug 1183219 - Backed out last 5 changesets for bustage, r=me on a CLOSED TREE 2015-07-18 10:21:09 -04:00
Victor Porof bff70054c1 Bug 1184377 - Move nsDocShell::PopProfileTimelineMarkers logic to ObservedDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof cddc9e87fc Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof fdcffbe3d1 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
Victor Porof da659206bb Bug 1183231 - Maintain a list of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof 58593a8714 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
Victor Porof f11ae1a898 Bug 1183228 - Use separate files for AutoTimelineMarker and AutoGlobalTimelineMarker, r=smaug 2015-07-17 15:51:39 -04:00
Victor Porof 373125241c Bug 1183223 - Create a markers directory temporarily inside docshell/base where all marker logic should go into, r=smaug
--HG--
rename : docshell/base/AutoTimelineMarker.cpp => docshell/base/timeline/AutoTimelineMarker.cpp
rename : docshell/base/AutoTimelineMarker.h => docshell/base/timeline/AutoTimelineMarker.h
rename : docshell/base/TimelineMarker.cpp => docshell/base/timeline/TimelineMarker.cpp
rename : docshell/base/TimelineMarker.h => docshell/base/timeline/TimelineMarker.h
2015-07-17 15:51:19 -04:00
Kyle Huey 837b076d57 Bug 1182316: Part 2 - Rework FORWARD_TO_OUTER_OR_THROW. r=peterv 2015-07-16 22:10:35 -07:00
Ryan VanderMeulen 7f057e1c5f Backed out changeset 0dca237df7e2 (bug 1160307) for causing bug 1184752.
--HG--
extra : rebase_source : 56a2060af6a1d4cbb1f21665d65e50ec3b834265
2015-07-16 20:38:13 -04:00
Franziskus Kiefer b4e4b6d771 Bug 1174913 - remove unnecessary attribute parsing. r=bz 2015-07-13 18:04:42 -07:00
Cody Crews 6a379c1b45 Bug 1178058. Don't convert an expanded principal into inheriting the current principal. Just pretend like the null principal did the load (like LOAD_FLAGS_DISALLOW_INHERIT_OWNER does). r=bholley 2015-07-16 17:53:19 -04: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 d5b13cb522 Bug 1114299 - Regression test. r=smaug
--HG--
extra : commitid : 40IZTx39dDT
extra : rebase_source : 7d4406ece9cd1747d526cc065ef124db721a8a20
extra : histedit_source : 3c287ca9ec92a9612de9ddcaf65780547d707510
2015-07-17 13:51:39 -04: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
Ryan VanderMeulen b171b787bd Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures. 2015-07-17 12:37:24 -04:00
Tom Tromey 843465db8e Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-17 07:48:00 -04:00
Tom Tromey 3ff8c1f3fa Bug 1160307 - Capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug, r=Paolo 2015-07-15 12:15:00 -04:00
Eric Rahm de78cd3d8e Bug 1184284 - Remove txToRemove warning from nsSHistory::RemoveDuplicate. r=smaug 2015-07-15 13:18:57 -07:00
Ben Kelly 1d8798cbc9 Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-14 13:11:26 -07:00
Ben Kelly e2321797dc Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm 2015-07-14 13:11:26 -07:00
Victor Porof 8f1e61795d Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Neil Deakin eee10c99f2 Bug 1132518, make document navigation with F6/Shift+F6 work in e10s. This combines the document and tab navigation mechanisms together, r=smaug 2015-07-13 06:07:49 -04:00
Wes Kocher aec62d3dc0 Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE
--HG--
extra : amend_source : 82d7af13e11137e614b0b1bd12f5af3108551bfc
2015-07-10 15:59:01 -07:00
Wes Kocher 14b97c87b1 Backed out changeset df6593df027b (bug 1173912) 2015-07-10 15:58:24 -07:00
Ben Kelly e0d5d6632a Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-10 14:28:32 -07:00
Ben Kelly 2a31a01e4b Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm 2015-07-10 14:28:32 -07:00
Geoff Brown 52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Ryan VanderMeulen edce9d010f Merge inbound to m-c. a=merge
CLOSED TREE
2015-07-08 14:33:24 -04:00
Nihanth Subramanya 5e74ed3e43 Bug 1179058 - Implement shouldAddToSessionHistory in WebBrowserChrome JS object. r=adw
--HG--
extra : rebase_source : b21952075a68b39cbfbbb36cde0713096c700c46
2015-07-02 11:04:06 -07:00
Gijs Kruitbosch c33e5c488a Bug 1180460 - don't allow alternate URI changes inside view-source URI fixup, r=bz
--HG--
extra : commitid : Et7nRe1XLQc
extra : rebase_source : c512c4bd53f787db6616a7e415cf96e51ab9c071
2015-07-07 11:26:15 +01:00
Jose Antonio Olivera Ortega 39f83f3d1f Bug 1174140 - Some service worker info properties are empty in the list of service workers shown by about:sw. r=billm 2015-07-07 23:12:05 +02:00
Emanuel Hoogeveen 7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Phil Ringnalda 900c693e30 Merge m-c to m-i 2015-07-03 19:15:06 -07:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Yury Delendik 8d6aa6ae83 Bug 1179262 - Remove PlayPreview usage from PDF viewer. r=bz
--HG--
extra : rebase_source : ecdd1e516e1fc842169454161614f65d26462662
2015-07-02 11:09:45 -05:00
Eric Rahm 2fead310bb Bug 1177565 - Stop warning if EnsureScriptEnvironment returns NS_ERROR_NOT_AVAILABLE. r=smaug 2015-06-29 17:16:31 -07:00
Carsten "Tomcat" Book 90ccc67e4e merge mozilla-inbound to mozilla-central a=merge 2015-06-29 14:17:02 +02:00
Andrea Marchesini 43fb37cc29 Bug 1177621 - SharedWorkers should not be shared between a private and a non-private documents, r=nsm 2015-06-26 11:18:18 -07:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Nihanth Subramanya fb7c08fefa Bug 1118285 - The browser.newtab.url preference is abused and should be removed. 2015-05-27 17:35:03 -07:00
Andrea Marchesini b4745b397a Bug 110567 - Remove nsIDocShell::GetURLSearchParams(), r=smaug 2015-06-24 06:49:07 -07:00
Nikhil Marathe 0db24a2c7c Bug 1173389 - Disable ServiceWorker network interception by default. r=ehsan
--HG--
extra : rebase_source : 6309f011f978f08c4f104123910f7d8d9e56045a
2015-06-12 16:28:13 -07:00
Mike Conley 3d82028ac3 Bug 1170488 - Add browser_multiple_pushState.js regression test. r=smaug
--HG--
extra : commitid : F8FqOZql1gs
extra : rebase_source : 2cff12af1780483bc17827550cf4bd8dce2db096
2015-06-16 10:15:40 -04:00
Mike Conley 6401cd5977 Bug 1170488 - Document URI should be updated before sending out onLocationChange. r=smaug
--HG--
extra : commitid : G1j77ljzh7a
extra : rebase_source : 93ba52598fd5b1b79a63e3903feaeab4b957d6d4
2015-06-17 10:26:28 -04:00
Fernando Jimenez 10fa76166d Bug 1152899 - Disallow the interception of third-party iframes using service workers when the third-party cookie preference is set. r=smaug,baku 2015-06-11 15:32:54 +02:00
Wes Kocher cf559bd6b2 Merge m-c to inbound, a=merge CLOSED TREE 2015-06-10 18:38:28 -07:00
Wes Kocher 4eedce1509 Merge inbound to central, a=merge 2015-06-10 18:29:39 -07:00
Andrea Marchesini dcdcd94a06 Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley 2015-06-04 19:51:57 +01:00
Nick Fitzgerald c67bc82ccc Bug 1141614 - Part 5: Add a test for cycle collection markers; r=jsantell 2015-06-10 14:05:53 -07:00
Nick Fitzgerald f9bd8dc5de Bug 1141614 - Part 2: Add mozilla::AutoGlobalTimelineMarker; r=smaug 2015-06-10 14:05:53 -07:00
Nick Fitzgerald 9a58f89b9d Bug 1141614 - Part 1: Maintain a list of docshells whose timeline markers are being observed; r=smaug 2015-06-10 14:05:52 -07:00
Paolo Amadini 0697364b3d Bug 1158133 - Add a way to disable async stacks, and disable by default on mobile platforms. r=bent,jimb
--HG--
extra : rebase_source : 440284ded7a60d44430cd0a91fd946fa4c76c987
2015-06-09 11:17:09 +02:00
Ryan VanderMeulen 9a2838c071 Backed out 5 changesets (bug 1141614) for browser_timelineMarkers-02.js failures.
Backed out changeset 1db2b848699a (bug 1141614)
Backed out changeset 9becec7879dc (bug 1141614)
Backed out changeset fff492fc48ce (bug 1141614)
Backed out changeset f49e64db4a66 (bug 1141614)
Backed out changeset 63199013dac2 (bug 1141614)

CLOSED TREE
2015-06-09 13:20:24 -04:00
Nick Fitzgerald e3176f3516 Bug 1141614 - Part 2: Add mozilla::AutoGlobalTimelineMarker; r=smaug 2015-06-08 12:40:07 -07:00
Nick Fitzgerald ac6fdc2468 Bug 1141614 - Part 1: Maintain a list of docshells whose timeline markers are being observed; r=smaug 2015-06-08 12:40:07 -07:00
Kartikaya Gupta 983c6000d6 Bug 1172224 - Ensure that docshells return an appropriate value for APZ-enabled even if they don't have a presShell. r=dvander 2015-06-08 14:46:47 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Carsten "Tomcat" Book e7e949f08a Backed out changeset bc305c9b5d05 (bug 1155153) for b2g xpshell test failure on a CLOSED TREE 2015-06-05 13:07:51 +02:00
Andrea Marchesini 42cd5b397c Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley 2015-06-04 19:51:57 +01:00
David Anderson b2eb29a9c5 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Eric Rahm 75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm f50b813989 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Honza Bambas 326b2476af Bug 1170534 - Remove Visual Event Tracer. r=dougt 2015-06-02 11:44:00 -04:00
Carsten "Tomcat" Book ecb8f8af70 Merge mozilla-central to mozilla-inbound 2015-06-03 13:54:38 +02:00
Jordan Santell a293db6727 Bug 1170671 - ProfileTimelineMarkers that use TRACING_TIMESTAMP should capture stack information. r=smaug 2015-06-02 16:16:32 -07:00
Andrea Marchesini a71e717b67 Bug 1162088 - patch 1 - ServiceWorkerManager should use OriginAttributes from the principal as scopeKey, r=nsm, r=bholley 2015-06-03 09:43:43 +01:00
Wes Kocher 4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm dc090e3fe5 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00