Commit Graph

16128 Commits

Author SHA1 Message Date
Csoregi Natalia
00dd116638 Merge inbound to mozilla-central. a=merge 2018-05-15 12:53:24 +03:00
Olli Pettay
20c34cefa0 Bug 1461278 - Print a note to the web console when a web site is using shadow DOM (v1), preffed off by default, r=emilio 2018-05-15 02:04:32 +03:00
Narcis Beleuzu
d7f7ec03a3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-15 00:41:06 +03:00
Narcis Beleuzu
932adad93d Merge inbound to mozilla-central. a=merge 2018-05-15 00:36:35 +03:00
Adrian Wielgosik
c501e3beb0 Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
MozReview-Commit-ID: LKRnyDPNlle

--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
5c8a9e8239 Bug 1460940 - Remove nsIDOMDocument uses in uriloader/. r=bz
MozReview-Commit-ID: LnXwludmiAn

--HG--
extra : rebase_source : 7acfeda4eb85992d53f90a533ec2c638cefcdd0f
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
af5b239997 Bug 1460940 - Remove nsIDOMDocument uses in netwerk/. r=bz
MozReview-Commit-ID: QkZ36LGoBx

--HG--
extra : rebase_source : 5aa83c576f269a6f33a1fb7ea7a61bd63a3c0c25
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
8a6d4efe5d Bug 1460940 - Remove nsIDOMDocument uses in widget/. r=bz
MozReview-Commit-ID: Rxvwm6zfrB

--HG--
extra : rebase_source : 0b76b09e0a9521af10b9900e33ff6b35abc289ff
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
fff55359ea Bug 1460940 - Remove nsIDOMDocument uses in image/. r=bz
MozReview-Commit-ID: HUiegmeFLo4

--HG--
extra : rebase_source : cd6453dc5d708fc5cdc75114d163ea2389423d55
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
f5e05d1158 Bug 1460940 - Convert nsIDocumentEncoder to use nsIDocument. r=bz
MozReview-Commit-ID: 1Nla9DnwFiu

--HG--
extra : rebase_source : e019c8370f453c6794052e441dc76fc98d603510
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
b3a78c6c93 Bug 1460940 - Convert nsSyncLoadService::LoadDocument to use nsIDocument. r=bz
MozReview-Commit-ID: LtFdEVXDvLw

--HG--
extra : rebase_source : 9fe20ccaa54525b8b10b6fbad74968a497929193
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
4fca802957 Bug 1460940 - Convert NS_NewDOMDocument to use nsIDocument. r=bz
MozReview-Commit-ID: GoJ30YZGRhq

--HG--
extra : rebase_source : 0995705c2c31c1a779c22c8336482d4c7e89e319
2018-05-11 19:46:15 +02:00
Olli Pettay
a7be7cff43 Bug 1460334 - Fix crash caused when attempting to migrate <deck> from a XBL binding to a Custom Element. r=peterv
--HG--
extra : amend_source : 461d41fa51087ce1cefc72df61a00e9cae5605e5
2018-05-10 14:08:00 -04:00
Brian Grinstead
72e0b3cfe9 Bug 1460685 - Remove security.allow_chrome_frames_inside_content case from nsDocument;r=Gijs
This pref will be removed in the following changeset.
MozReview-Commit-ID: E9TvPyxAgrf

--HG--
extra : rebase_source : cdc2998c1d65c027169c13876c8324d710b70531
2018-05-11 16:25:58 -07:00
Olli Pettay
6845fe60f6 Bug 1460435 - Move ID observing from Document to DocumentOrShadowRoot, r=peterv 2018-05-14 21:39:53 +03:00
Brian Grinstead
ebe89a6878 Bug 1460685 - Remove security.allow_chrome_frames_inside_content case from nsDocument;r=Gijs
This pref will be removed in the following changeset.
MozReview-Commit-ID: E9TvPyxAgrf

--HG--
extra : rebase_source : 99f285fc9a534c8e53dd274056c064819ce0e8c3
2018-05-11 16:25:58 -07:00
Olli Pettay
41366ba801 bug 1460794, ensure the right document is used for DOMSubtreeModified event, r=hsivonen
--HG--
extra : rebase_source : 1363016f0a6da8ca2f5be4d0a21e1ee0a6376c1c
2018-05-13 00:46:45 +03:00
Brindusan Cristian
6c56b182d4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-12 12:51:43 +03:00
Brindusan Cristian
1df25b391a Merge inbound to mozilla-central. a=merge 2018-05-12 12:47:14 +03:00
Emilio Cobos Álvarez
5aab8db970 Bug 1408301: Remove getPropertyCSSValue. r=bz
It's been removed for a while on Nightly without any known regressions. This
gives us a full beta cycle of telemetry and two nightly cycles without the API
before shipping.

