Jan de Mooij
3536a9cbcb
Bug 1475559 part 3 - Add JS::IsUnwrappedSavedFrame and assert this in JSStackFrame's constructor. r=bz
2018-07-21 14:33:22 +02:00
Jan de Mooij
41bc700eb1
Bug 1475559 part 2 - Rename JS::IsSavedFrame to JS::IsMaybeWrappedSavedFrame and do some minor cleanup. r=bz
...
Our JS::IsFoo APIs usually don't check for wrappers so being explicit about this seems useful.
2018-07-21 14:32:25 +02:00
Olli Pettay
e909e859a5
Bug 1100912, make dir-state to propagate through shadow DOM, r=mrbkap
2018-07-21 13:11:06 +03:00
Cosmin Sabou
0d3874d7d6
Merge mozilla-inbound to mozilla-central. a=merge
2018-07-21 00:42:01 +03:00
Noemi Erli
76fe049448
Backed out 3 changesets (bug 1476975) for mochitest failures on test_can_play_type_webm.html
...
Backed out changeset 91585d095420 (bug 1476975)
Backed out changeset 798f4894ffd5 (bug 1476975)
Backed out changeset b5377ceef34f (bug 1476975)
2018-07-20 21:27:01 +03:00
Christoph Kerschbaumer
adac33969a
Bug 1304645: Pass individual CSP errors as categories to web console error messages. r=baku
2018-07-20 19:57:21 +02:00
Christoph Kerschbaumer
f9100f4600
Bug 1475073: Pass individual CORS errors as categories to web console error messages. r=baku
2018-07-20 19:57:41 +02:00
Jean-Yves Avenard
4d4b32ccf8
Bug 1476975 - P3. Fix canPlayType/isTypeSupported for AV1 content. r=dminor
...
AV1 support is behind a pref, as such, the result of canPlayType should depends on the value of that pref.
Additionally to this change we remove AOMDecoder::IsSupportedCodec as it implied confusion on what a codec mimetype is. There are two type of codec mimetype: the one describing the container content ("av1") and the one describing the codec itself "video/av1")
AOMDecoder shouldn't know anything about containers (e.g. mp4 or webm)
2018-07-20 19:04:46 +02:00
Jean-Yves Avenard
c1c073835b
Bug 1476975 - P2. Add mochitests. r=dminor
2018-07-20 19:04:46 +02:00
Olli Pettay
f3c3cde4c7
bug 1430701, remove now unused nsLightFrameIterator, r=mrbkap
...
--HG--
extra : rebase_source : 875b320c75414c3911a252e39267d1a424a51f37
2018-07-20 19:32:22 +03:00
Olli Pettay
d2c6da0786
bug 1430701, contents of frameless shadow hosts should be focusable, r=mrbkap
...
--HG--
extra : rebase_source : 1f36c2958048a02498ba1b41587b552cc1559ab4
2018-07-20 19:29:52 +03:00
Tokio Kajitsuka
6fd289ea7a
Bug 1468110 - add AccessibleNode boolean attributes, r=yzen, qdot
...
based on ARIA and AOM's ARIA reflection specs (https://wicg.github.io/aom/spec/aria-reflection.html )
2018-07-06 18:29:49 +09:00
Emilio Cobos Álvarez
3f4c2259ec
Bug 1477197: Remove unused UpdateStyleSheet argument. r=jwatt
...
Differential Revision: https://phabricator.services.mozilla.com/D2262
MozReview-Commit-ID: IJufidwDrtc
2018-07-20 15:51:34 +02:00
Emilio Cobos Álvarez
68f214df2a
Bug 1450250: Make svg:use use an actual shadow tree. r=heycam
...
Summary:
This fixes a couple fuzz bugs and prevents special-casing <svg:use> even more in
bug 1431255.
Unfortunately not as many hacks went away as I'd have hoped, since we still need
to match document rules, see the linked SVGWG issues.
But blocks_ancestor_combinators goes away, which is nice since it's on a very
hot path.
Test Plan: WPT for style invalidation, covered by existing tests otherwise.
Reviewers: heycam
Tags: #secure-revision
Bug #: 1450250
Differential Revision: https://phabricator.services.mozilla.com/D2154
MozReview-Commit-ID: C4mthjoSNFh
2018-07-20 14:44:51 +02:00
Emilio Cobos Álvarez
a01c54ae7a
Bug 1450250: Preserve the behavior of GetOuterSVGElement so that it works for <animate>. r=heycam
...
It's used by SVGAnimationElement, and otherwise it can't find the root element
if it's under a <use> element.
It also feels like the right thing to do, and didn't break any XBL+svg tests
(though we may as well get rid of those at this point).
Differential Revision: https://phabricator.services.mozilla.com/D2195
MozReview-Commit-ID: Jx1JrTld8EL
2018-07-20 14:44:49 +02:00
Emilio Cobos Álvarez
8eaddfbb80
Bug 1450250: Make <animate> target the light DOM parent, not the flattened tree parent. r=heycam
...
This matches Chrome:
https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/svg/animation/svg_smil_element.cc?l=260&rcl=325eafc631f396944801f17675a7092b216d60ca
And we rely on that to animate <use> with SMIL, like:
<use href="#foo">
<animate ...>
</use>
There, the flattened tree parent of the <animate> element is null, because <use>
is a shadow root without slots.
Similarly we need to skip the GetCtx check which seems unneeded, and also is not
correct since <animate> can animate when it's out of the flattened tree.
Differential Revision: https://phabricator.services.mozilla.com/D2194
MozReview-Commit-ID: 13hRCOj500n
2018-07-20 14:44:48 +02:00
Emilio Cobos Álvarez
add2e33db0
Bug 1450250: SMIL document-related fixes. r=heycam
...
This is a prerequisite to make some SMIL-in-use tests pass.
Differential Revision: https://phabricator.services.mozilla.com/D2192
MozReview-Commit-ID: 8fM0fb9dayd
2018-07-20 14:44:47 +02:00
Dan Minor
d55ae44eff
Bug 1474684 - Use larger stack for media decoder threads; r=jya,froydnj
...
Summary:
We've hit stack overflows while decoding, in particular for av1. This increases
the thread size for the platform decoder threads, while leaving the others at
their default values.
Reviewers: jya
Tags: #secure-revision
Bug #: 1474684
Differential Revision: https://phabricator.services.mozilla.com/D2226
--HG--
extra : rebase_source : d03a91e93910fac5458f18f43398d76b736bbee6
2018-07-18 12:47:45 -04:00
Andreea Pavel
b5a482c899
Backed out 3 changesets (bug 1475073, bug 1304645, bug 1474537) for failing wpt and mochitest on a CLOSED TREE
...
Backed out changeset 4fbeea69b10d (bug 1475073)
Backed out changeset d3ac68d9ead9 (bug 1304645)
Backed out changeset 113b601a3b59 (bug 1474537)
2018-07-20 14:00:09 +03:00
Tiberius Oros
5955cda3e1
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-07-20 13:00:01 +03:00
Tiberius Oros
10e6320abc
Merge inbound to mozilla-central. a=merge
2018-07-20 12:56:59 +03:00
Christoph Kerschbaumer
1de27c0297
Bug 1304645: Pass individual CSP errors as categories to web console error messages. r=baku
2018-07-20 10:42:46 +02:00
Christoph Kerschbaumer
f33c5faa8f
Bug 1474537 - CSP 'self' should translate to 'self' and not be resolved to actual self URI. r=dveditz
2018-07-20 10:39:31 +02:00
Masayuki Nakano
3a1344255b
Bug 1467802 - part 4: Create TextEditor::ComputeValueInternal() for internal use of nsIPlaintextEditor::OutputToString() r=m_kato
...
For reducing virtual calls of nsIPlaintextEditor::OutputToString(),
TextEditor should have new non-virtual public method, ComputeTextValue() and
shared code between it and OutputToString() as ComputeValueInternal().
MozReview-Commit-ID: KFeovQ568bf
--HG--
extra : rebase_source : a5cfb24cefe44f7c60e649959ed49350ed00d4d6
2018-07-18 21:27:30 +09:00
Chris Pearce
33cfb93398
Bug 1476853 - Don't block WebAudio autoplay by default. r=padenot
...
Pending figuring out how we want to block autoplay of WebAudio content, we
should just not block it by default for the initial release of block autoplay,
and follow up once we've figured out how to not break the web.
MozReview-Commit-ID: ClfdrHcugLs
--HG--
extra : rebase_source : 54f61b0765f1d0ed9c754c90da9c2809a7de8676
2018-07-16 16:08:49 +12:00
Haik Aftandilian
946187d684
Bug 1475722 - Mac Flash sandbox causes empty file upload dialogs on OS X 10.9, 10.10 r=Alex_Gaynor
...
On 10.9 and 10.10, grant global read access to the Flash sandbox.
Change Flash sandbox levels by adding a new level 1 that includes
global read access which will be the default on 10.9/10.10.
Level 2 is the new default for 10.11 and above with file read
access enabled by file dialog activity.
MozReview-Commit-ID: LvXhd6Vf7mo
--HG--
extra : rebase_source : 946f89937e5bb4506fd6bc8b2c050c86a8b29cc8
2018-07-17 17:30:44 -07:00
Paul Adenot
2f416390fe
Bug 1152401 - Augment AudioDeviceInfo with a cubeb device id. r=padenot
...
MozReview-Commit-ID: 7QOcM5ITrxv
--HG--
extra : rebase_source : 41071cfbccfc22b0c8a3b2d6a5405d4fbf23c16d
2018-07-18 10:38:34 +02:00
Alex Chronopoulos
300cdedf50
Bug 1152401 - Rename SourceSet to MediaDeviceSet to help readability. r=jib
...
MozReview-Commit-ID: KLXeicyEBFG
--HG--
extra : rebase_source : 02b70606e708d414cfeb3e38a2569c1d85c1d853
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
cf8c19c806
Bug 1152401 - Create pref to enable enumeration of output devices. r=jib
...
MozReview-Commit-ID: G1oB6hlBcsl
--HG--
extra : rebase_source : f966c58496394947094ca66de0079a79b33a745d
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
f19a154624
Bug 1152401 - Use mKind member of MediaDevice in MediaDeviceInfo to avoid string comparisons. r=jib
...
MozReview-Commit-ID: Kfqb7DZlwO2
--HG--
extra : rebase_source : 9e3ec1b4df4d90a20ff270f0e83a789631890cbe
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
075ead24ea
Bug 1152401 - Implement enumeration of speaker devices. r=jib
...
MozReview-Commit-ID: CppImscUcz4
--HG--
extra : rebase_source : aed0355743d547bd7b405a6b834cf9ab50edc4ee
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
9e8bb0c379
Bug 1152401 - Update enumerate methods of MediaManager and MediaEngine to accept audio sink type. r=jib
...
MozReview-Commit-ID: 1RClh9UNQck
--HG--
extra : rebase_source : 23e3f1b9e4ad42f0cff86d3903e2b0c7e5bc6a01
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
367ccc1325
Bug 1152401 - Add MediaDeviceKind member in MediaDevice to differentiate sink devices. r=jib
...
MozReview-Commit-ID: E6SGabjpqIA
--HG--
extra : rebase_source : ec79f2f8d949334209c0346e624fa4b16c8732a5
2018-07-16 11:29:12 +02:00
Alex Chronopoulos
5d13851360
Bug 1152401 - Use MediaDevice in MediaEngine to allow enumeration of both sinks and sources. r=jib
...
MozReview-Commit-ID: 6ntA5YUFSnN
--HG--
extra : rebase_source : d90bc121bc8e4152d76429e2a49f4d4cc1cf439e
2018-07-11 08:59:13 +02:00
Alex Chronopoulos
96fb94d4ab
Bug 1152401 - Create MediaSinkEnum for speakers. r=jib
...
MozReview-Commit-ID: 2FUrm3ZI05S
--HG--
extra : rebase_source : 02552f5ab399f075d5128037a0743b3a7dbb350d
2018-07-11 08:59:13 +02:00
Robert Bartlensky
ced7192e2f
Bug 1476603: Fix DEAD_STORE error in dom/indexedDB/ActorsParent.cpp. r=janv
...
MozReview-Commit-ID: B6oqb3tp3ND
--HG--
extra : rebase_source : 02c5363991986babad56c55b9f80e187b91d0dad
2018-07-19 13:36:33 +01:00
Nicholas Nethercote
fc1f4bb4ae
Bug 1476820 - Convert some VarCache prefs in dom/security/ to use StaticPrefs. r=ckerschb
...
Specifically:
- "security.csp.enable"
- "security.csp.experimentalEnabled"
- "security.csp.enableStrictDynamic"
- "security.csp.reporting.script-sample.max-length"
- "security.csp.enable_violation_events"
MozReview-Commit-ID: G1ie4ut9QaK
--HG--
extra : rebase_source : d6b5a0e79eb7046a13a8b4fe957c82c11831c86c
2018-07-19 10:43:29 +10:00
Kris Maglione
41c3c1071d
Bug 1476828: Part 2 - Slightly decrease the DOM Worker thread stack size. r=erahm
...
MozReview-Commit-ID: GEDanj1dAC6
--HG--
extra : rebase_source : 212d94df94f4243fcb58f940d4a023aa7014c552
2018-07-18 17:52:39 -07:00
Bogdan Tara
97830f0e63
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-07-20 00:55:33 +03:00
Ehsan Akhgari
3441526820
Bug 1476796
- Enable AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor() to notify consumers about completion of asynchronous results; r=baku
...
Right now consumers can't know when the parent process has finished talking
to the permission manager. It would be nice to enable consumers to depend
on the status of the asynchronous task using a promise.
2018-07-19 17:04:56 -04:00
Coroiu Cristina
edada2f46b
Backed out changeset bc6d7dc3f10f (bug 1476796
) for build bustage on a CLOSED TREE
2018-07-19 23:51:35 +03:00
Ehsan Akhgari
7c156959da
Bug 1476796
- Enable AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor() to notify consumers about completion of asynchronous results; r=baku
...
Right now consumers can't know when the parent process has finished talking
to the permission manager. It would be nice to enable consumers to depend
on the status of the asynchronous task using a promise.
2018-07-19 16:20:20 -04:00
Jed Davis
96c18b6c4a
Bug 1467889 - Adjust some uses of XPCOM strings. r=mrbkap r=mstange
...
MozReview-Commit-ID: 5AG4WAmbLZz
2018-07-19 14:14:50 -06:00
Haik Aftandilian
59a99c8595
Bug 1350642
- Keep the tabCountResizable property in sync; r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D2197
--HG--
extra : moz-landing-system : lando
2018-07-19 18:05:35 +00:00
Haik Aftandilian
e2f970d134
Bug 1350642
- Remove the PBrowser::Msg_GetTabCount sync IPC; r=mccr8
...
Bug 1350642
- Keep the tabCountResizable property in sync; r?dao
Differential Revision: https://phabricator.services.mozilla.com/D2196
--HG--
extra : moz-landing-system : lando
2018-07-17 19:41:16 +00:00
Csoregi Natalia
8384a65194
Merge inbound to mozilla-central. a=merge
2018-07-19 19:09:50 +03:00
Neil Deakin
0cc9fd046c
Bug 1461742, add a mechanism so that custom elements can implement interfaces akin to XBL implements. This is accomplished by an additional chrome-only callback getCustomInterface that can be implemented by custom elements, r=bz
2018-07-19 08:38:45 -04:00
Andrea Marchesini
d3cf48d4ba
Bug 1332422 - CSP should not use 'aExtra' to indicate redirects within ContentPolicy, r=ckerschb
...
Instead, let's pass a nsIURI object to indicate when we have to check a
redirect CSP loading.
2018-07-19 13:25:50 +02:00
Andrea Marchesini
c3238135af
Bug 1476612 - AntiTracking should use nsIDocument::Get/SetUserHasInteracted instead of UserGestureActivation, r=cpearce
2018-07-19 13:14:27 +02:00
Csoregi Natalia
143b18ba60
Backed out 2 changesets (bug 1461742) for build bustage on CustomElementRegistry.cpp:97. CLOSED TREE
...
Backed out changeset ca5415dbc51a (bug 1461742)
Backed out changeset 30bd77de7bf5 (bug 1461742)
2018-07-19 13:36:31 +03:00