Commit Graph

742 Commits

Author SHA1 Message Date
Boris Zbarsky
f41241ee6c Bug 1318096 part 2. Remove the unused XPCOM pointerlock API. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky
dd01d89c2f Bug 1318096 part 1. Remove unused XPCOM querySelector(All) bits. r=froydnj 2016-11-17 13:49:26 -05:00
Stone Shih
b921261b1b Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
MozReview-Commit-ID: FM3vDUyLOCb
2016-10-21 10:11:07 +08:00
Christoph Kerschbaumer
315b38541b Bug 1299483 - CSP: Implement 'strict-dynamic', enforcement changes. r=dveditz,freddyb 2016-11-08 12:55:23 +01:00
Matt Woodrow
5ca18c1965 Bug 1315581 - Notify MediaFormatReader when the compositor gets recreated. r=jya,smaug,jw_wang 2016-11-08 15:23:12 +13:00
Tim Huang
d357c04a98 Bug 1304219 - Part 3: Update the speculativeConnect() to speculativeConnect2() for DOM. This will make rel=preconnect using nodePrincipal to make connection. r=hsivonen 2016-10-24 17:42:43 +08:00
Frederik Braun
1f6e25e403 Bug 1312272 - Marquee event handlers to adhere CSP. r=smaug
MozReview-Commit-ID: 6MxGnFAIhMP
2016-11-04 22:54:59 -04:00
Michael Layzell
7e5386d8f8 Bug 1313739 - Move TabGroup into its own file, seperate from DocGroup, r=bkelly
MozReview-Commit-ID: AndPWOBpkox
2016-10-31 13:40:36 -04:00
Tobias Schneider
0b1c8478a1 Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange 2016-10-28 10:24:00 -04:00
Michael Layzell
beeb5c8509 Bug 1310778 - Move TabGroup and GetDocGroup accessors onto nsPIDOMWindow{Inner,Outer}, r=smaug
MozReview-Commit-ID: Hl0QVktr0Lw
2016-10-28 15:38:28 -04:00
Wes Kocher
70a23746aa Backout revision 111c1227f51e (bug 1243846) for test_intersectionobservers.html failures on android a=backout CLOSED TREE 2016-10-27 14:16:10 -07:00
Michael Layzell
28edda560a Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Tobias Schneider
5463357b52 Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange 2016-10-26 22:04:00 -04:00
Ben Kelly
3140345d73 Bug 1303167 P6 Rename new suspend and freeze methods to final names. r=smaug 2016-10-26 10:20:16 -07:00
Ben Kelly
cfc08923aa Bug 1303167 P2 Use new window suspend and freeze methods. r=smaug
* * *
Bug 1303167 P2 interdiff 0001 Review feedback
2016-10-26 10:20:15 -07:00
Sebastian Hengst
f355c0c113 Backed out changeset c55a20f1422b (bug 1243846) for failing modified test test_intersectionobservers.html. r=backout 2016-10-26 18:49:08 +02:00
Tobias Schneider
3a913eb17f Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange 2016-10-12 20:15:16 -07:00
Hiroyuki Ikezoe
bd0bd4bc22 Bug 1309198 - Hold a strong ref of the element for Element::GetAnimations. r=smaug
MozReview-Commit-ID: JP7EbGa8zsI
2016-10-19 07:40:15 +09:00
Ehsan Akhgari
ede26f61ba Bug 1310895 - Remove support for app default and manifest CSP enforcement; r=baku 2016-10-18 09:40:41 -04:00
Ehsan Akhgari
4a54efddd1 Bug 1310385 - Remove support for UndoManager; r=smaug
There hasn't been any traction on this feature, and we keep
paying the maintenance and code size and memory usage penalty
of having this implementation.

We can revive this from VCS history in the future if we decide
to start working on it again.  In the mean time, it's better
to remove it.
2016-10-17 10:06:11 -04:00
Carsten "Tomcat" Book
da6994b77d merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
John Dai
3aaae2af88 Bug 1309140 - Rename CustomElementsRegistry to CustomElementRegistry. r=wchen, r=smaug
MozReview-Commit-ID: 3gYTaRVcV0y
2016-10-12 15:26:02 +08:00
Andrea Marchesini
884f0f2753 Bug 1307122 - Introducing a timeout for sync XHR when unload events are dispatched, r=smaug 2016-10-16 08:46:10 +02:00
Dhanesh B. Sabane
1b5581cb43 Bug 1308137 - Remove code around IBMBIDI_SUPPORTMODE_*. r=xidorn
MozReview-Commit-ID: 96g2DBfpfX9
2016-10-16 18:05:17 +05:30
Xidorn Quan
850976ea9c Bug 1292432 part 9 - Change WebIDL interface of CSSStyleSheet to StyleSheet. r=heycam
MozReview-Commit-ID: 5AXhsuvvrwe
2016-10-14 22:25:38 +11:00
Ehsan Akhgari
285f1a3412 Bug 1306800 - Remove support for app theming; r=myk,baku 2016-10-13 13:23:03 -04:00
Cameron McCormack
92e70f0cf6 Bug 1309082 - Part 2: Rename some ImageTracker members. r=bholley
MozReview-Commit-ID: 6yOIKKl8npT
2016-10-13 15:04:19 +08:00
Cameron McCormack
a8ce0e16c4 Bug 1309082 - Part 1: Extract image tracking from nsDocument into a separate, refcounted object. r=bholley
This is refcounted as we'll need to hold strong references to the ImageTracker
from style structs that load images.

