Граф коммитов

83381 Коммитов

Автор SHA1 Сообщение Дата
Mihai Alexandru Michis e7d9a87493 Merge mozilla-inbound to mozilla-central a=merge 2019-05-06 12:49:43 +03:00
Paul Bone d3857d4888 Bug 1532838 - Add a pref for the minimum nursery size r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D29815

--HG--
extra : moz-landing-system : lando
2019-05-06 03:14:22 +00:00
Paul Bone 6eabff94c7 Bug 1532838 - Use correct units in a preference name r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D29814

--HG--
extra : moz-landing-system : lando
2019-05-06 03:13:51 +00:00
Frederik Braun 18a04317f0 Bug 1548773: Remove support for typemustmatch r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D29803

--HG--
extra : moz-landing-system : lando
2019-05-05 14:41:59 +00:00
Liang-Heng Chen 784cd8785e Bug 1544598 - Part 1: use hash to record origin telemetry; r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29357

--HG--
extra : moz-landing-system : lando
2019-05-03 15:37:14 +00:00
Coroiu Cristina 7bb82fa0dc Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-05-06 00:42:50 +03:00
Coroiu Cristina 6f634e87e9 Merge inbound to mozilla-central a=merge on a CLOSED TREE 2019-05-06 00:38:28 +03:00
Coroiu Cristina 79b11a1ca9 Merge autoland to mozilla-central a=merge on a CLOSED TREE
--HG--
extra : amend_source : 787c174982a4fc831ece91fc26fbb95e3b37210a
2019-05-05 23:04:20 +03:00
Cosmin Sabou 58c0da101a Backed out changeset 03166449953f (bug 1539759) on request from past for causing bug 1548990. CLOSED TREE 2019-05-04 11:02:30 +03:00
Nico Grunbaum 705743fb99 Bug 1528078 - Adding WebRTC device access and deprecated interface telemetry r=jib,smaug
Adding telemetry for gUM, enumerate devices, and mozRTCPeerConnection

Differential Revision: https://phabricator.services.mozilla.com/D23103

--HG--
extra : moz-landing-system : lando
2019-05-03 23:50:22 +00:00
Mihai Alexandru Michis e329bc4d67 Merge mozilla central to mozilla inbound on a CLOSED TREE 2019-05-04 01:00:29 +03:00
John Dai 6678ca2e42 Bug 1539147 - Part 2: Refactor WindowGlobalParent and WindowGlobalChild; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D29427

--HG--
extra : moz-landing-system : lando
2019-05-03 18:12:55 +00:00
John Dai b1a4a95f94 Bug 1539147 - Part 1: Remove unused function; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D29426

--HG--
extra : moz-landing-system : lando
2019-05-03 18:10:47 +00:00
Jan Varga 827b401e30 Bug 1513915 - Followup patch to increase requesttimeoutfactor for test_snapshotting.js; r=asuth 2019-05-03 18:10:11 +02:00
Olli Pettay e217c0e5c8 Bug 1548827, let CC to run sooner after GC, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D29864

--HG--
extra : moz-landing-system : lando
2019-05-03 18:44:14 +00:00
Byron Campen [:bwc] 622f5f795e Bug 1531910: Re-enable a test-case, and check protocol length based on UTF-8 encoding. r=jib
Depends on D28252

Differential Revision: https://phabricator.services.mozilla.com/D28556

--HG--
extra : moz-landing-system : lando
2019-05-03 19:08:25 +00:00
Andreea Pavel e2388edd9f Backed out 7 changesets (bug 1540573) for causing bug 1548441
Backed out changeset dd882b8cd73e (bug 1540573)
Backed out changeset b10d2cae45f2 (bug 1540573)
Backed out changeset 270a8917377f (bug 1540573)
Backed out changeset 3db059b34e40 (bug 1540573)
Backed out changeset fe196b2dfc62 (bug 1540573)
Backed out changeset 1bde5042e507 (bug 1540573)
Backed out changeset 4ff116b9d729 (bug 1540573)
2019-05-03 20:35:27 +03:00
Andrea Marchesini 360fec5787 Bug 1542170 - Expose http channel Id to WebSocketEvent listeners, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D28865