This only removes the API, followup work will replace serialization by Servo's,
and remove the remaining DOM interfaces.

MozReview-Commit-ID: 2m1taYg5xEr
2018-05-12 11:23:47 +02:00
Hiroyuki Ikezoe
8272b80b6d Bug 1460807 - Drop DOMWindowUtils.requestCompositorProperty. r=kats
The function was introduced in bug 1057088, and has been unused since
bug 1352151.

MozReview-Commit-ID: 4Nfvj4gGdSY

--HG--
extra : rebase_source : 9f713d954ec9f9a631c27656af12d9e125e56d9f
2018-05-11 15:11:43 +09:00
Brian Birtles
f8c518344a Bug 1456394 - Rename AnimationEffectReadOnly to AnimationEffect; r=bz,hiro
MozReview-Commit-ID: 8jzJiCWt5vs

--HG--
rename : dom/animation/AnimationEffectReadOnly.cpp => dom/animation/AnimationEffect.cpp
rename : dom/animation/AnimationEffectReadOnly.h => dom/animation/AnimationEffect.h
rename : dom/webidl/AnimationEffectReadOnly.webidl => dom/webidl/AnimationEffect.webidl
extra : rebase_source : 2bd6490fe9be47cfb760bda81a63c33ba0b0397d
2018-05-07 11:15:16 +09:00
Brian Birtles
3184f30162 Bug 1456394 - Merge KeyframeEffectReadOnly and KeyframeEffect; r=bz,hiro
MozReview-Commit-ID: FvTMGjxfRXk

--HG--
extra : rebase_source : 8f7fd0903c9ca2f545dce2633eb797345a7517f8
2018-05-07 11:08:59 +09:00
Brian Birtles
9622b88217 Bug 1456394 - Rename KeyframeEffectReadOnly.{h,cpp} to KeyframeEffect.{h,cpp}; r=bz,hiro
MozReview-Commit-ID: 5Q7oQV8vmgS

--HG--
rename : dom/animation/KeyframeEffectReadOnly.cpp => dom/animation/KeyframeEffect.cpp
rename : dom/animation/KeyframeEffectReadOnly.h => dom/animation/KeyframeEffect.h
extra : rebase_source : cdc8448e7d07376691ef9187f7d6f4424800b690
2018-05-07 11:07:06 +09:00
Brian Birtles
81725f45de Bug 1456394 - Move KeyframeEffect constructors to KeyframeEffectReadOnly.{h,cpp}; r=bz,hiro
By doing this we will have all the KeyframeEffect* related code in
KeyframeEffectReadOnly.{h,cpp} so we can rename them to KeyframeEffect.{h,cpp}
in the next patch and make it easier to examine the history for the bulk of this
code.

The added [HeaderFile] annotation will be removed in a subsequent patch in this
series.

MozReview-Commit-ID: Fxk6fPukgAS

--HG--
extra : rebase_source : 0bb0f846aba69e2b79724adb3148948317667eae
2018-05-07 11:07:01 +09:00
Kestrel
63bbad4332 Bug 1025815 - caretPositionFromPoint needs to account for CSS transforms. r=bz
MozReview-Commit-ID: 1cTUyd0x6xy

--HG--
extra : rebase_source : 2194519fa3417dc8a8fe63db5b773e56daa38b16
2018-05-08 18:09:32 +08:00
Chris Pearce
5cf1e74269 Bug 1458383 - Assume tabs delay playback start of media. r=baku
Regardless of whether autoplay is enabled or not, we want to delay playback
start in tabs until the tab has been in the foreground. So initialize
nsPIDOMWindowOuter::mMediaSuspend to SUSPENDED_BLOCK if the controlling
pref for the delay-playback-start feature is enabled.

MozReview-Commit-ID: 7A8U5922AW8

--HG--
extra : rebase_source : deb240bda1980bcefbfc63f9ec0b00693c5777d2
2018-05-09 15:32:08 +12:00
Csoregi Natalia
88704238f1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-10 19:46:00 +03:00
Csoregi Natalia
3f17a23476 Merge inbound to mozilla-central. a=merge 2018-05-10 19:42:51 +03:00
Jon Coppeard
0924042900 Bug 1456774 - Remove linear search for finished parse task and type off thread parse token r=jandem r=baku 2018-05-10 14:51:14 +01:00
Peter Van der Beken
26b590e899 Bug 1453951 - Crash in non-virtual thunk to nsInProcessTabChildGlobal::WrapObject. r=bz.
We need to call nsInProcessTabChildGlobal::Init immediately after creating the
nsInProcessTabChildGlobal, so that we set up the binding object eagerly. Otherwise we
might end up calling WrapObject on it.