MozReview-Commit-ID: 994gE9tOjAn
2016-10-13 15:04:15 +08:00
Thomas Wisniewski
ba5622c71b Bug 1305928 - Part 2: Only allow <svg>, <math>, XUL, and HTML elements to requestFullscreen. r=smaug 2016-10-11 12:04:59 -04:00
Boris Zbarsky
65a99191a7 Bug 1308287 part 1. Change [NeedsSubjectPrincipal] to only do the Maybe thing for interfaces that can be exposed to workers. r=baku
The idea is to not make consumers think about whether the principal exists or
not when the caller knows for sure that it does.

The substantive changes are in dom/bindings, nsHTMLDocument::SetDesignMode, and
around the CanUseStorage bits.  Everything else is pretty mechanical.
2016-10-10 21:07:48 -04:00
Brian Birtles
579a715b48 Bug 1302973 - Store timelines on document; r=smaug
MozReview-Commit-ID: KHtAq0VgPZW
2016-10-09 22:36:56 +09:00
Andrea Marchesini
c25c38926b Bug 1306241 - Use NeedsSubjectPrincipal in dom/html/* - part 1, r=ehsan 2016-10-03 10:34:14 +02:00
Carsten "Tomcat" Book
63402ac422 merge mozilla-inbound to mozilla-central a=merge 2016-09-29 11:44:58 +02:00
Cameron McCormack
cfc8335cff Bug 1293786 - Part 2: Move rootElement from the now-removed SVGDocument to Document. r=longsonr,smaug
MozReview-Commit-ID: 4y82o5MP6TU
2016-09-29 09:32:43 +08:00
Boris Zbarsky
bae70558b5 Bug 1305580 part 1. Remove all the methods from nsIDOMXMLDocument and make it not inherit from nsIDOMDocument anymore. r=smaug
This will let us know for sure that we're being called from script in things
like nsXMLDocument::Load.
2016-09-28 15:46:44 -04:00
Phil Ringnalda
dc0a674843 Backed out 3 changesets (bug 1293786) for wpt unexpected passes and fails
Backed out changeset f8911c81ee9a (bug 1293786)
Backed out changeset 8cba8a0a730c (bug 1293786)
Backed out changeset 5c60775f445e (bug 1293786)
2016-09-28 20:39:16 -07:00
Cameron McCormack
2a3fb6ba1e Bug 1293786 - Part 2: Move rootElement from the now-removed SVGDocument to Document. r=longsonr,smaug
MozReview-Commit-ID: 4y82o5MP6TU
2016-09-29 09:32:43 +08:00
Wes Kocher
043b7da7cf Backed out 2 changesets (bug 1305580) for Windows svgr crashes a=backout CLOSED TREE
Backed out changeset 1124e3458403 (bug 1305580)
Backed out changeset 521286426a93 (bug 1305580)
2016-09-28 16:52:15 -07:00
Boris Zbarsky
9023f3e85b Bug 1305580 part 1. Remove all the methods from nsIDOMXMLDocument and make it not inherit from nsIDOMDocument anymore. r=smaug
This will let us know for sure that we're being called from script in things
like nsXMLDocument::Load.
2016-09-28 15:46:44 -04:00
James Cheng
42e8029df1 Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
MozReview-Commit-ID: JboGO0w4tcE
2016-09-08 18:06:20 +08:00
Xidorn Quan
7d6c4129ab Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam
This commit is generated by the following commands with some minor
manual adjustment:

find . \( -name '*.h' -or -name '*.cpp' \) -not -path './layout/style/StyleSheet*' -exec sed -i -b \
  -e '/^\(#include\|using\)/s/StyleSheetHandle/StyleSheet/g' \
  -e 's/\(mozilla::\)\?StyleSheetHandle::RefPtr/RefPtr<\1StyleSheet>/g' \
  -e 's/StyleSheetHandle()/nullptr/g' \
  -e 's/->AsStyleSheet()//g' \
  -e 's/StyleSheetHandle/StyleSheet*/g' {} +
sed -i -b 's/sheet->AsVoidPtr()/sheet.get()/' layout/style/Loader.cpp
sed -i -b 's/AsHandle()/this/' layout/style/StyleSheet.cpp

MozReview-Commit-ID: 7abdvlKHukd
2016-09-26 22:03:25 +10:00
Andrea Marchesini
694032d66a Bug 1301249 - nsIDocument::GetDocumentURI() should be fallible, r=smaug 2016-09-20 14:03:05 +02:00
Andrea Marchesini
1f8c556ee5 Bug 1302987 - Rename nsLocation to mozilla::dom::Location, r=smaug 2016-09-16 09:18:18 +02:00
Thomas Wisniewski
a40610dd93 Bug 812701 - Drop the prefixed version of the Visibility API. r=bz 2016-09-13 09:56:14 -04:00
Nicholas Nethercote
8eaacb0d8b Bug 1297300 - Add missing checks to GetSpec() calls in dom/base/. r=bz. 2016-09-08 14:17:58 +10:00
Michael Layzell
f2f13378b5 Bug 1018486 - Part 1: Changes in dom/, r=baku
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
John Dai
fbdbcfada9 Bug 1294100 - Part 4: Support DOMString as Argument 2 of Document.createElement. r=bz 2016-09-01 18:06:33 +08:00
John Dai
1708e1cd07 Bug 1294100 - Part 2: Modify CheckCustomElementName be 'const nsString*' and remove the const_cast. r=bz 2016-09-01 18:08:50 +08:00
Edgar Chen
18999f5333 Bug 1275835 - Part 2: Implement CustomElementsRegistry define function; r=wchen
MozReview-Commit-ID: 10NPmzTRogc
2016-09-01 15:11:32 +08:00
Edgar Chen
f37acbbb74 Bug 1275835 - Part 1: Move custom element codes from nsDocument to CustomElementsRegistry; r=wchen
MozReview-Commit-ID: 9gTSFrYW7o3
2016-08-30 11:48:53 +08:00