--HG--
extra : moz-landing-system : lando
2019-05-03 17:25:44 +00:00
Andrea Marchesini d179c5015e Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:47 +00:00
Andrea Marchesini f8565bf748 Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:17 +00:00
Geoff Brown 0f0beaf249 Bug 1546553 - Disable some xpcshell tests on Android x86_64; r=jmaher
These tests need to be disabled to get a green run on the Android x86_64
test platform. The failures in toolkit/components/extensions are
concerning and definitely require follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D29843

--HG--
extra : moz-landing-system : lando
2019-05-03 16:50:15 +00:00
Zibi Braniecki 28c31b907a Bug 1548798 - Switch SequenceRooter, RecordRooter and RootedUnion to use RootedContext. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D29810

--HG--
extra : moz-landing-system : lando
2019-05-03 16:07:21 +00:00
Dorel Luca edcc375f36 Backed out 2 changesets (bug 1539147) for Build bustage in builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/WindowGlobalActor.h. CLOSED TREE
Backed out changeset 366f29cc8ce7 (bug 1539147)
Backed out changeset 5fa4ae41da87 (bug 1539147)
2019-05-03 18:55:51 +03:00
Dorel Luca 926056ac66 Backed out changeset beae0db3529d (bug 1531910) for WPT failures in webrtc/RTCPeerConnection-createDataChannel.html 2019-05-03 18:37:07 +03:00
John Dai 1050f322ac Bug 1539147 - Part 2: Refactor WindowGlobalParent and WindowGlobalChild; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D29427

--HG--
extra : moz-landing-system : lando
2019-05-03 15:31:04 +00:00
John Dai cc389b0887 Bug 1539147 - Part 1: Remove unused function; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D29426

--HG--
extra : moz-landing-system : lando
2019-05-03 15:30:57 +00:00
Boris Zbarsky 6430c24e0a Bug 1548625 part 2. Get rid of some ExposeObjectToActiveJS calls in DOM code. r=mccr8,jonco
The call in VRFrameData::LazyCreateMatrix is not needed because
aRetval.set(aArray) ends up calling into Heap::get() which does a read barrier
and exposes.

The call in nsXULPrototypeScript::Compile is not needed because initializing
the AutoJSAPI will guarantee that the global of the Realm it enters, which is
what we're examining here, will be exposed.

The call in Promise's CreateNativeHandlerFunction is not needed because the
object being passed in was always just-created into a stack Rooted.

The call in MIDIMessageEvent::GetData is not needed because it's always working
with a just-created object.  Also, mData is a Heap, so there will be a read
barrier anyway before anyone gets at the value.

The call in PrototypeDocumentContentSink::ExecuteScript is not needed because
the AutoEntryScript will guarantee that the global of the Realm it enters is
exposed.  And the JSAutoRealm is not needed either, because we're in that Realm
already.

Differential Revision: https://phabricator.services.mozilla.com/D29720

--HG--
extra : moz-landing-system : lando
2019-05-03 10:09:11 +00:00
Boris Zbarsky 6f29e8d383 Bug 1548625 part 1. Get rid of some ExposeObjectToActiveJS calls in nsGlobalWindowOuter. r=mccr8,jonco
We store newInnerGlobal in a Rooted, so as long as we expose on all codepaths
that assign to that variable (which with this patch we do, typically via
GetWrapper() calls), there's no need to expose explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D29718

--HG--
extra : moz-landing-system : lando
2019-05-03 10:08:20 +00:00
Boris Zbarsky e6c83d06e3 Bug 1548613. Get rid of FastGetGlobalJSObject. r=mccr8,jonco
Marking GetGlobalJSObject and GetGlobalJSObjectPreserveColor final and inline
on inner/outer windows allows compilers to de-virtualize and inline them, which
makes them just as fast as calling FastGetGlobalJSObject is now (in the case of
GetGlobalJSObjectPreserveColor; GetGlobalJSObject has to do the gray-unmarking,
which is a bit more work).

In WindowDestroyedEvent::Run we want to switch to GetGlobalJSObject(), because
we want to root the object and hence should unmark gray.

In nsGlobalWindowInner::RunTimeoutHandler we likewise want to unmark gray.  The
AutoEntryScript constructor likely did that already, but it's not that
expensive when it doesn't need to do any work.

Differential Revision: https://phabricator.services.mozilla.com/D29711

