Commit Graph

8065 Commits

Author SHA1 Message Date
Robert O'Callahan
1feb908b60 Bug 1184842. Add aOldValue parameter to nsNodeUtils::AttributeChanged. r=peterv 2015-07-21 16:13:53 +12:00
Robert O'Callahan
b7cc251745 Bug 1184842. Make SetAttrAndNotify use the real old value instead of aOldValue when possible. r=bz 2015-07-25 17:57:13 +12:00
Robert O'Callahan
5fc079e9ea Bug 1184842. Change nsAttrAndChildArray::SetAndTakeAttr to nsAttrAndChildArray::SetAndSwapAttr. r=peterv 2015-07-22 14:09:41 +12:00
Bill McCloskey
c229b0c580 Bug 1189550 - In parent process, cpmm.initialProcessData should be same as ppmm.initialProcessData (r=smaug) 2015-08-03 10:41:24 -07:00
Carsten "Tomcat" Book
26d634a982 Backed out changeset 427cfffcb5b7 (bug 1000870) 2015-08-03 16:37:18 +02:00
Russ Nicoletti
efada9f806 Bug 1177226 - Support User Timing API events in the Developer HUD. r=ehsan, r=jryans 2015-07-31 15:40:08 -07:00
Maksim Lebedev
8fbc5386cc Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
Carsten "Tomcat" Book
a36be276a2 Backed out changeset b821b18a1bfb (bug 1189550) for breaking GU Tests 2015-08-03 09:38:27 +02:00
Bill McCloskey
b0ad0cc207 Bug 1189550 - In parent process, cpmm.initialProcessData should be same as ppmm.initialProcessData (r=smaug) 2015-08-02 17:29:55 -07:00
Nikhil Marathe
7a5ae58993 Bug 1183954 - Fix Notification.data structured cloning on workers. r=robertbindar,mccr8
Rather than store a non-thread-safe refcounted nsIStructuredCloneContainer, store the base64 representation.
Caches a jsval the first time an attempt to access data is made from content script.
2015-07-30 12:44:14 -07:00
Xidorn Quan
454ad3b7a1 Bug 1164725 - Convert flags in nsIDocument into bit fields. r=smaug 2015-08-01 10:49:19 +10:00
Eric Rahm
d7b3e5fee6 Bug 1183845 - Only send activation event if document is non-null. r=bz 2015-07-31 13:23:15 -07:00
Christoph Kerschbaumer
0ea778f8c3 Bug 1182539 - Use channel->ascynOpen2 in dom/base/nsDocument.cpp (r=sicking) 2015-07-31 08:58:14 -07:00
Kyle Huey
19e891a252 Bug 1152574: Fix console service discarding to run when it is actually safe to do so (off of inner-window-destroyed). Also add a backstop at xpcom-shutdown to discard any cycle collected messages before it is too late. r=froydnj 2015-07-31 06:49:27 -07:00
Hiroyuki Ikezoe
8e84ad1433 Bug 1178664 - Part 4 -Implement Animation.oncancel event. r=bbirtles, r=smaug 2015-07-30 23:26:00 +02:00
Hiroyuki Ikezoe
df3f6a345b Bug 1178664 - Part 3 - Implement Animation.onfinish event. r=bbirtles, r=smaug 2015-07-30 23:25:00 +02:00
Kaku Kuo
06d8c56d7e Bug 1044102 - Part 3 - Support StructuredClone. r=baku 2015-07-30 20:50:00 +02:00
Kaku Kuo
1abe74c3a6 Bug 1044102 - Part 1 - Implement ImageBitmap. r=roc, sr=smaug 2015-07-30 20:47:00 +02:00
Michal Novotny
1063c72e50 Bug 1137008 - Implement missing parameters of WebSocket permessage compression extension - test, r=jduell 2015-07-31 07:16:30 +02:00
Nicholas Nethercote
d130e7465e Bug 1189156 (part 1) - Don't use enumeration style for PLDHashTable::SizeOf{In,Ex}cludingThis(). r=froydnj.
After this change, we have PLDHashTable::ShallowSizeOf{In,Ex}cludingThis(),
which don't do anything to measure children. (They can be combined with
iteration to measure children.)