--HG--
extra : rebase_source : 691fa943e67727e438e4bb33f6a78ff2ea955bf7
2018-04-17 13:59:44 +02:00
Andrea Marchesini
f71677a0c3 Bug 1452576 - Improve StructuredCloneHolder for fuzzy tests, r=decoder 2018-05-10 09:02:16 +02:00
Emilio Cobos Álvarez
50a8a26470 Bug 1447009: Ignore title if the element is not in the document. r=heycam
Turns out this was well specified, see the linked bits.

MozReview-Commit-ID: HjdbFS78Mwj
2018-05-10 00:37:50 +02:00
Emilio Cobos Álvarez
17a92ff99b Bug 1459844: Share more code and fix some inconsistencies between html / svg style elements. r=heycam
MozReview-Commit-ID: IkTrIfJI1iK
2018-05-10 00:21:27 +02:00
Andrea Marchesini
b5118e1ddf Bug 1302449 - Remove the "referrer" directive in CSP, r=ckerschb 2018-05-09 13:15:08 +02:00
Jan-Erik Rediger
4836f92f18 Bug 1320052 - Update external snapshot callers to not deal with subsessions. r=chutten
MozReview-Commit-ID: DGTer5oMnwd

--HG--
extra : rebase_source : c33b725e6f61bb2b0473966d91bada8601fb4121
2018-05-02 15:56:03 +02:00
Xidorn Quan
f5145ff7fc Bug 1460110 - Remove header dependencies to ServoStyleRuleMap.h. r=emilio
MozReview-Commit-ID: 4TPb7JYsc1D

--HG--
extra : rebase_source : 7944e08520b95938f0572444fdebcbd647a95b85
2018-05-09 11:02:21 +10:00
Ciure Andrei
61548f81d6 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/meta/webdriver/tests/navigation/get_title.py.ini => testing/web-platform/meta/webdriver/tests/get_title/user_prompts.py.ini
2018-05-09 01:58:44 +03:00
Boris Zbarsky
7ee1a709e8 Bug 1387143 followup. Remove assertion that does not seem to hold and causes a CLOSED TREE. r=bzbarsky 2018-05-08 15:04:53 -04:00
Boris Zbarsky
1fb03996f4 Bug 1387143 part 29. Remove nsISelection. r=mats 2018-05-08 13:52:42 -04:00
Boris Zbarsky
a44e6132ff Bug 1387143 part 28. Remove nsISelection::AsSelection(). r=mats 2018-05-08 13:52:42 -04:00
Boris Zbarsky
21aa32be26 Bug 1387143 part 27. Remove some unused nsISelection methods. r=mats 2018-05-08 13:52:42 -04:00
Boris Zbarsky
63c4927445 Bug 1387143 part 26. Remove nsISelection::Modify. r=mats 2018-05-08 13:52:42 -04:00
Boris Zbarsky
11a1d5dd24 Bug 1387143 part 25. Remove nsISelection::DeleteFromDocument. r=mats 2018-05-08 13:52:42 -04:00
Boris Zbarsky
30e5cc5d8b Bug 1387143 part 24. Remove nsISelection::ContainsNode. r=mats 2018-05-08 13:52:42 -04:00
Boris Zbarsky
b47b72dae9 Bug 1387143 part 23. Remove nsISelection collapse* methods. r=mats 2018-05-08 13:52:41 -04:00
Boris Zbarsky
f992e7ed0d Bug 1387143 part 22. Remove nsISelection isCollapsed/collapsed bits. r=mats 2018-05-08 13:52:39 -04:00
Boris Zbarsky
f7d68d6078 Bug 1387143 part 21. Remove nsISelection getters for anchor and focus points. r=mats
Instead of copying spec-duplicating comments from nsISelection.idl to
Selection.webidl, this just points the latter to the right spec.
2018-05-08 13:52:38 -04:00
Boris Zbarsky
1ff99d888e Bug 1387143 part 20. Remove nsISelectionPrivate. r=mats 2018-05-08 13:52:38 -04:00
Boris Zbarsky
40b8e1ed5e Bug 1387143 part 19. Remove remaining methods from nsISelectionPrivate. r=mats 2018-05-08 13:52:38 -04:00