Boris Zbarsky
55ed30a9c6
Bug 1444686 part 3. Get rid of nsIDOMDataTransfer::Get/SetMozCursor. r=mystor
...
MozReview-Commit-ID: G7vuh1uuWGv
2018-03-13 16:23:59 -04:00
Boris Zbarsky
6139d9be8f
Bug 1444686 part 2. Get rid of nsIDOMDataTransfer::GetMozItemCount. r=mystor
...
MozReview-Commit-ID: 1eo6czER8Qw
2018-03-13 16:23:59 -04:00
Boris Zbarsky
4968b166a6
Bug 1444686 part 1. Get rid of nsIDOMDataTransfer::Get/SetDropEffect. r=mystor
...
MozReview-Commit-ID: 6Kn9uuaQYI0
2018-03-13 16:23:59 -04:00
Andrea Marchesini
4500b075c6
Bug 1436784 - Use WorkerRef in FileReader, r=smaug
2018-03-13 21:17:06 +01:00
Andrea Marchesini
19df07d29b
Bug 1436784 - Use WorkerRef in DOM Connection, r=smaug
2018-03-13 21:17:02 +01:00
Andrea Marchesini
bcdecebf32
Bug 1436784 - Use WorkerRef in WebSocket, r=smaug
2018-03-13 21:16:59 +01:00
Andrea Marchesini
d892207595
Bug 1436784 - Use WorkerRef in BroadcastChannel and MessagePort, r=smaug
2018-03-13 21:16:54 +01:00
Andrea Marchesini
8d4bb177fa
Bug 1436784 - Implement WeakWorkerRef, StrongWorkerRef and ThreadSafeWorkerRef, r=smaug
2018-03-13 21:16:48 +01:00
Robert Longson
797f6cb1a6
Bug 1325320 part 3 - move GetPathLengthScale to SVGGeometryElement and convert callers of SVGPathElement methods to work on the base SVGGeometryElement class and work for all shapes, not just paths r=dholbert
2018-03-13 19:52:03 +00:00
Robert Longson
bda3ae0619
Bug 1325320 part 2 - change shapes so they implement SVGGeometryElement and implement SVGGeometryElement::GetOrBuildPath r=dholbert r=mystor (DOM Peer)
2018-03-13 19:20:43 +00:00
Andreea Pavel
2bf2909c46
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-03-13 19:33:37 +02:00
Andreea Pavel
8fa0b32c84
Merge mozilla-inbound to mozilla-cenral. a=merge
2018-03-13 19:01:32 +02:00
Andreea Pavel
e74f76b184
Backed out 6 changesets (bug 1439875) for failing mochitest clipboard at browser/components/customizableui/test/browser_editcontrols_update.js and mochitest headless at dom/events/test/pointerevents/test_bug1414336.html on a CLOSED TREE
...
Backed out changeset f21bdb9b67e8 (bug 1439875)
Backed out changeset bd81fafecd95 (bug 1439875)
Backed out changeset 3296aef96276 (bug 1439875)
Backed out changeset a1237d0711a2 (bug 1439875)
Backed out changeset fc25cbe8e22e (bug 1439875)
Backed out changeset 25e681a47121 (bug 1439875)
2018-03-13 18:37:16 +02:00
Emilio Cobos Álvarez
6c15a62ef4
Bug 1439875: Fire MozBeforeInitialXULLayout before sizing the window. r=florian,smaug
...
This gives the chance to code that relies on setting the XUL window attributes
to run before we actually size the window.
This should prevent the resizing on OSX and fix some other untested stuff that
the first commit probably broke...
MozReview-Commit-ID: DhCWgmCppek
2018-03-13 15:36:15 +01:00
Emilio Cobos Álvarez
184558072c
Bug 1439875: Size the XUL window before doing layout. r=smaug
...
The only subtle thing is the mCenterAfterLoad stuff, which is gated after a
mChromeLoaded.
Other than that it follows the same pattern as bug 345560.
MozReview-Commit-ID: 8qDiA2yn9DB
2018-03-13 15:36:12 +01:00
Nathan Froyd
b9b5a1379d
Bug 1444971 - fix diagnostic assert condition in ReadStream; r=baku
...
Using MOZ_DIAGNOSTIC_ASSERT_ENABLED here is a little clearer than
RELEASE_OR_BETA and makes disabling diagnostic assertions globally
easier.
2018-03-13 09:47:07 -04:00
Andrea Marchesini
6f7a4bfd5d
Bug 1445199 - Remove JSContext parameter in worker NotifyHolder, r=smaug
2018-03-13 15:25:50 +01:00
Narcis Beleuzu
298d1d55b5
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-03-13 12:36:54 +02:00
Emilio Cobos Álvarez
de099db7bd
Bug 1444905: Remove scoped style support from the old style system. r=xidorn,smaug
...
Summary: It uses two node bits that can be better suited for something else.
Reviewers: xidorn, smaug
Bug #: 1444905
Differential Revision: https://phabricator.services.mozilla.com/D709
MozReview-Commit-ID: HIPDtHm6xpM
2018-03-13 10:26:13 +01:00
Emilio Cobos Álvarez
17f8b43bb3
Bug 1444908: Devirtualize nsIDocument::Get/SetXMLDeclaration. r=smaug
...
Summary: I missed these two.
Reviewers: smaug
Bug #: 1444908
Differential Revision: https://phabricator.services.mozilla.com/D710
MozReview-Commit-ID: 8JYhlQ9CiDz
2018-03-13 09:03:11 +01:00
Margareta Eliza Balazs
ca8cc145d5
Backed out 2 changesets (bug 1443942) for mda assertion failures in /build/build/src/dom/media/ChannelMediaResource.cpp
...
Backed out changeset e2f69088b1d7 (bug 1443942)
Backed out changeset 446bfe8412cb (bug 1443942)
2018-03-13 07:14:32 +02:00
Henri Sivonen
2eb6c4eda3
Bug 1436903 - Avoid passing shipping options to the front end when shipping was not requested. r=baku
...
MozReview-Commit-ID: FdkC02izUy6
--HG--
extra : rebase_source : 4434a148379e33771950848c6cdf1350e33eb23b
2018-03-07 13:16:46 +02:00
Chris Pearce
2e59cf72c3
Bug 1443942 - Test for blocking midflight redirects in media elements. r=jya
...
Test that playback works if we don't block, doesn't if we do block, and does
if we do block and CORS is used.
MozReview-Commit-ID: 9PTZXLOdHIU
--HG--
extra : rebase_source : 9071542f9deb36063aa0de3386a75bc0ad111d20
2018-03-06 14:44:26 +13:00
Chris Pearce
0ebc1bfba0
Bug 1443942 - Block mid-flight redirects to cross origin destinations during media loads. r=jya
...
There's no compelling use case for mid-flight redirects, and Chrome
already blocks it, so there's little point in maintaining it.
Add a hidden pref to toggle blocking, so we can toggle it off during
testing to ensure that we're blocking a working mid-flight redirect.
MozReview-Commit-ID: EnGNmYFr8Uv
--HG--
extra : rebase_source : 3ed71273da24f8f0c8bc24ceede49afa7775650d
2018-03-06 09:55:03 +13:00
Chris Pearce
7101cc436e
Bug 1434804 - Test that setting a muted-autoplay media to audible pauses media. r=kamidphish
...
MozReview-Commit-ID: 7cPgJMvUoja
--HG--
extra : rebase_source : 1d94df4e2fe75e1854207c52259c88813c24be50
2018-03-12 14:15:54 +13:00
Chris Pearce
f589142a62
Bug 1434804 - Pause autoplayed media if they become audible. r=kamidphish
...
Our autoplay blocking is trivial to defeat; just mute or volume=0 a video,
play(), and then unmute, and then you're playing audibly.
So this patch makes us pause() media that become audible atfter playback
has started.
MozReview-Commit-ID: 2RAtbohMGJO
--HG--
extra : rebase_source : 021510102374185debc89610bc6027206a0af6fc
2018-03-12 13:05:04 +13:00
Noemi Erli
ac0a30f58c
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-03-13 01:16:04 +02:00
Margareta Eliza Balazs
d6d1b8a6a5
Merge inbound to mozilla-central. a=merge
2018-03-13 01:10:10 +02:00
Noemi Erli
0341e8a283
Backed out 2 changesets (bug 1443942) for bustage on /testing/xpcshell/selftest.py on a CLOSED TREE
...
Backed out changeset fa5bcc246d0f (bug 1443942)
Backed out changeset 2257546ec484 (bug 1443942)
2018-03-13 00:43:31 +02:00
Cosmin Sabou
462b445081
Backed out 6 changesets (bug 1343451) for mochitest android perma failures on testInputConnection.
...
Backed out changeset e07105d9698e (bug 1343451)
Backed out changeset dc4a2a5932c3 (bug 1343451)
Backed out changeset 9561ed261d04 (bug 1343451)
Backed out changeset 84a5ec921442 (bug 1343451)
Backed out changeset b34d48936db8 (bug 1343451)
Backed out changeset 4dce7ab14f71 (bug 1343451)
2018-03-12 18:07:46 +02:00
Chris Pearce
ade71711a0
Bug 1443942 - Test for blocking midflight redirects in media elements. r=jya
...
Test that playback works if we don't block, doesn't if we do block, and does
if we do block and CORS is used.
MozReview-Commit-ID: 9PTZXLOdHIU
--HG--
extra : rebase_source : 1afcf20b6f39fc6a1283e90ad07d3bd51b08e0d4
2018-03-06 14:44:26 +13:00
Chris Pearce
31d1174127
Bug 1443942 - Block mid-flight redirects to cross origin destinations during media loads. r=jya
...
There's no compelling use case for mid-flight redirects, and Chrome
already blocks it, so there's little point in maintaining it.
Add a hidden pref to toggle blocking, so we can toggle it off during
testing to ensure that we're blocking a working mid-flight redirect.
MozReview-Commit-ID: EnGNmYFr8Uv
--HG--
extra : rebase_source : cdc122a11a648f2451d2983df42597d8274ac9fb
2018-03-06 09:55:03 +13:00
Emilio Cobos Álvarez
98e6994aaf
Bug 1444416: Make bindings generate appropriate MOZ_KnownLive wrappers. r=bz
...
MozReview-Commit-ID: DBmgwNYVjTM
--HG--
extra : rebase_source : a0866d03686d5ca8aabd954014bf8abb89a419d9
2018-03-09 21:21:59 +01:00
Paul Adenot
2423ff6f48
Bug 1443224 - Throw correct exceptions when trying to set the channelCount, the channelCountMode and the channelInterpretation on a ChannelSplitterNode. r=baku
...
Spec: https://webaudio.github.io/web-audio-api/#dom-audionode-channelcount
Google has written a web platform test this is going to be merged soon (we
currently fail it).
MozReview-Commit-ID: 1RpASaIJrhm
--HG--
extra : rebase_source : 42dc8af6e677831d70e84ffc23e738d49549c59d
extra : amend_source : b4c30805157bd9bfd06afdfc8f439fe8de1b6aae
extra : source : e7b5b629fb30c4c8b8708979e926029f4e743420
2018-03-09 15:22:44 +01:00
Margareta Eliza Balazs
b42210d9c7
Backed out changeset 7d62c45d5973 (bug 1236222) for X xpcshell failures in :toolkit/components/extensions/test/xpcshell/test_ext_contentscript_triggeringPrincipal.js on a CLOSED TREE
2018-03-12 21:35:57 +02:00
Emilio Cobos Álvarez
4224552ed9
Bug 1444580: Move mExpandoAndGeneration back to nsDocument for now. r=smaug
...
MozReview-Commit-ID: EArKdxEoXaJ
2018-03-12 12:27:06 +01:00
Emilio Cobos Álvarez
a21c8d80eb
Bug 1444580: Devirtualize CanSavePresentation. r=smaug
...
MozReview-Commit-ID: LjBA4gM71ir
2018-03-12 12:27:05 +01:00
Emilio Cobos Álvarez
5c17dca08f
Bug 1444580: Devirtualize Sanitize. r=smaug
...
MozReview-Commit-ID: 4UMjAlqnRqu
2018-03-12 12:27:04 +01:00
Emilio Cobos Álvarez
c5d1876218
Bug 1444580: Devirtualize GetLayoutHistoryState. r=smaug
...
MozReview-Commit-ID: AsPFJdDGeUE
2018-03-12 12:27:02 +01:00
Emilio Cobos Álvarez
094ff568ce
Bug 1444580: Devirtualize WillDispatchMutationEvent / MutationEventDispatched. r=smaug
...
MozReview-Commit-ID: 4k2dEEah1FR
2018-03-12 12:27:00 +01:00
Emilio Cobos Álvarez
918097c54e
Bug 1444580: Remove reference to non-existing nsDocument::UpdateScreenOrientation. r=smaug
...
MozReview-Commit-ID: ABDg1WQSgzC
2018-03-12 12:26:58 +01:00
Emilio Cobos Álvarez
3888b4d73c
Bug 1444580: Devirtualize UnblockDOMContentLoaded. r=smaug
...
MozReview-Commit-ID: I7t9glmVE7q
2018-03-12 12:26:57 +01:00
Emilio Cobos Álvarez
b9d38b736d
Bug 1444580: Devirtualize frame loader stuff. r=smaug
...
MozReview-Commit-ID: As1MOpvoaI6
2018-03-12 12:26:55 +01:00
Emilio Cobos Álvarez
c8428d3e7e
Bug 1444580: Devirtualize FlushSkinBindings. r=smaug
...
MozReview-Commit-ID: 556Wpm4QZeM
2018-03-12 12:26:53 +01:00
Emilio Cobos Álvarez
6f4ed12e9c
Bug 1444580: Devirtualize NodesFromRectHelper. r=smaug
...
MozReview-Commit-ID: CbVY8ysExfi
2018-03-12 12:26:51 +01:00
Emilio Cobos Álvarez
e00ebeda6a
Bug 1444580: Move OnPageShow / OnPageHide to nsIDocument, devirtualize OnPageHide. r=smaug
...
MozReview-Commit-ID: HlOpJ8Rg9IG
2018-03-12 12:26:50 +01:00
Emilio Cobos Álvarez
b6a3264fba
Bug 1444580: Devirtualize CreateShell / DeleteShell. r=smaug
...
MozReview-Commit-ID: 9eC2IyQ4bEf
2018-03-12 12:26:48 +01:00
Emilio Cobos Álvarez
ea16720d46
Bug 1444580: Devirtualize GetChannel. r=smaug
...
MozReview-Commit-ID: CIavtPA3s10
2018-03-12 12:26:47 +01:00
Emilio Cobos Álvarez
6fe64ed9a5
Bug 1444580: Devirtualize pointer lock and screen orientation stuff. r=smaug
...
MozReview-Commit-ID: HzJcrHFCsOK
2018-03-12 12:26:46 +01:00
Emilio Cobos Álvarez
b7609d9cce
Bug 1444580: Devirtualize the external resource stuff. r=smaug
...
This one was non-trivial, required me to move around the definition of
ExternalResourceLoad and such.
Modulo that, and that I had to redefine nsSubDocEnumCb, the rest is just moving
code around.
MozReview-Commit-ID: E96XX8vo2D8
2018-03-12 12:26:43 +01:00