Commit Graph

8026 Commits

Author SHA1 Message Date
Kyle Huey
87ddf4ceef Bug 1158031: Don't return empty arrays from MultiPartBlobImpl::GetSubBlobImpls(). r=baku 2015-07-28 15:59:56 -07:00
Wes Kocher
40ea3c9972 Backed out 5 changesets (bug 1167409) for mochitest chrome failures in test_settings_service.xul CLOSED TREE
Backed out changeset 08653d62e6c0 (bug 1167409)
Backed out changeset 211b839cfcda (bug 1167409)
Backed out changeset 4264d30f4b03 (bug 1167409)
Backed out changeset 95a7f1251dd4 (bug 1167409)
Backed out changeset b88cb51c1f77 (bug 1167409)
2015-07-28 15:45:39 -07:00
Kannan Vijayan
3e6dd09416 Bug 1167409 - 4/5 - Off-thread compile blocking scripts. r=smaug 2015-07-28 17:03:56 -04:00
Kannan Vijayan
43a1886e55 Bug 1167409 - 3/5 - Change ScriptLoadRequest::mLoading to ScriptLoadRequest::mProgress. r=smaug 2015-07-28 17:03:56 -04:00
Kannan Vijayan
82278d81f7 Bug 1167409 - 2/5 - Factor ProcessRequest and off-thread-parsing into separate functions. r=smaug 2015-07-28 17:03:56 -04:00
Kannan Vijayan
5dd92c7fae Bug 1167409 - 1/5 - Move offThreadToken into script load request. r=smaug 2015-07-28 17:03:56 -04:00
Francisco Jordano
1fd630d522 Bug 1186880 - Performance timing api in workers should output entries if preference is enabled. r=baku 2015-07-28 17:33:37 +01:00
Drew Willcoxon
fe9c24a5c5 Bug 1183044 - Properly mute AudioContext when there's an attempt to mute it before it has a destination. r=ehsan 2015-07-28 12:34:33 -07:00
Ryan VanderMeulen
2b4ba89daa Backed out changeset c88d1138bc38 (bug 1188091) for Mulet test_serviceworker_interfaces.html failures.
CLOSED TREE
2015-07-28 13:28:39 -04:00
Boris Zbarsky
d15cf025ab Bug 1176568. Fix the proto cycle checking to work correctly for inner/outer globals. r=waldo 2015-07-28 12:38:26 -04:00
Ehsan Akhgari
98d60c7ea2 Bug 1188091 - Fix the exposure of Push interfaces; r=dougt,bzbarsky
Currently we don't check the dom.push.enabled pref in some cases for
some of these interfaces.  This patch unifies how all of these
interfaces are exposed to Window, Worker, and ServiceWorker.
2015-07-28 12:28:53 -04:00
Birunthan Mohanathas
543f5ba6a7 Bug 1105827 - Part 4: Add Navigator.permissions. r=baku 2015-07-28 06:33:46 -07:00
Andrea Marchesini
9c1fb1c160 Bug 1185569 - Use StructuredCloneHelper in MessagePort, r=smaug 2015-07-28 11:47:36 +01:00
Andrea Marchesini
0b92e44bcf Bug 1184995 - StructuredCloneHelper for BroadcastChannel and DataStore, r=smaug 2015-07-28 08:38:16 +01:00
Andrea Marchesini
dd5ca3599c Bug 1186544 - A better test suite for StructuredCloneAlgorithm, r=smaug 2015-07-28 08:37:37 +01:00
Birunthan Mohanathas
a9aa3dc481 Bug 1182980 - Part 11: Use nsTHashtable::Iterator in nsGlobalWindow::AddSizeOfIncludingThis. r=khuey 2015-07-24 13:05:15 -07:00
Birunthan Mohanathas
6e55cc5746 Bug 1182980 - Part 10: Use nsTHashtable::Iterator in DisconnectEventTargetObjects. r=khuey 2015-07-24 13:05:14 -07:00
Benoit Girard
20157242bb Bug 1181976 - Rename WillChangeBudgetWarning in dom/dom.properties to reflect string change. r=flod 2015-07-23 11:54:45 -04:00
Tom Tromey
e469d3beb5 Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-24 07:01:00 -04:00
Tom Tromey
8ab236df60 Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz 2015-07-24 07:00:00 -04:00
Paul Adenot
5cb34edeff Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Sean Lin
a70b0b8e41 Bug 1069230 - Presentation API implementation. Part 1 - WebIDL Bindings. r=smaug 2015-03-19 15:48:28 +08:00
Carsten "Tomcat" Book
e576d65c06 Backed out changeset 8e006947db44 (bug 1186780) 2015-07-27 08:00:29 +02:00
Kyle Huey
f96286d280 Bug 1186780: Replace EnumerateRead with new iterators in some DOM code. r=bkelly 2015-07-26 19:34:29 -07:00
Chris Pearce
f54718ac59 Bug 1187113 - Add more logging around EME promise rejects and method calls that often fail. r=edwin 2015-07-27 11:52:19 +12:00
John Schoenick
b8f27067bc Bug 1178963 part 1. Use nsIPluginTagInternal instead of nsPluginTag in cases where it may be nsFakePluginTag. r=peterv 2015-05-20 15:30:05 +02:00
Wes Kocher
b3c5403835 Backed out 14 changesets (bug 1156472) for test_getUserMedia_audioCapture.html failures on b2g emulator
Backed out changeset deec8eb18346 (bug 1156472)
Backed out changeset 0f5bec4c05ba (bug 1156472)
Backed out changeset 2dd83ac00bf9 (bug 1156472)
Backed out changeset abd4e47887f7 (bug 1156472)
Backed out changeset 4824d9874663 (bug 1156472)
Backed out changeset 12805598e6fa (bug 1156472)
Backed out changeset e2f0062a1f67 (bug 1156472)
Backed out changeset 99ef8e436a7f (bug 1156472)
Backed out changeset 65bbfc1546af (bug 1156472)
Backed out changeset 2ab4f16eaf0a (bug 1156472)
Backed out changeset 7f565685e20a (bug 1156472)
Backed out changeset 28c03c98cb2b (bug 1156472)
Backed out changeset d477cfba6e1d (bug 1156472)
Backed out changeset 9819fa56caa1 (bug 1156472)
2015-07-24 13:15:57 -07:00
Paul Adenot
d3a9816e6b Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Carsten "Tomcat" Book
4db694f526 Backed out 14 changesets (bug 1156472) for bustage on a CLOSED TREE
Backed out changeset 2ddbf85a42c0 (bug 1156472)
Backed out changeset 306d02e17081 (bug 1156472)
Backed out changeset 03598139f39a (bug 1156472)
Backed out changeset 4b1e6069b598 (bug 1156472)
Backed out changeset 6c588a5eaaec (bug 1156472)
Backed out changeset 8c98d7beaea7 (bug 1156472)
Backed out changeset fbf59fbb5875 (bug 1156472)
Backed out changeset 66479dd9eed9 (bug 1156472)
Backed out changeset c8502deeed33 (bug 1156472)
Backed out changeset 1a60ff1149a1 (bug 1156472)
Backed out changeset af1638279785 (bug 1156472)
Backed out changeset 8210276a98ca (bug 1156472)
Backed out changeset 13730e7c5997 (bug 1156472)
Backed out changeset 05acb71cf981 (bug 1156472)
2015-07-24 17:08:37 +02:00
Paul Adenot
cf8afdeabc Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Andrea Marchesini
4434695d6e Bug 1184557 - part 2 - StructuredCloneHelperInternal::Shutdown, r=smaug 2015-07-24 12:12:51 +01:00
Andrea Marchesini
ce05290dfa Bug 1184557 - part 1 - StructuredCloneHelper class for window to window postMessage, r=smaug 2015-07-22 19:37:18 +01:00
Carsten "Tomcat" Book
a431556218 Merge mozilla-central to mozilla-inbound 2015-07-24 12:58:18 +02:00
Carsten "Tomcat" Book
65bb4bc9e6 merge mozilla-inbound to mozilla-central a=merge 2015-07-24 12:54:13 +02:00
Franziskus Kiefer
d8ba15d15b Bug 1184781 - additional referrer tests - redirect. r=christophkerschbaumer 2015-07-22 10:07:00 -07:00
Nicholas Nethercote
9ef782d00c Bug 1181443 (part 1) - Use nsTHashtable::Iterator in nsCheapSet. r=froydnj.
nsCheapSet is used little enough that I didn't bother creating an iterator for
it.

