Commit Graph

2229 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
1955db09bc Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
404e79482a merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Bobby Holley
f165d92e10 Bug 1210508 - Handle null OriginAttributes from JS-implemented nsILoadContext. r=me 2015-10-01 18:10:18 -07:00
Wes Kocher
5562cb27c2 Merge m-c to inbound a=merge 2015-09-30 14:10:21 -07:00
Wes Kocher
96c3ed29dc Merge inbound to central, a=merge 2015-09-30 13:49:27 -07:00
Dragana Damjanovic
291ca6cca2 Bug 1185256 - Save originURI to the history. r=bz 2015-09-30 08:54:39 +02:00
Gijs Kruitbosch
feb8238f8f Bug 1206879 - fire onlocationchange from pushState in frames when the URI changes, r=smaug 2015-09-29 13:50:55 -04:00
Tooru Fujisawa
6af73d29af Bug 1207499 - Part 3: Remove use of expression closure from docshell/. r=bz 2015-09-21 02:36:39 +09:00
Bill McCloskey
f18cb757c6 Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-10-01 21:18:48 -07:00
Bill McCloskey
85d1163299 Bug 967873 - browser_onbeforeunload_navigation.js fix for e10s (r=Gijs) 2015-10-01 21:18:06 -07:00
Bill McCloskey
afe1d260d8 Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-10-01 21:18:05 -07:00
Gijs Kruitbosch
b820b10ca9 Bug 636905 - part 3: flip prefs in tests to keep them working, r=jaws 2015-09-26 15:01:51 +01:00
Brian Grinstead
c6e35a38ee 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
d4d0bcac1a Bug 1208903 - Eliminate a repeated condition in nsDocShell::EndPageLoad; r=baku
Found by Viva64.
2015-09-28 09:08:43 -04:00
Yoshi Huang
027c3bd555 Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Wes Kocher
0fa7b5f27e Merge m-c to inbound, a=merge 2015-09-24 17:14:17 -07:00
Wes Kocher
4a23e18b0a Merge inbound to central, a=merge 2015-09-24 16:46:34 -07:00
Wes Kocher
612d2d83db 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
b6eaa634fb 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
708ae67ade Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
Brian Grinstead
2d8c27349f 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
Kaustabh Datta Choudhury
c689a3001e 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
d0a7993b8d 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
dd2fcb9b7d 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
4b6ae1792e Merge m-c to inbound, a=merge CLOSED TREE 2015-09-22 16:46:47 -07:00
Gijs Kruitbosch
2a470e386e Bug 1199289 - r=valentin,dao 2015-09-22 16:26:15 +01:00
Nikhil Marathe
b4ab0e78f8 Bug 1184798 - Ensure workers loads are treated as non-subresource fetches. r=jdm 2015-09-17 11:56:41 -07:00
Ehsan Akhgari
527bf87e31 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
3c662951ee 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
e476b40985 Bug 1209621 - Add a way to get the TabParent for the content-primary tab, r=mconley 2015-10-01 20:06:51 +03:00
Andrea Marchesini
fbb8326525 Bug 1163545 - Bypass AppCache completely when Service Workers supported & registered, r=jdm 2015-09-18 10:18:38 +08:00
Brendan Dahl
1da400935e Bug 1202895 - Fix shift-reload check for setting up service worker. r=bkelly 2015-09-16 15:28:45 -07:00
Nicholas Nethercote
cae6e9971a 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.)
2015-09-09 21:07:07 -07:00
Wes Kocher
34e9dbc511 Merge mozilla-inbound to m-c a=merge CLOSED TREE 2015-09-16 10:52:53 -07:00
Matteo Ferretti
83cef5eca1 Bug 1132475 - Refactor LayoutHelpers.jsm to avoid dependencies. r=pbrosset 2015-09-15 00:32:00 -04:00
Michael Layzell
f20336e5e1 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
d5ee0e4580 Bug 1200119 - Add a way to create usable markers from different threads, r=tromey 2015-09-11 17:03:06 +02:00
Nikhil Marathe
56a9c419d8 Bug 1198230 - Respect FetchEvent.preventDefault(). r=jdm
Update web-platform-tests expected data
2015-09-04 12:00:24 -07:00
Aidin Gharibnavaz
d264c28b1b 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
6316fd46c1 Bug 1200118 - Create a barebones TimelineMarker abstract class, r=tromey 2015-09-04 14:13:11 +02:00
Jan Keromnes
055efa7e1b Bug 1196785 - Alphabetically sort redirected about:pages. r=jst 2015-08-31 07:30:00 +02:00
Ben Kelly
2e7f710fed 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
e965d22802 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
aa1decaaea Merge inbound to m-c. a=merge 2015-08-31 15:21:02 -04:00
Victor Porof
473b0a4e82 Bug 1195232 - Stop using TracingMetadata from GeckoProfiler.h, r=tromey 2015-08-31 16:14:14 +02:00
Victor Porof
436bf86729 Bug 1196294 - Remove the mCause from TimelineMarkers, r=tromey 2015-08-31 16:13:23 +02:00
Victor Porof
41542b4509 Bug 1195838 - Maintain all the TimelineMarker subclasses in a single place, r=tromey 2015-08-31 14:56:37 +02:00
Victor Porof
9c93c0380d Bug 1194707 - Remove the docshell param from TimelineMarker constructors, r=tromey 2015-08-31 11:42:35 +02:00
Olli Pettay
d9cecf2614 Bug 1186774 - Scroll position (scrollX/scrollY) should be restored after popstate, not before, r=bz 2015-08-28 22:25:54 +03:00
Yoshi Huang
2e408d4ba7 Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Ryan VanderMeulen
8f8d05680f Merge m-c to fx-team. a=merge 2015-08-26 14:34:15 -04:00
YFdyh000
f689464ea9 Bug 1169209 - about:performance should not be listed for non-Nightly. r=Yoric 2015-08-24 07:01:00 -04:00
Bobby Holley
8f42e826dc Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Chris Peterson
cd0fd3466a Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Victor Porof
d3b7c864af Bug 1050498 - Record compositing operations, r=jsantell,smaug,tromey 2015-08-25 08:51:58 +03:00
Yoshi Huang
f41381bebf Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Nicholas Nethercote
69d088e45f 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.
2015-08-27 20:44:53 -07:00
Shu-yu Guo
45211869c8 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
cf90c2e5d8 Bug 1197378 - Make docshell tests pass in e10s. r=billm 2015-08-21 16:21:23 -07:00
William Chen
e3a54600ad Bug 1196290 - Do not update orientation lock when app docshell is activated. r=smaug 2015-08-20 17:25:05 -07:00
Wes Kocher
76933589ec Merge inbound to central, a=merge 2015-08-20 12:42:21 -07:00
Yury Delendik
db95c50ce6 Bug 1192450 - Remove PlayPreview registration from Shumway. r=jet 2015-08-18 11:24:16 -05:00
William Chen
05ab6fb0ae Bug 1131470 - Part 5: Handle changes to active orientation lock. r=smaug 2015-08-18 15:28:01 -07:00
Christoph Kerschbaumer
a12861eafc Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch) 2015-08-19 10:43:30 -07:00
Arnaud Bienner
5f922f1572 Bug 1190086 - Use new String::Contains(char) method more widely r=froydnj 2015-08-14 00:49:15 +02:00
Aryeh Gregor
bac1b8bdfe Bug 1179451 - Part 1: Rewrite some ternary operators as if/else. r=froydnj 2015-08-13 15:22:48 +03:00
Christoph Kerschbaumer
884725d01a Bug 1192955 - Use channel->ascynOpen2 for PING in docshell/base/nsDocShell.cpp (r=sicking) 2015-08-13 08:53:28 -07:00
Ehsan Akhgari
4260d89a31 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
ed7c3da5fe Merge mozilla-central to fx-team 2015-08-05 13:36:41 +02:00
Victor Porof
2d8f660524 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
e1f0334d06 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
d10c4321ce Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv 2015-07-25 18:05:19 +12:00
Robert O'Callahan
d67ff5c3b6 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv 2015-07-25 18:01:19 +12:00
Junior Hsu
4376bd27f7 Bug 1043110 - Part 2 - dispatch mozbrowsererror. r=kanru 2015-07-15 18:13:16 +08:00
Junior Hsu
6c768db7c2 Bug 1043110 - Part 1 - Display a load error if we navigate to a page which is not claimed in |widgetPages|. r=bz 2015-04-27 14:17:41 +08:00
Bobby Holley
59c4d9cf6c Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Tom Tromey
5b6fe925f0 Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-24 07:01:00 -04:00
Ryan VanderMeulen
89f3a33336 Merge fx-team to m-c. a=merge 2015-07-27 10:39:37 -04:00
Christoph Kerschbaumer
0446934725 Bug 1187217 - Fix deref nullptr loadInfo in nsDocShell::LoadStream. r=bz 2015-07-24 12:15:14 -07:00
Victor Porof
da3d283a9e Bug 1184377 - Move nsDocShell::PopProfileTimelineMarkers logic to ObservedDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Carsten "Tomcat" Book
7d1d8c5361 merge mozilla-inbound to mozilla-central a=merge 2015-07-24 12:54:13 +02:00
Ryan VanderMeulen
91139f31c2 Merge m-c to inbound. a=merge 2015-07-23 16:05:45 -04:00
Eric Rahm
799e4999c6 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
28a4aa678c 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
ca3cb85d86 Bug 1184260 - Remove warning if GetRootScrollFrame returns null in GetCurScrollPos. r=smaug 2015-07-22 09:24:57 -07:00
Carsten "Tomcat" Book
4f4600f00c merge mozilla-inbound to mozilla-central a=merge 2015-07-21 16:56:44 +02:00
Victor Porof
5483f72839 Bug 1183231 - Maintain a list of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Michael Layzell
ec0195ef0d Bug 1184971 - Expose cookieBehavior and cookieLifetimePolicy preference variants from nsICookieService. r=ehsan 2015-07-17 08:01:00 +02:00
Carsten "Tomcat" Book
730486ac29 Backed out changeset 2f4b5acae553 (bug 1184971) for causing OS X Memory Leaks 2015-07-21 10:27:44 +02:00
Victor Porof
8a223e4992 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
e268f9c147 merge mozilla-inbound to mozilla-central a=merge 2015-07-20 11:36:42 +02:00
Victor Porof
0267134d00 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
6609b1944f Bug 1184377 - Move nsDocShell::PopProfileTimelineMarkers logic to ObservedDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof
9a1eb87806 Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof
739eeae2bc 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
26049dcc4e Bug 1183231 - Maintain a list of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof
f59232b08e 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
dd9c146536 Bug 1183228 - Use separate files for AutoTimelineMarker and AutoGlobalTimelineMarker, r=smaug 2015-07-17 15:51:39 -04:00
Victor Porof
3b3260cf50 Bug 1183223 - Create a markers directory temporarily inside docshell/base where all marker logic should go into, r=smaug 2015-07-17 15:51:19 -04:00
Kyle Huey
b007982122 Bug 1182316: Part 2 - Rework FORWARD_TO_OUTER_OR_THROW. r=peterv 2015-07-16 22:10:35 -07:00