Jon Coppeard
bc9a97d964
Bug 1361369 - Allow async attribute on inline module scripts r=smaug
2018-01-08 15:17:34 +00:00
Andrea Marchesini
2bfde4fc2d
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 19 - Resist finger-printing enabled, r=asuth
2018-01-08 14:05:06 +01:00
Andrea Marchesini
1b4b3007e5
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 16 - Webkit/Blink directory picker enabled, r=asuth
2018-01-08 14:05:05 +01:00
Emilio Cobos Álvarez
198b044d86
Bug 1428053: Fix ShadowRoot::ContentAppended. r=jessica
...
MozReview-Commit-ID: iUhaP8VVIO
2018-01-05 11:18:18 +01:00
Botond Ballo
54882430dc
Bug 1425686 - Remove scroll input methods telemetry code. r=kats
...
MozReview-Commit-ID: 1PC4826SMvh
--HG--
extra : rebase_source : de145e653f553a41763ae1ba461478709cb7d905
2017-12-20 15:16:18 -05:00
Andrea Marchesini
6ee7f4e6f3
Bug 1425321 - Renaming nsINode::RemoveChildAt to RemoveChildAt_Deprecated, r=catalinb
2018-01-03 14:01:03 +01:00
Andrea Marchesini
00e79ef07b
Bug 1425321 - Renaming nsINode::GetChildAt to GetChildAt_Deprecated, r=catalinb
...
We want to deprecate nsINode::GetChildAt as the first step of removing DOM node
child array storage. See bug 651120.
2018-01-03 13:59:54 +01:00
Emilio Cobos Álvarez
1cda1ad876
Bug 1427511: Make GetFlattenedTreeParent more straight-forward. r=smaug
...
Now that accessing nsIContent slots is not a blob of virtual function calls, we
should be able to unify logic here, and speed up the not-so-rare case for
chrome, while keeping the usual case fast.
MozReview-Commit-ID: 87iY5Cbhx4T
2018-01-02 18:00:25 +01:00
Emilio Cobos Álvarez
c8eb630ebe
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez
ffdf5d2cb5
Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me
2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez
c0959b2955
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
--HG--
extra : rebase_source : 09b82acb4f3d69e8a4345457ab217443bc28d6e2
2017-12-07 19:13:50 +01:00
Andreea Pavel
78bc55ae1f
Merge inbound to mozilla-centra r=merge a=merge
2017-12-22 11:54:07 +02:00
Emilio Cobos Álvarez
9db998a70b
Bug 1426494: s/StyleScope/DocumentOrShadowRoot. r=smaug
...
MozReview-Commit-ID: DsFPlQMGAyv
2017-12-22 01:56:36 +01:00
Emilio Cobos Álvarez
d5196e4079
Bug 1426494: Share more code among Document / ShadowRoot. r=smaug
...
MozReview-Commit-ID: C4cJrSFPnIb
2017-12-22 01:56:17 +01:00
Boris Zbarsky
04324f18ad
Bug 1424474 part 3. Make sure that we only pass non-system subject principals to setters/methods that later use that principal for loading security checks. r=kmag
...
MozReview-Commit-ID: IjUEG5xwn5
2017-12-20 17:43:18 -05:00
Jessica Jong
467fb405a0
Bug 1409976 - Part 1: Add support for `slotchange` event. r=smaug
...
MozReview-Commit-ID: FoJXlXfqDxU
2017-12-19 23:14:55 +08:00
Narcis Beleuzu
edb8ba34eb
Backed out 2 changesets (bug 1424474) for mochitest failures on test_bug494328.html r=backout on a CLOSED TREE
...
Backed out changeset 39d5991f02ba (bug 1424474)
Backed out changeset da3dec2fce06 (bug 1424474)
2017-12-21 02:55:27 +02:00
Boris Zbarsky
a2696c3c8a
Bug 1424474 part 2. Make sure that we only pass non-system subject principals to setters/methods that later use that principal for loading security checks. r=kmag
2017-12-20 17:43:18 -05:00
Kartikaya Gupta
4f18e92ffb
Bug 1334189 - Enable mochitest-plain for linux64-qr. r=jrmuizel
...
MozReview-Commit-ID: nbcWhDq5de
--HG--
extra : rebase_source : 25e2c2b8b996ae11cd25dee07d9092ba574a9e40
2017-12-13 18:38:39 -05:00
Edgar Chen
5fedbb92b8
Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]; r=smaug
...
MozReview-Commit-ID: HgbFo9ddr0o
--HG--
extra : rebase_source : 04989782fc7c7ce79e0e65b3dc907c9e174a0809
2017-11-27 16:10:27 +08:00
Jessica Jong
7fe15d1a52
Bug 1422931
- Part 2: Make webcomponents preference per-doc. r=smaug
...
This is to fix the case where preference is restore to false when a testcase
ends, but nsDocument::DeleteShell is called afterwards. So, we make the
preference per-doc and set it when the document is created. The value does not
change for the lifetime of the document.
2017-12-09 11:25:14 +08:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Cosmin Sabou
c191e25cf5
Merge mozilla-inbound to mozilla-central r=merge a=merge
2017-12-08 11:56:44 +02:00
Bill McCloskey
9f4d083047
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
bechen@mozilla.com
d5a942aaab
Bug 1421004 - Break the mDocument reference cycle at Destroy(). r=jwwang,smaug
...
We break the cycle reference between VideoDocument/Plugindocument and MediaDocumentStreamListener when the document be destroyed.
MozReview-Commit-ID: Aowla95zMgg
--HG--
extra : rebase_source : 81ac2b5bbda2e9d212e2a8eeeeedcd28b8196cf2
2017-12-07 13:10:51 +08:00
Gerald Squelart
1b357db99b
Bug 1407810 - Use DDLogger in media stack - r=jwwang
...
Mostly-mechanical additions:
- Log constructions&destructions, usually by just inheriting from
DecoderDoctorLifeLogger, otherwise with explicit log commands (for internal
classes for which DecoderDoctorTraits can't be specialized),
- Log links between most objects, e.g.: Media element -> decoder -> state
machine -> reader -> demuxer -> resource, etc.
And logging some important properties and events (JS events, duration change,
frames being decoded, etc.)
More will be added later on, from just converting MOZ_LOGs, and as needed.
MozReview-Commit-ID: KgNhHSz35t0
--HG--
extra : rebase_source : dd7206e350e32671adc6f3b9e54ebf777251de2c
2017-10-10 17:55:27 +11:00
Gerald Squelart
16a9a0b9d7
Bug 1407810 - Implement HTMLMediaElement::Moz{Enable,Request}DebugLog - r=jwwang
...
MozReview-Commit-ID: 7Hhy6qBVjDk
--HG--
extra : rebase_source : 5eb33db2c13a4add3bef693af1e558b256732599
2017-10-16 16:18:58 +11:00
Tiberius Oros
2b285e1296
Backed out changeset b0c952f7d225 (bug 1421004)for build bustage r=backout on a CLOSED TREE
2017-12-06 14:00:22 +02:00
bechen@mozilla.com
6a35658a80
Bug 1421004 - Break the mDocument reference cycle at Destroy(). r=jwwang,smaug
...
We break the cycle reference between VideoDocument/Plugindocument and MediaDocumentStreamListener when the document be destroyed.
MozReview-Commit-ID: Aowla95zMgg
--HG--
extra : rebase_source : 89efc6c480ba97476926ba561d386803fbb14412
2017-12-05 15:32:12 +08:00
Boris Zbarsky
887ce3941a
Bug 1419270 part 2. Use getter or setter specific NeedsSubjectPrincipal annotations more. r=qdot
...
MozReview-Commit-ID: KBwjFh3TMUg
2017-12-05 16:03:18 -05:00
Boris Zbarsky
77d6a0dd53
Bug 1418558 part 4. Add MOZ_CAN_RUN_SCRIPT annotations to nsGenericHTMLElement methods that can call GetPrimaryFrame. r=mystor
...
MozReview-Commit-ID: HxFFC85qgOD
2017-12-05 11:18:16 -05:00
Boris Zbarsky
eefe007914
Bug 1418558 part 2. Add MOZ_CAN_RUN_SCRIPT annotations to HTMLImageElement methods that call GetPrimaryFrame. r=mystor
...
MozReview-Commit-ID: GxcrOxjTYDm
2017-12-05 11:18:16 -05:00
Masatoshi Kimura
0eee3482dc
Bug 1071816 - Add a pref to fallback to UTF-8 for files from file: URLs. r=hsivonen
...
MozReview-Commit-ID: KFjIqYmgzTl
--HG--
extra : rebase_source : 9c8af1c9b488ed945832ab1cb83e11a74e91cd08
2017-11-30 20:55:07 +09:00
JW Wang
2f2083875c
Bug 1422677. P2 - remove the side effect of MediaDecoder::CanPlayThrough(). r=bechen,gerald
...
We calculate 'canplaythrough' in ChannelMediaDecoder::DownloadProgressed() and
send updates to MDSM.
MozReview-Commit-ID: KAeDciPAUKs
--HG--
extra : rebase_source : 64d7705fb5ca6b1003664ac313ad1ae0ab1bbea6
2017-12-01 14:34:58 +08:00
Dorel Luca
bea662dd30
Merge mozilla-central to autoland r=merge
...
--HG--
rename : layout/reftests/webcomponents/basic-insertion-point-1-ref.html => layout/reftests/webcomponents/basic-slot-5-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-1.html => layout/reftests/webcomponents/basic-slot-5.html
rename : layout/reftests/webcomponents/basic-insertion-point-2-ref.html => layout/reftests/webcomponents/basic-slot-6-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-2.html => layout/reftests/webcomponents/basic-slot-6.html
extra : rebase_source : 483a0fb85738c5459165efca8ec6bc971e31b4c2
2017-12-04 12:49:40 +02:00
Jessica Jong
306e4bafc3
Bug 1409975 - Part 2: Include slots in the flat tree. r=smaug,emilio
...
We should consider slot as a parent in ChildIterator: if slot's
`assignedNodes` is not empty, use `assignedNodes`, otherwise, use direct
children as fallback content.
Also, GetFlattenedTreeParentNodeInternal should be changed to use
`assignedSlot` instead of `DestInsertionPoints`.
2017-12-04 16:06:37 +08:00
Jessica Jong
adc29479a2
Bug 1409975 - Part 1: Implementation for assignedNodes. r=smaug
...
Set and unset assignedNodes properly when slot is added/removed and when
slotables are added/removed/modfied. Note that assigedNodes with
flatten: true is calculated on demand.
2017-12-04 16:06:34 +08:00
Andreas Pehrson
8d4be05939
Bug 1419363 - Switch to WeakPtr. r=jib
...
--HG--
extra : rebase_source : 7148328b61e25c3eac983e41f1ece633bf2206bf
2017-12-01 10:52:18 -05:00
John Dai
7b51513583
Bug 1419316 - Fix setting HTMLOutputElement.defaultValue makes it being reset to empty string when it has childs and in default mode. r=smaug
2017-12-01 03:37:00 +02:00
Ciure Andrei
48e5c9892f
Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
2017-12-02 12:19:55 +02:00
Kilik Kuo
b5261ea942
Bug 1365505 - [P2][Fennec] Only include exoplayer & HLSDecoder related components when building --with-gradle. r=maliu
...
MozReview-Commit-ID: 7Y0bZynN66i
--HG--
extra : rebase_source : 6730f4e09c559074387b3fcf9dd2fb038628d448
2017-11-30 17:53:00 +08:00
Margareta Eliza Balazs
8f1ff0908b
Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
2017-11-30 12:56:57 +02:00
Olli Pettay
af3373dc1d
Bug 1418002 - Remove HTMLContentElement, r=jessica
2017-11-30 10:57:15 +02:00
Alastor Wu
d7ce5bde2b
Bug 1415478 - part2 : allow autoplay for non-audible media content and video without audio content. r=jwwang
...
Per UX spec, we would allow non-audible media (volume 0, muted, video without audio track)
to autoplay.
MozReview-Commit-ID: HKUyt5Jt4sH
--HG--
extra : rebase_source : 83e53a0035d72984494948f131a5d6e516baa577
2017-11-30 10:50:21 +08:00
Alastor Wu
258e1d56df
Bug 1420488 - part1 : bless media if media has started playing before. r=jwwang
...
If the media has started playing before, bless it and it would always be allowed
to autoplay.
MozReview-Commit-ID: 4GqMARLXULU
--HG--
extra : rebase_source : 2fdb3937156147755f8e387b1d84311ae1d37ce4
2017-11-29 18:59:56 +08:00
Sebastian Hengst
c4e3d3a858
Backed out 2 changesets (bug 1420488) for eslint failures in toolkit/content/tests/browser/browser_autoplay_policy_play_twice.js. r=backout
...
Backed out changeset 92bd0fcb67d5 (bug 1420488)
Backed out changeset 0f211029517c (bug 1420488)
2017-11-29 17:31:28 +02:00
Edgar Chen
9f4324f41e
Bug 1416999 - Remove document.registerElement; r=smaug
...
MozReview-Commit-ID: HiX07Vbljhk
--HG--
rename : dom/base/test/chrome/registerElement_ep.js => dom/base/test/chrome/custom_element_ep.js
rename : dom/base/test/chrome/frame_registerElement_content.html => dom/base/test/chrome/frame_custom_element_content.html
rename : dom/base/test/chrome/test_registerElement_content.xul => dom/base/test/chrome/test_custom_element_content.xul
rename : dom/base/test/chrome/test_registerElement_ep.xul => dom/base/test/chrome/test_custom_element_ep.xul
rename : dom/base/test/test_document_register.html => dom/base/test/test_custom_element.html
rename : dom/tests/mochitest/webcomponents/test_document_register.html => dom/tests/mochitest/webcomponents/test_custom_element_define.html
rename : dom/tests/mochitest/webcomponents/test_document_register_parser.html => dom/tests/mochitest/webcomponents/test_custom_element_define_parser.html
rename : dom/tests/mochitest/webcomponents/test_template_custom_elements.html => dom/tests/mochitest/webcomponents/test_custom_element_template.html
extra : rebase_source : cd2ebf166e8bd9c49910387c9136d7b83b51598d
2017-11-16 12:23:15 +08:00
Alastor Wu
28c25979d7
Bug 1420488 - part1 : bless media if media has started playing before. r=jwwang
...
If the media has started playing before, bless it and it would always be allowed
to autoplay.
MozReview-Commit-ID: 28X4TmG25aJ
--HG--
extra : rebase_source : 3fd7cb16da9e7f925ad7020fb74c48537e08a996
2017-11-29 18:05:56 +08:00
Kilik Kuo
fea69fe34f
Bug 1419897 - Crash in mozilla::dom::HTMLMediaElement::RemoveMediaKeys. r=jwwang
...
The process of |TryRemoveMediaKeysAssociation()| is a 2-step async procedue in mainthread.
mMediaKeys might be set to null inside |NotifyOwnerDocumentActivityChanged()| in between
|TryRemoveMediaKeysAssociation| and |RemoveMediaKeys|.
MozReview-Commit-ID: HtiADt3UTvp
--HG--
extra : rebase_source : 9eff95040b3e900fb778187e4e432bce0b41396b
2017-11-28 23:06:34 +08:00
Cosmin Sabou
5c4663243d
Backed out 23 changesets (bug 1419771) for frequently failing service workers related devtools tests, e.g. devtools/client/aboutdebugging/test/browser_service_workers_push.js. r=backout on a CLOSED TREE
...
Backed out changeset 2242edc902a5 (bug 1419771)
Backed out changeset 9cc3c29a9e36 (bug 1419771)
Backed out changeset c39ee002c825 (bug 1419771)
Backed out changeset caf7428013f2 (bug 1419771)
Backed out changeset c03970363433 (bug 1419771)
Backed out changeset 7f9de012861e (bug 1419771)
Backed out changeset ed146ac42a7f (bug 1419771)
Backed out changeset a8154698f782 (bug 1419771)
Backed out changeset 8a54c1c8d45d (bug 1419771)
Backed out changeset e32cd55b4c96 (bug 1419771)
Backed out changeset b7f342f436ef (bug 1419771)
Backed out changeset 60464b3e468f (bug 1419771)
Backed out changeset 108806f14ad8 (bug 1419771)
Backed out changeset 65998b0740f3 (bug 1419771)
Backed out changeset 0d23880842d8 (bug 1419771)
Backed out changeset 862aeaa2fefd (bug 1419771)
Backed out changeset cbc192478bf5 (bug 1419771)
Backed out changeset c58ef2a91bad (bug 1419771)
Backed out changeset 2b0a4bfd654f (bug 1419771)
Backed out changeset f182eba574f9 (bug 1419771)
Backed out changeset d9999a624097 (bug 1419771)
Backed out changeset 4050a1b8db2b (bug 1419771)
Backed out changeset a1a68e6500d9 (bug 1419771)
2017-11-30 22:35:32 +02:00