--HG--
extra : moz-landing-system : lando
2019-05-03 10:08:07 +00:00
Boris Zbarsky 517a6ebdd7 Bug 1547923 part 6. Make nsIGlobalObject::GetGlobalJSObject always expose to active JS. r=mccr8
See callsite audit in https://bugzilla.mozilla.org/attachment.cgi?id=9061976
for details on why the remaining GetGlobalJSObject callers should switch to the
"always expose" behavior.

Differential Revision: https://phabricator.services.mozilla.com/D29707

--HG--
extra : moz-landing-system : lando
2019-05-02 21:36:15 +00:00
Boris Zbarsky 356eb6dfd9 Bug 1547923 part 5. Start using nsIGlobalObject::GetGlobalJSObjectPreserveColor where possible. r=mccr8,jonco
Differential Revision: https://phabricator.services.mozilla.com/D29706

--HG--
extra : moz-landing-system : lando
2019-05-03 15:15:31 +00:00
Boris Zbarsky ff72e84ac1 Bug 1547923 part 4. Add nsIGlobalObject::HasJSGlobal(). r=mccr8
Consumers that just care about this boolean state should use this instead of
getting the JSObject* directly.

Differential Revision: https://phabricator.services.mozilla.com/D29705

--HG--
extra : moz-landing-system : lando
2019-05-02 21:32:17 +00:00
Boris Zbarsky 5c1d789bfa Bug 1547923 part 3. Add nsIGlobalObject::GetGlobalJSObjectPreserveColor(). r=mccr8
This can be used in things like assertions or some other rare circumstances
where not exposing the object to active JS is OK.

Differential Revision: https://phabricator.services.mozilla.com/D29704

--HG--
extra : moz-landing-system : lando
2019-05-02 21:23:35 +00:00
Boris Zbarsky 1f3596354d Bug 1547923 part 2. Remove Promise::GlobalJSObject. r=mccr8
Promise::Compartment is unused.

The callers that want to call AutoJSAPI::Init can pass it an nsIGlobalObject,
which is actually _more_ efficient, since passing a JSObject just gets an
nsIGlobalObject from it and passes that.

Differential Revision: https://phabricator.services.mozilla.com/D29703

--HG--
extra : moz-landing-system : lando
2019-05-02 18:38:04 +00:00
Boris Zbarsky 248fcf067d Bug 1547923 part 1. Remove unused callers of GetGlobalJSObject. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D29702

--HG--
extra : moz-landing-system : lando
2019-05-02 18:37:52 +00:00
Bryce Van Dyk e6ea35d315 Bug 1533211 - Remove assertion for if MP4 sample description index is invalid. r=jya
It's possible for a malformed mp4 to contain invalid sample description index in
fragments, that do not reference any sample description entries found in the
header. E.g. the header may contain 2 sample description entries (which should
be indexed with indices 1 and 2), but for a fragment to contain an index to 4.
Instead of asserting in this case we should gracefully fail.

Bug 1547328 plans to add logging for this case, so we have a means to still
detect failures here from bad files.

Depends on D29733

Differential Revision: https://phabricator.services.mozilla.com/D29734

--HG--
extra : moz-landing-system : lando
2019-05-03 00:38:10 +00:00
Bryce Van Dyk 910dd0ad38 Bug 1533211 - Add crashtest for MP4 with a bad sample description index. r=jya
Add an mp4 with a bad sample description index to crashtests. When samples in a
fragment are encountered, they should reference a sample description entry found
in the mp4 header. However, it's possible that the index contained in the
fragment may refer to an entry that doesn't exist in the header, as in this
file.

Differential Revision: https://phabricator.services.mozilla.com/D29733

--HG--
extra : moz-landing-system : lando
2019-05-03 00:38:28 +00:00
Michael Froman dbe06dee04 Bug 1548686 - only add RemoteDecoderModule in CreatePDMs if e10s. r=jya
This can cause 1proc tests to fail because no decoder ends up supporting
a format.  The particular case was enabling Vorbis decoding on RDD.

Differential Revision: https://phabricator.services.mozilla.com/D29766

--HG--
extra : moz-landing-system : lando
2019-05-03 00:35:15 +00:00
Michael Froman 9b57c4ac82 Bug 1548113 - pass mEOS from MediaRawData to remote decoder. r=jya
Lack of mEOS for decoding Vorbis on RDD was causing a mochitest failure
with file spacestorm-1000Hz-100ms.ogg in dom/media/test/test_playback.html.
The symptom was an incorrect frame count here[1].