I removed the dependency on PLDHashOperator by introducing nsCheapSetOperator,
which is equivalent.
2015-07-23 02:35:27 -07:00
Eric Rahm
2e955093fe 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
Eric Rahm
e52fed601f Bug 1184293 - Don't call ThirdPartyUtil::GetBaseDomain if aUri is null. r=jduell
Return early if aUri is null so as to avoid warnings about it.
2015-07-23 11:02:45 -07:00
Ryan VanderMeulen
eaebac7e0d Backed out changesets 69542d63fcc8 and 6326eaf87f86 (bug 1184557) for causing widespread debug test assertions.
CLOSED TREE
2015-07-23 13:04:14 -04:00
Kearwood (Kip) Gilbert
3f9b5c0c0f Bug 1181240 - Part 2: Replace gfx3DMatrix with Matrix4x4 in layout,r=vlad
- Refactored code to use Matrix4x4 instead of gfx3DMatrix.
- There is not expected to be any functional effect.
2015-07-10 17:05:47 -07:00
Andrea Marchesini
c09c891a73 Bug 1184557 - part 2 - StructuredCloneHelperInternal::Shutdown, r=smaug 2015-07-23 16:54:56 +01:00
Andrea Marchesini
6e7c6694a2 Bug 1184557 - part 1 - StructuredCloneHelper class for window to window postMessage, r=smaug 2015-07-22 19:37:18 +01:00
Boris Zbarsky
938a6621cb Bug 1177819. Replace the warning about anon content being passed into frame construction with an assert plus whitelisting of the known-OK cases. r=dholbert 2015-07-23 11:51:09 -04:00
Boris Zbarsky
b87ec0db80 Bug 1107443. Make WindowProxy throw if you attempt to explicitly define a non-configurable property. r=peterv 2015-07-23 11:51:09 -04:00
Neil Deakin
51962e079e Bug 1176239, do tab navigation in the child when moving between the parent and child process, r=smaug 2015-07-23 10:04:15 -04:00
Kartikaya Gupta
6b2369f993 Bug 1186004 - Add a pref to enable/disable APZ zooming behaviour. r=botond 2015-07-22 23:42:08 -04:00
Wes Kocher
a8dd196d26 Backed out changeset f6d29009ae0a (bug 1184557) for crashes in fetch-csp.https.html web platform tests CLOSED TREE 2015-07-22 13:57:09 -07:00
Nathan Froyd
43b25d2253 Bug 1179334 - check for chrome callers in nsDOMWindowUtils interface methods; r=mccr8 2015-07-02 11:23:34 -04:00
Franziskus Kiefer
b23384ca98 Bug 1175736 - Add iframe referrer attribute tests. r=ckerschb, r=baku 2015-07-20 08:40:04 -07:00
Franziskus Kiefer
5d52dcdace Bug 1175736 - Implement the iframe referrer attribute. r=ckerschb, r=bz 2015-07-17 10:46:19 -07:00
Andrea Marchesini
5e1c0b7367 Bug 1184557 - StructuredCloneHelper class for window to window postMessage, r=smaug 2015-07-22 19:37:18 +01:00
David Major
3c1084c2f0 Bug 1106264: Log the message name for nsSameProcessAsyncMessage OOMs. r=jimm 2015-07-22 13:43:02 -04:00
Boris Zbarsky
596c29aaff Bug 1186489. Apply the performance.now() resolution clamping in workers as well. r=froydnj 2015-07-22 13:22:16 -04:00
Birunthan Mohanathas
b8b9e8e719 Bug 1182980 - Part 9: Use nsTHashtable::Iterator in rest of nsDocument. r=khuey 2015-07-22 09:42:01 -07:00
Birunthan Mohanathas
c8628e12b9 Bug 1182980 - Part 8: Use nsTHashtable::Iterator in nsIDocument::EnumerateActivityObservers. r=khuey 2015-07-22 09:42:01 -07:00
Birunthan Mohanathas
e4390db781 Bug 1182980 - Part 7: Use nsTHashtable::Iterator in nsIdentifierMapEntry::FireChangeCallbacks. r=khuey 2015-07-22 09:42:01 -07:00
Birunthan Mohanathas
770fc492e8 Bug 1182980 - Part 6: Use nsTHashtable::Iterator in ShadowRoot. r=khuey 2015-07-22 09:42:01 -07:00
Birunthan Mohanathas
9f8f9a4aa5 Bug 1182980 - Part 5: Use nsTHashtable::Iterator in nsWindowMemoryReporter::CollectReports. r=khuey 2015-07-22 09:42:01 -07:00
Birunthan Mohanathas
6bf22d42f4 Bug 1182980 - Part 4: Use nsTHashtable::Iterator in nsWindowMemoryReporter::UnlinkGhostWindows. r=khuey 2015-07-22 09:42:01 -07:00
Birunthan Mohanathas
b8d6cb6313 Bug 1182980 - Part 3: Use nsTHashtable::Iterator in nsWindowRoot. r=khuey 2015-07-22 09:42:01 -07:00
Birunthan Mohanathas
14d20de85b Bug 1182980 - Part 2: Use nsTHashtable::Iterator in nsRange. r=khuey 2015-07-22 09:42:01 -07:00
Birunthan Mohanathas
f56722a2ee Bug 1182980 - Part 1: Use nsTHashtable::Iterator in FragmentOrElement. r=khuey 2015-07-22 09:42:01 -07:00
Andrea Marchesini
f9beea4858 Bug 1185381 - Make FileList clonable - patch 4 - tests, r=smaug 2015-07-22 17:04:54 +01:00
Andrea Marchesini
1759db26d0 Bug 1185381 - Make FileList clonable - patch 3 - FileListClonedData implementation, r=smaug 2015-07-22 17:04:22 +01:00
Andrea Marchesini
9e06b3f460 Bug 1185381 - Make FileList clonable - patch 2 - rename FILEIMPL_IID to BLOBIMPL_IID, r=smaug 2015-07-22 17:03:43 +01:00
Andrea Marchesini
10626e4601 Bug 1185381 - Make FileList clonable - patch 1 - move code into FileList.h/.cpp, r=smaug 2015-07-22 17:03:07 +01:00
Andrea Marchesini
12c0fefc3b Bug 1185360 - PostMessageEvent should not have a different behavior if the main principal subsumes the destination one., r=smaug 2015-07-22 17:01:55 +01:00
Franziskus Kiefer
ca4014fa97 Bug 1185997 - Split referrer tests to avoid intermittent timeouts. r=RyanVM 2015-07-21 16:47:30 -07:00
Kyle Huey
9169b6b1b1 Bug 1185793: Don't go through the inner window to implement the XPCOM GetScriptableParent. r=bz 2015-07-22 10:14:03 +08:00
Birunthan Mohanathas
38b83b4bac Bug 1164310 - Follow-up: Fix build bustage with --disable-accessibility. r=me
DONTBUILD
2015-07-21 14:02:22 -07:00
Andrew McCreight
9214859718 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 11:31:44 -07:00
Jonathan Watt
0db597935e Bug 1164310, part 6 - Implement the new Promise returning DataTransfer.getFilesAndDirectories() API. r=baku 2015-07-10 18:57:23 +01:00
Jonathan Watt
512fc2123f Bug 1164310, part 3 - Allow the DirState of blobs to be set explicitly. r=baku 2015-07-10 18:55:23 +01:00
Ryan VanderMeulen
09933c4462 Backed out changeset 553a3e1e7b18 (bug 1176341) for bustage.
CLOSED TREE
2015-07-21 13:00:55 -04:00
Andrew McCreight
e4b73b7879 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 09:44:37 -07:00
Carsten "Tomcat" Book
cf59496914 Merge mozilla-central to mozilla-inbound 2015-07-21 17:04:09 +02:00
Carsten "Tomcat" Book
0867765b32 merge mozilla-inbound to mozilla-central a=merge 2015-07-21 16:56:44 +02:00
Carsten "Tomcat" Book
ebdbc83ad2 Backed out changeset f5ea755e3cb9 (bug 1176239) for test failures in browser_focusnavigation.js 2015-07-21 15:22:15 +02:00
Xidorn Quan
9fa68fd695 Bug 1160017 part 1 - Remove fullscreen permission code from nsDocument. r=smaug 2015-07-21 20:50:20 +10:00
Boris Zbarsky
af8251d70c Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly 2015-07-20 10:14:24 -04:00
Neil Deakin
c797d57c09 Bug 1176239, do tab navigation in the child when moving between the parent and child process, r=smaug 2015-07-20 08:59:50 -04:00
Franziskus Kiefer
25cfb0f283 Bug 1174913 - anchor and area mochitests. r=bz 2015-06-18 09:01:27 -07:00
Franziskus Kiefer
5282901ef0 Bug 1174913 - remove unnecessary attribute parsing. r=bz 2015-07-13 18:04:42 -07:00
Seth Fowler
c849abe316 Bug 1151359 (Part 1) - Predict the size of nsImageFrame images before drawing. r=tn 2015-07-19 19:30:35 -07:00
Andrea Marchesini
3d57b81290 Bug 1184541 - Create a StructuredCloneHelperInternal and use it in the Console API, r=smaug 2015-07-19 08:54:41 +01:00
Xidorn Quan
dc0f32b794 Bug 1184443 - Make async ExitFullscreen call ask the window to exit fullscreen first. r=smaug 2015-07-19 10:30:52 +10:00
Ehsan Akhgari
eb1370f8cf Bug 1148030 - Correctly reflect object and embed RequestContext values; r=smaug
Note that these elements cannot be intercepted for now.  See bug
1168676 for the background.
2015-07-18 16:44:28 -04:00
Jan de Mooij
17b86e4780 Bug 1184564 part 2 - Use Value instead of jsval in dom/ and storage/. r=bz 2015-07-18 21:45:35 +02:00
Olli Pettay
b4fe0d6666 Bug 1184065, properly support WrapperCache on DestinationInsertionPointList, r=wchen 2015-07-18 01:16:43 +03:00
William Chen
64242679bf Bug 1184404 - Support additional navigator.getFeature keys for OpenMobile ACL. r=khuey 2015-07-17 11:17:37 -07:00
Sam E. Giles
1351022b5e Bug 1177991 - document.adoptNode should throw a HierarchyRequestError when adopting a ShadowRoot. r=wchen 2015-07-17 11:12:02 -07:00
Sam E. Giles
638b5981f3 Bug 1177914 - throw a NotSupportedError when running document.importNode on a ShadowRoot or Document. r=wchen 2015-07-17 11:11:14 -07:00
Ryan VanderMeulen
9f708a5c1b 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
2e72ef5901 Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-17 07:48:00 -04:00
Tom Tromey
daaa9b9288 Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz 2015-07-17 07:47:00 -04:00
Michael Layzell
d48d4e6f85 Bug 1184789 - Remove unnecessary IsOuterWindow() check from nsGlobalWindow::GetCaches(). r=khuey 2015-07-16 17:19:00 -04:00
Kyle Huey
8d64b08b31 Bug 1182316: Part 3 - Add assertions to most other WebIDL entry points, clean up nsIDOMJSWindow cruft. r=peterv 2015-07-16 22:10:35 -07:00
Kyle Huey
cb97375947 Bug 1182316: Part 2 - Rework FORWARD_TO_OUTER_OR_THROW. r=peterv 2015-07-16 22:10:35 -07:00
Kyle Huey
d39e51e3d6 Bug 1182316: Part 1 - Remove FORWARD_TO_INNER_OR_THROW. r=peterv 2015-07-16 22:10:35 -07:00
Ryan VanderMeulen
84f80b7f6f Backed out changeset 0dca237df7e2 (bug 1160307) for causing bug 1184752. 2015-07-16 20:38:13 -04:00
Tom Tromey
e447790176 Bug 1160307 - Capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug, r=Paolo 2015-07-15 12:15:00 -04:00
Frédéric Wang
463ea98c49 Bug 1177765 - Add xmlroles for MathML. r=surkov 2015-07-16 05:43:00 -04:00
Wes Kocher
8b2305a49c Merge m-c to inbound, a=merge CLOSED TREE 2015-07-15 16:41:49 -07:00
Ryan VanderMeulen
5802f455b1 Merge m-c to fx-team. a=merge 2015-07-15 13:30:09 -04:00
Bill McCloskey
60892ee16e Bug 1177013 - test_cpows.xul test for CPOW cancelation (r=dvander) 2015-07-15 14:37:12 -07:00
Neil Deakin
0cb169faaf Bug 1066663, move call to SetDragState to happen when a window is lowered to avoid the issue with selection being prevented, r=smaug 2015-07-15 14:55:18 -04:00
Benoit Girard
fa3d711f43 Bug 1176158 - "Remove unused lang atoms (ko-xxx and x-symbol)" r=vladimir 2015-06-19 12:38:00 +02:00
Bobby Holley
2671257b2d Bug 1182347 - Remove nsIPrincipal::cookieJar. r=sicking 2015-07-14 19:56:33 -07:00
Bobby Holley
7d0d9eb660 Bug 1182347 - Implement OriginAttributesPattern. r=sicking,f=allstars.chh 2015-07-14 19:56:32 -07:00
Eric Rahm
5cec94269e Bug 1183893 - Remove warning if invalid node type is passed to nsRange::SetEnd. r=smaug 2015-07-14 17:54:58 -07:00
Eric Rahm
6d2e08f0f2 Bug 1183891 - Remove warning if invalid node type is passed to nsRange::SetStart. r=smaug 2015-07-14 17:52:25 -07:00
Eric Rahm
2e55977103 Bug 1183824 - Remove NS_ENSURE_TRUE(mCallback, NS_ERROR_NOT_INITIALIZED) warning from nsFrameMessageManager::DispatchAsyncMessageInternal. r=smaug 2015-07-14 17:21:49 -07:00
Ben Kelly
ed26f6af2a Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-14 13:11:26 -07:00
Ben Kelly
a8c12eb83d 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
Boris Zbarsky
cb0a5d1aa0 Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly 2015-07-14 15:28:57 -04:00
Boris Zbarsky
7e22a07b82 Bug 1181916. Notify the debugger's onNewGlobalObject hook off a scriptrunner. r=bholley 2015-07-14 15:28:57 -04:00
Nikhil Marathe
1c6b24d392 Bug 1114554 - Patch 1 - Notification ServiceWorker API stubs. r=wchen,baku 2015-06-25 18:50:24 -07:00
Olli Pettay
89abdcab84 Bug 1183450, properly wrappercache URL object, r=baku 2015-07-14 20:55:55 +03:00
Ehsan Akhgari
0ab6c315cc Bug 1183356 - Part 1: Use the outer window when refreshing media elements; r=baku 2015-07-14 11:48:18 -04:00
Carsten "Tomcat" Book
2b3ca3a798 Backed out changeset da4985b5cbef (bug 1183356) for Assertion failure: pWindow->IsOuterWindow() assertion failures on a CLOSED TREE 2015-07-14 17:09:17 +02:00
Ehsan Akhgari
ed709e0df5 Bug 1183356 - Part 1: Use the outer window when refreshing media elements; r=baku 2015-07-14 08:53:01 -04:00
Andrew McCreight
7a68e61307 Bug 1174950 - Nuke wrappers from compartments with expanded principals to non-system windows. r=bholley
This extends the hueyfix to the case where a sandbox with expanded principals is leaked,
for instance by an addon, and ends up entraining a content window. This fix prevents the
leak of the content window, but not the sandbox.
2015-07-13 12:59:00 +02:00
Botond Ballo
25e9018bb1 Bug 1181832 - Include gfxPrefs.h from nsImageLoadingContet.cpp to fix bustage on a CLOSED TREE. r=bustage 2015-07-13 14:25:13 -04:00
Botond Ballo
1108f5b6cd Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats 2015-07-13 11:53:10 -04:00
Alexandre Poirot
df80760c29 Bug 814497 - Pass SavedFrame from JS::ErrorObject to nsIScriptError. r=bholley 2015-07-09 07:02:00 -04:00
Alexandre Poirot
4df82cdc06 Bug 814497 - Cleanup console service cache when a window is destroyed. r=nfroyd 2015-07-09 06:49:00 -04:00
Victor Porof
50c5257b1a Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Birunthan Mohanathas
e52329c788 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
Michael Layzell
c1d10743ff Bug 1180993 - Part 3: Correct use sites of functions which return already_AddRefed. r=ehsan 2015-07-10 08:36:00 -04:00
Xidorn Quan
50ab569356 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-13 20:44:36 +10:00
Xidorn Quan
8808558a82 Bug 1160014 part 0 - Avoid explicitly mentioning DOM Fullscreen concept in widget part. r=roc 2015-07-13 20:44:36 +10:00
Neil Deakin
7e3bf72325 Bug 1132518, add an attribute to the xul document root element to allow focus on document navigation to be retargetted to another element, such as the urlbar, r=smaug,dao 2015-07-13 06:07:50 -04:00
Neil Deakin
6b162d8330 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
Neil Deakin
7211bcdf16 Bug 1132518, add a flag to nsIFrameTraversal to skip the popup checks, r=mats 2015-07-13 06:07:49 -04:00
Ehsan Akhgari
b91a77bbbe Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-11 13:16:39 -04:00
Carsten "Tomcat" Book
c3cbee8359 Backed out changeset 8c0e88129206 (bug 1176158) for bustage 2015-07-11 16:34:31 +02:00
Olli Pettay
ebd98e9199 Bug 1182772, optimize ProcessGlobal out from CC graph (and also TabChild's EventListeners), r=mccr8 2015-07-11 16:45:49 +03:00
Benoit Girard
cc73db2a7a Bug 1181297 - Add debug descriptor to nsINode. r=smaug 2015-07-08 15:58:07 -04:00
Benoit Girard
3905d3868a Bug 1176158 - "Remove unused lang atoms (ko-xxx and x-symbol)" r=vladimir 2015-06-19 12:38:00 +02:00
Andrea Marchesini
bbfb9c4aa0 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
6a80a5a324 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe 2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book
0e2d2f8aa3 Backed out changeset e11a8496bf63 (bug 1180535) 2015-07-11 14:13:32 +02:00
Nigel Babu
6c7a32fd6c Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Ehsan Akhgari
cec62516a1 Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 21:33:00 -04:00
John Schoenick
018fa5e2dc Bug 1160819 - ResponsiveImageSelector - improve some over-aggressive assertions 2015-07-05 18:03:00 -07:00
Andrea Marchesini
80b5f477f2 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 21:08:43 -04:00
Xidorn Quan
76a19944b1 Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
2015-07-11 10:55:59 +10:00
Xidorn Quan
523cefc73c Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-11 10:08:59 +10:00
Andrea Marchesini
fbe5ce79eb Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Wes Kocher
9c30d6953d Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE 2015-07-10 15:59:01 -07:00
Wes Kocher
6782732de2 Backed out changeset df6593df027b (bug 1173912) 2015-07-10 15:58:24 -07:00
Wes Kocher
9e573d5db3 Backed out changeset d7e0eb7b42f9 (bug 1180535) for test_video_wakelock.html permafails CLOSED TREE 2015-07-10 15:36:39 -07:00
Ben Kelly
918ed053a7 Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-10 14:28:32 -07:00
Ben Kelly
6a200d95d9 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
Christoph Kerschbaumer
d80b61af79 Bug 1139297 - Implement CSP upgrade-insecure-requests directive - websocket changes (r=baku) 2015-07-10 09:15:30 -07:00
Christoph Kerschbaumer
9cf312cbbb Bug 1139297 - Implement CSP upgrade-insecure-requests directive - document changes (r=smaug) 2015-07-10 09:14:09 -07:00
Geoff Brown
495b7cbfe1 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Ehsan Akhgari
30dfed2d4f Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 15:49:53 -04:00
Wes Kocher
df5909cdbc Backed out changeset 74293125739a (bug 1176341) 2015-07-10 12:48:20 -07:00
Andrew McCreight
2ed211a7a3 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-10 07:41:33 -07:00
Andrea Marchesini
adaeae2a8e Bug 1172055 - Improve size check in nsAttrAndChildArray::GrowBy, r=ehsan 2015-07-10 00:18:30 +01:00
Jim Mathies
a12ea823a0 Bug 1152300 - When focus shifts from a native plugin window to content, content needs to forward the request for focus change to chrome. r=enn 2015-07-09 09:48:57 -05:00
Randell Jesup
37ad9bc8b6 Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Jeff Gilbert
512ca20ea5 Bug 1182369 - Remove js/Class.h include from nsWrapperCache.h. - r=bz 2015-07-09 12:32:04 -07:00
Jeff Gilbert
86aa7a36ee No bug - Strip EOL whitespace from nsIDocument.h 2015-07-09 19:48:59 -07:00
Wes Kocher
cc806c6518 Merge inbound to central, a=merge 2015-07-09 18:01:25 -07:00
Ryan VanderMeulen
ee16103b84 Merge m-c to fx-team. a=merge 2015-07-09 13:53:46 -04:00
Carsten "Tomcat" Book
0a75b97726 merge mozilla-inbound to mozilla-central a=merge 2015-07-09 17:54:48 +02:00
Ryan VanderMeulen
89eb454666 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-09 13:52:22 -04:00
Brian Grinstead
50da040cd5 Bug 1175318 - Import Console.jsm for mochitests;r=ted,r=past 2015-07-08 12:10:29 -07:00
Tim Taubert
b225eb87ef Bug 834830 - Add nsISelectionController.SELECTION_URLSTRIKEOUT to enable striking out parts of the URL in the URL bar r=roc 2015-07-08 15:45:21 +02:00
Boris Zbarsky
7d8173071e Bug 1181619. Make sure we've entered a microtask before we call nsJSUtils::EvaluateString, and put those microtasks outside the relevant AutoEntryScripts so we report any possible exceptions before doing the microtask checkpoint. r=bholley 2015-07-09 02:41:43 -04:00
Andrea Marchesini
00307929f0 Bug 1181528 - nsISimpleEnumerator.h is needed by nsDocument.cpp, r=smaug 2015-07-09 01:36:35 +01:00
Cameron McCormack
46d4c64434 Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron 2015-07-08 15:57:31 +10:00
Carsten "Tomcat" Book
8c7c890ce6 Backed out changeset 42e80a07acd6 (bug 1177563) for bustage on a CLOSED TREE 2015-07-08 09:44:16 +02:00
Cameron McCormack
383dc1b8dc Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron 2015-07-08 15:57:31 +10:00
Bill McCloskey
a4e0f91e99 Bug 1173947 - Make getRandomValues message be urgent (r=mrbkap) 2015-07-07 17:24:42 -07:00
Xidorn Quan
aa83e75ffc Bug 1178668 - Only exit fullscreen on the document of the requesting window. r=smaug 2015-07-08 08:51:09 +10:00
Boris Zbarsky
b685437bbe Bug 1180525. Run callbacks whose window is no longer current as long as its document is the active document in the browsing context. r=bholley
The distinction only matters when document.open() makes a different
window current without changing the active document.
2015-07-07 17:38:07 -04:00
Boris Zbarsky
bdf294419f Bug 1167489 and bug 1153672. Clamp the resolution of performance.now() calls to 5us, because otherwise we allow various timing attacks that depend on high accuracy timers. r=froydnj 2015-07-07 17:37:50 -04:00
Kartikaya Gupta
e9b44b28d9 Bug 1181678 - Expose an attribute on DOMWindowUtils to see if APZ is enabled. r=botond 2015-07-09 09:53:54 -04:00
Seth Fowler
8441769275 Bug 1177587 - Detect use of <img> elements for animation and use sync decoding to reduce flicker. r=tn 2015-07-07 14:00:08 -07:00
Andrea Marchesini
4fcceb6b42 Bug 1172144 - Improve the size check of nsTextFragment::Append, r=ehsan 2015-07-07 19:32:25 +01:00
Michael Layzell
724e72569c Bug 1167389 - Make FileList::mParent a smart pointer, and declare it to the cycle collector. r=ehsan 2015-07-07 06:38:00 -04:00
Dragana Damjanovic
c7fc0a288e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
31c0c961cd Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Ehsan Akhgari
174e2660ae Bug 1180523 - Part 1: Store the audio mute/volume information on the outer window; r=baku
This is needed so that we can preserve this information across navigations.
2015-07-07 01:36:09 -04:00
Bill McCloskey
06d53a5cde Bug 1177013 - Modernize test_cpows.xul (r=dvander) 2015-07-06 19:58:44 -07:00
Sam E. Giles
29a0474b5a Bug 1176757 - Throw a DataCloneError when attempting to invoke 'cloneNode' on a 'ShadowRoot' and associated mochitest. r=wchen 2015-07-06 18:26:29 -07:00
Ehsan Akhgari
15468da7f0 Bug 1180539 - Correctly dispatch media-playback notifications when an AudioContext is closed/suspended/resumed; r=baku
Since navigating away from a page with an active AudioContext will close
it internally, this patch fixes a similar issue to bug 1180535 for Web
Audio too.
2015-07-06 21:21:19 -04:00
Martin Thomson
3fbdd7b996 Bug 1172785 - RTCCertificate implementation, r=rbarnes 2015-07-06 10:40:04 -07:00
Michael Layzell
753876e095 Bug 1167392 - Change nsFrameMessageManager::mParentManager to a smart pointer. r=ehsan 2015-07-06 07:06:00 -04:00
Ehsan Akhgari
b46cf7d328 Backout bug 1180539 for test failures 2015-07-06 10:50:35 -04:00
Ehsan Akhgari
d9c8ffbd0a Bug 1180539 - Correctly dispatch media-playback notifications when an AudioContext is closed/suspended/resumed; r=baku
Since navigating away from a page with an active AudioContext will close
it internally, this patch fixes a similar issue to bug 1180535 for Web
Audio too.
2015-07-06 09:10:06 -04:00
Andrew McCreight
1d0f561200 Bug 1177627 - Back out most of 7fcf6bf43eda for causing Gaia unit test crashes. r=smaug 2015-07-02 12:34:00 +02:00
Michael Layzell
ff30eed3b2 Bug 1168161 - Mark nsPIDOMWindow::mDocShell as MOZ_NON_OWNING_REF. r=ehsan 2015-05-25 10:57:00 +02:00
Michael Layzell
ffebdac5d9 Bug 1167395 - Mark CharacterDataChangeInfo::Details as MOZ_STACK_CLASS, and mark mNextSibling as MOZ_NON_OWNING_REF. r=smaug 2015-07-03 15:55:00 +02:00
Michael Layzell
4aa3178201 Bug 1167390 - Mark nsNodeWeakReference::mNode as MOZ_NON_OWNING_REF. r=smaug 2015-05-21 14:24:00 +02:00
Xidorn Quan
dbbb094fdd Bug 1179123 - Avoid crash when calling ExitFullscreenInDocTree with a detached fullscreen document with its root exited fullscreen state. r=smaug 2015-07-04 15:12:13 +10:00
Phil Ringnalda
ab06bdf2b9 Merge m-c to m-i 2015-07-03 19:15:06 -07:00