This patch also removes the PL_DHashTableSizeOf{In,Ex}cludingThis() functions.
They're not necessary because the methods can be used instead.

Finally, the patch deliberately converts some SizeOfExcludingThis() calls to
SizeOfIncludingThis(). These are all done on heap pointers so this change is
valid.
2015-07-29 22:28:20 -07:00
Andrea Marchesini
e59256c2b5 Bug 1188265 - No manual JS_ClearPendingException when StructuredCloneHelper is used, r=smaug 2015-07-31 01:38:00 +01:00
Ryan VanderMeulen
35257ce14a Merge m-c to inbound. a=merge 2015-07-30 16:09:17 -04:00
Ryan VanderMeulen
5ec75e6c41 Merge inbound to m-c. a=merge 2015-07-30 16:08:21 -04:00
Ryan VanderMeulen
20495ab522 Merge m-c to b2g-inbound. a=merge
CLOSED TREE
2015-07-30 11:57:28 -04:00
Ehsan Akhgari
1d2d3d0154 Bug 1188091 - Fix the exposure of Push interfaces; r=dougt,bzbarsky,nsm
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-30 01:06:38 -04:00
Olli Pettay
c4161c2908 Bug 1188640 - Add ChromeOnly MutationObserver.mergeAttributeRecords to speed up devtools, r=bz,bgrins 2015-07-30 00:23:47 +03:00
Shian-Yow Wu
da68acf71a Bug 1069081 - Part 1: Always cache fd in JAR cache except Windows. r=mwu 2015-07-30 16:05:57 +08:00
Christoph Kerschbaumer
ce30d2d7b2 Bug 1182537 - Use channel->ascynOpen2 in dom/base/Navigator.cpp (r=sicking,bz) 2015-07-27 20:39:17 -07:00
Jon Coppeard
7d5f1562fd Bug 1188834 - Make compacting GC when inactive less frequent except on nightly r=smaug 2015-07-30 11:03:06 +01:00
Nicholas Nethercote
b003fba482 Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.

And do likewise for nsTObserverArray.
2015-07-28 23:24:24 -07:00
Bobby Holley
106e778c81 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Ryan VanderMeulen
7e14fbd090 Bug 1180017 - Fix up the badly-horked backout and re-land.
CLOSED TREE
2015-07-29 12:31:47 -04:00
Jim Blandy
2b89c02c18 Bug 1180017 - Give GCCellPtr is<T> and to<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence 2015-07-03 15:06:23 -07:00
Olli Pettay
3c777eeb7e Bug 1183604, add some more assertions to help implementing new cycle collectable classes, r=mccr8 2015-07-29 13:28:45 +03:00
Carsten "Tomcat" Book
a908483c16 Backed out changeset 465793bc6fcf (bug 1180017) for suspicion of causing bug 1188799 2015-07-29 15:27:12 +02:00
Ehsan Akhgari
54e70516b8 Bug 1167690 - Part 5: Add tests for plugin audio channel integration; r=baku 2015-07-29 08:26:48 -04:00
Jim Blandy
04e076a9d6 Bug 1180017: Give GCCellPtr is<T> and as<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence 2015-07-07 09:52:01 -07:00
Ryan VanderMeulen
fc4caa5c9c Backed out changeset 40c187d91db4 (bug 1183604) for hazard analysis failures.
CLOSED TREE
2015-07-28 21:20:34 -04:00
Olli Pettay
184a359153 Bug 1183604, add some more assertions to help implementing new cycle collectable classes, r=mccr8 2015-07-28 20:02:15 +03:00
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