Nicholas Nethercote
cbac1e147a
Bug 1481998 - Change sJSObjWrappers initialization. r=luke
...
GCHashMap will shortly lose its initialized() function, so we need another way
to indicate whether this table has been created. This patch changes it to use a
pointer instead.
--HG--
extra : rebase_source : 05ce9f2938d1fc8373cbac77c0b3bd62633f93d8
2018-08-09 14:15:42 +10:00
Cosmin Sabou
ca86972424
Backed out 8 changesets (bug 1481009) for causing devtools crashes @XUL + 0x37bba19. a=backout
...
Backed out changeset 11ee868c5903 (bug 1481009)
Backed out changeset 4a0c7dd5e1ac (bug 1481009)
Backed out changeset 4e6908123a97 (bug 1481009)
Backed out changeset 6869ea5ebd32 (bug 1481009)
Backed out changeset 85eec9cfc3d9 (bug 1481009)
Backed out changeset f7f4127aa9d8 (bug 1481009)
Backed out changeset 58598aa3cf0c (bug 1481009)
Backed out changeset 1ec7f635f4f3 (bug 1481009)
2018-08-12 14:50:41 +03:00
Ciure Andrei
1c0025e0de
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-08-12 05:19:52 +03:00
Jean-Yves Avenard
f5fbe2c29b
Bug 1480190 - Enable media-capablities extension by default. r=drno,bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D3061
--HG--
extra : moz-landing-system : lando
2018-08-11 17:37:08 +00:00
Coroiu Cristina
c82bf65856
Backed out changeset 62e358f53fdd (bug 1480190) for mochitest failures at dom/workers/test/test_navigator.html
2018-08-11 12:53:27 +03:00
Jean-Yves Avenard
6e729aa19e
Bug 1480190 - Enable media-capablities extension by default. r=drno,bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D3061
--HG--
extra : moz-landing-system : lando
2018-08-11 09:04:25 +00:00
Brian Hackett
5484f6f04f
Bug 1481009 Part 8 - Remove unused RecordReplayFatalError message, r=froydnj.
...
--HG--
extra : rebase_source : 38ca1b32f80897713c099d74f4e4a029b631948d
2018-08-08 16:51:35 +00:00
Bogdan Tara
dfe849c923
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-08-11 06:46:31 +03:00
Bogdan Tara
b6dabcd8c5
Backed out changeset 485fdf8e37e8 (bug 1453153) for clipboard failures on test_findbar.xul CLOSED TREE
2018-08-11 03:21:43 +03:00
Olli Pettay
d4b83a4a08
bug 1481079, Shadow DOM hosts should be focusable, r=mrbkap
2018-08-11 02:58:23 +03:00
Bogdan Tara
2f2b719960
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-08-11 01:01:18 +03:00
Andrea Marchesini
04fcbb6556
Bug 1480131 - AntiTrackingCommon::IsFirstPartyStorageAccessGrantFor() should not grant permission to sub-sub-iframe channels; r=ehsan
2018-08-10 14:59:33 -04:00
Jean-Yves Avenard
f0a2a7c616
Bug 1482197 - P2. Make IsWebMEncoderEnabled usable off the main thread. r=bryce
...
It can be called on a worker.
Depends on D3054
Differential Revision: https://phabricator.services.mozilla.com/D3055
2018-08-10 19:02:03 +02:00
Jean-Yves Avenard
c8fdce3c1e
Bug 1482197 - P1. Fix variable name in MediaCapabilities. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D3054
2018-08-10 19:02:03 +02:00
Anny Gakhokidze
be49493caf
Bug 1453153 - Initial removal of moz* APIs in DataTransfer, r=enndeakin,nika
...
In DataTransfer, change mozItemCount, mozTypesAt, mozClearDataAt, mozSetDataAt,
mozGetDataAt APIs to be ChromeOnly.
MozReview-Commit-ID: 9uJ9ncrcBL2
2018-08-10 11:57:06 -04:00
Jeff Gilbert
8042ec3150
Bug 1482301 - Remove webgl.webgl2-compat-mode. r=kvark
...
Differential Revision: https://phabricator.services.mozilla.com/D3070
--HG--
extra : moz-landing-system : lando
2018-08-10 12:51:22 +00:00
Nico Grunbaum
11b40b9572
Bug 1455724 - add telemetry for legacy PeerConnection getStats API usage r=mjf
...
MozReview-Commit-ID: L17M2whvxpV
--HG--
extra : rebase_source : 2938839a5465348eb8e34855287093d6f184844d
2018-04-23 09:49:32 -07:00
Boris Zbarsky
4af64d8709
Bug 1479793. Throw when someone tries to define an accessor property with an integer name on a DOM proxy with an indexed setter. r=qdot,jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D2571
--HG--
extra : moz-landing-system : lando
2018-08-10 17:04:58 +00:00
Narcis Beleuzu
d9ee6ddde6
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-08-10 19:06:15 +03:00
Jan de Mooij
2b60db1326
Bug 1472976 part 3 - Use JS::GetRealmPrincipals instead of JS_GetCompartmentPrincipals in nsContentUtils::ObjectPrincipal. r=smaug
...
This also removes an outdated comment, nsScriptSecurityManager::doGetObjectPrincipal was removed in bug 1464374.
2018-08-10 11:57:39 +02:00
Jan de Mooij
dc6c0b33da
Bug 1472976 part 2 - Use the callback global instead of the callback in JSEventHandler::HandleEvent. r=smaug
...
The callback and the global here must be same-compartment, but the callback might be a CCW.
2018-08-10 11:57:39 +02:00
Jan de Mooij
d238731d5e
Bug 1472976 part 1 - Unwrap the object before getting its principal in CustomElementRegistry::IsCustomElementEnabled. r=smaug
2018-08-10 11:57:39 +02:00
Margareta Eliza Balazs
f617807241
Merge inbound to mozilla-central. a=merge
2018-08-10 12:17:09 +03:00
Anny Gakhokidze
b502cdad85
Bug 1479935 - Enable async clipboard readText and writeText APIs by default, r=nika
...
MozReview-Commit-ID: LpdRgQCnMNN
Differential Revision: https://phabricator.services.mozilla.com/D2858
--HG--
extra : moz-landing-system : lando
2018-08-07 20:39:32 +00:00
Thomas Wisniewski
d4606b265f
Bug 1070763 - Ensure that XHRs sniff the BOM for non-JSON responseTypes, and flush the decoder upon end-of-stream; r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D3063
--HG--
extra : moz-landing-system : lando
2018-08-10 06:38:01 +00:00
John Lin
c10cb88742
Bug 1480533 - drop frames with presentation time earlier than what's already output. r=jya
...
MediaCodec products out of order buffers for some Twitch (60fps)
streams. Detecting and discarding these frames asap to make the
buffers available to codec sooner, reducing the chances of
starvation.
Differential Revision: https://phabricator.services.mozilla.com/D2977
--HG--
extra : moz-landing-system : lando
2018-08-09 16:29:51 +00:00
Noemi Erli
125e35c2c4
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-08-10 00:35:08 +03:00
Noemi Erli
de9e45a850
Merge inbound to mozilla-central. a=merge
2018-08-10 00:31:09 +03:00
Tiberius Oros
fae00acf70
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-08-09 13:06:13 +03:00
Tiberius Oros
aff5d4ad5d
Merge inbound to mozilla-central. a=merge
2018-08-09 13:02:05 +03:00
Emilio Cobos Álvarez
1fbd784d00
Bug 1481601 - Remove now-useless aPreallocateChildren from nsINode::Clone() and friends. r=bzbarsky
...
Since sed on multiple lines ended up being such a pain and I didn't end up
writing a script for this because I didn't think it'd end up being so boring, I
may have made a couple cleanups here and there as well...
Differential Revision: https://phabricator.services.mozilla.com/D2887
--HG--
extra : moz-landing-system : lando
2018-08-08 23:58:44 +00:00
Tom Tung
8c51efc4db
Bug 1481753: Remove redundant lines for flipping the flag and checking the storage limits. r=janv
...
Tags: #secure-revision
Differential Revision: https://phabricator.services.mozilla.com/D2937
--HG--
extra : rebase_source : c2cce729d205dc61ce41b9540db1784813dc44c1
2018-08-08 15:43:46 +02:00
Matt Woodrow
0ea228cfd7
Bug 1480695 - Add telemetry to record how frequently we encounter a cross-origin <iframe> within a filter. r=mstange,Nika
2018-08-09 16:30:39 +12:00
Coroiu Cristina
aca41ab710
Backed out changeset a18c257cf35d (bug 1480695) for build bustage at build/src/obj-firefox/dist/include/nsDisplayList.h
2018-08-09 07:49:46 +03:00
Matt Woodrow
6e927e7e6d
Bug 1480695 - Add telemetry to record how frequently we encounter a cross-origin <iframe> within a filter. r=mstange,Nika
2018-08-09 16:30:39 +12:00
Dorel Luca
5ef9c6f716
Backed out changeset e8023a02b6c2 (bug 1478909) on dev's request
2018-08-09 04:58:04 +03:00
Jeff Gilbert
8e0436b208
Bug 1478909 - Make funcName implicit for WebGL calls. - r=kvark
...
MozReview-Commit-ID: Gv77SnHZcGb
2018-08-08 16:15:12 -07:00
Daniel Varga
31ff8cd9c8
Merge mozilla-central to mozilla inbound. a=merge
2018-08-09 01:10:56 +03:00
Mike Hommey
6d197a0707
Bug 1481719 - Disable profile-instr-out-of-date warnings explicitly rather than allowing all warnings where they appear. r=dmajor
2018-08-09 06:07:33 +09:00
Jan de Mooij
b8dcfab3e5
Bug 1480678 part 13 - Use JS_WrapValue in IntlUtils::{GetDisplayNames,GetLocaleInfo} instead of switching realms. r=kmag
2018-08-09 10:48:29 +02:00
Jan de Mooij
0090285015
Bug 1480678 part 12 - Do a CheckedUnwrap in AudioContext::DecodeAudioData to ensure we don't have a CCW. r=bz
...
Note that right now aBuffer.Obj() will never be a cross-compartment wrapper anyway, because that can only happen when we're calling a WebIDL constructor, and this is not a constructor.
2018-08-09 10:48:29 +02:00
Jan de Mooij
2c9cefda61
Bug 1480678 part 11 - Wrap the typed array in the current compartment instead of entering its realm in WriteStructuredCloneImageData. r=bz
...
This is also better security-wise: if we're writing the structured clone in some compartment that shouldn't have access to the underlying data of the ImageData, we shouldn't be giving that access here.
2018-08-09 10:48:29 +02:00
Jan de Mooij
729eb9343a
Bug 1480678 part 10 - Remove unnecessary realm entering in TCPSocket::Send. r=bz
2018-08-09 10:48:29 +02:00
Csoregi Natalia
0ed25650ef
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-08-08 13:02:49 +03:00
Csoregi Natalia
0f4d50ff52
Merge inbound to mozilla-central. a=merge
2018-08-08 12:58:36 +03:00
Andrea Marchesini
7786b357e9
Bug 1480179 - Fix the traverse() of MediaQueryList in nsDocument, r=smaug
2018-08-08 08:22:37 +02:00
Alex Gaynor
8f9e8a51b2
Bug 1446509 - added final versions of macro for declaring AddRef and Decref; r=froydnj
...
Also make use of them in a few places.
Differential Revision: https://phabricator.services.mozilla.com/D2678
--HG--
extra : moz-landing-system : lando
2018-08-07 18:25:49 +00:00
Jean-Yves Avenard
c80c137b83
Bug 1482116 - Only schedule update when a track exists. r=bryce
...
Add assertion to more easily catch the problem
Differential Revision: https://phabricator.services.mozilla.com/D3018
--HG--
extra : moz-landing-system : lando
2018-08-09 16:24:33 +00:00
Brad Werth
44d7185986
Bug 1479508 Part 3: Update test expectations. r=bz
...
MozReview-Commit-ID: Haf4LTUwDOc
--HG--
extra : rebase_source : 22825ceb86772a233a9ff9bd67fcddb6e557cee8
2018-08-01 16:02:57 -07:00
Brad Werth
eea863c791
Bug 1479508 Part 2: Change GetElementsWithGrid to use a more conservative traversal that skips subtrees without frames. r=bz
...
MozReview-Commit-ID: 1hTQD8LoLQw
--HG--
extra : rebase_source : e8651e1a78818a25c98cc34db2ac217756596666
2018-08-01 15:33:06 -07:00