[1] https://searchfox.org/mozilla-central/rev/b59a99943de4dd314bae4e44ab43ce7687ccbbec/dom/media/platforms/agnostic/VorbisDecoder.cpp#178

Differential Revision: https://phabricator.services.mozilla.com/D29756

--HG--
extra : moz-landing-system : lando
2019-05-03 00:36:19 +00:00
Bryce Van Dyk db3021c25c Bug 1533215 - Remove assert that can be triggered by malformed MP4. r=jya
The assert removed here can be triggered by malformed mp4s that lack certain
crypto info (the sinf box), but that still indicate samples are encrypted via
sample description entries.

I plan to follow up the removal here by adding logs so we have some way to
detect this case. This will be done as part of bug 1547328.

Depends on D29692

Differential Revision: https://phabricator.services.mozilla.com/D29693

--HG--
extra : moz-landing-system : lando
2019-05-03 00:48:45 +00:00
Bryce Van Dyk be7276c15c Bug 1533215 - Add crashtest for MP4 with encrypted track with bad sinf. r=jya
Add an mp4 with a mangled tenc box to the crashtests. This file has been fuzzed
and appears to have had the tenc box for its second track changed to a '.enc'
box, which means it cannot be parsed. The tenc box is contained in the sinf box,
so this will bust the sinf parse. We should tolerate such bad files and not
assert and/or crash.

Driveby add a comment to another line in crashtests list to make it clear the
bug the file originally relates to.

Differential Revision: https://phabricator.services.mozilla.com/D29692

--HG--
extra : moz-landing-system : lando
2019-05-03 00:49:13 +00:00
Nika Layzell cb46ce1db3 Bug 1546806 - Bump requestLongerTimeout value, r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D29776

--HG--
extra : moz-landing-system : lando
2019-05-03 09:07:25 +00:00
Byron Campen [:bwc] 17a80eda9c Bug 1531910: Re-enable a test-case, and check protocol length based on UTF-8 encoding. r=jib
Depends on D28252

Differential Revision: https://phabricator.services.mozilla.com/D28556

--HG--
extra : moz-landing-system : lando
2019-05-02 18:27:53 +00:00
Dorel Luca 1b163e4dfb Merge mozilla-central to autoland. CLOSED TREE 2019-05-03 16:09:46 +03:00
Dorel Luca 38b93d753b Merge mozilla-inbound to mozilla-central. a=merge 2019-05-03 16:01:03 +03:00
Gijs Kruitbosch c1c14ab7ad Bug 1539759 - improve DTD entity handling, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D27904

--HG--
extra : moz-landing-system : lando
2019-05-03 09:13:58 +00:00
Daniel Varga bf77e2d7ed Backed out 7 changesets (bug 1392408) for mochitest failures at test_xhr_withCredentials.html and xpcshell failures at test_startup_(no)session_async.js
Backed out changeset 05656abf3e6c (bug 1392408)
Backed out changeset ac9c08f90cd0 (bug 1392408)
Backed out changeset 855b8dd227f9 (bug 1392408)
Backed out changeset 9c3b9f800a0c (bug 1392408)
Backed out changeset 2a64ecfab240 (bug 1392408)
Backed out changeset b765eaf69bcb (bug 1392408)
Backed out changeset 337d93c03c2e (bug 1392408)
2019-05-03 11:56:25 +03:00
Jan-Ivar Bruaroey 2a2f7640e3 Bug 1407415 - Add a CamerasParent shutdown blocker. r=dminor,asuth
Differential Revision: https://phabricator.services.mozilla.com/D29701

--HG--
extra : moz-landing-system : lando
2019-05-03 21:08:45 +00:00
Jan-Ivar Bruaroey e52e8837ef Bug 1407415 - Consolidate media::GetShutdownBarrier() use and return a RefPtr r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D29700

--HG--
extra : moz-landing-system : lando
2019-05-03 21:08:42 +00:00
Jan-Ivar Bruaroey 2a825b2d8a Bug 1407415 - Add a using statement to reduce word wrapping. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D29699

--HG--
extra : moz-landing-system : lando
2019-05-03 21:08:40 +00:00