Commit Graph

81201 Commits

Author SHA1 Message Date
James Willcox
61ca9441b1 Bug 1525959 - Skip some mochitests tests under GeckoView r=geckoview-reviewers,esawin
There are few things that are either Fennec-specific or don't work
currently under GeckoView w/ e10s under TestRunnerActivity. Disable
these so we can get some testing going in automation.

This also replaces 'isFennec' with the more correct 'is_fennec'.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 15:01:43 +00:00
Byron Campen [:bwc]
2d43d13a39 Bug 1528323 - Part 3: Fix a mochitest that was abandoning its promises, and not noticing exceptions as a result. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D21016

--HG--
extra : moz-landing-system : lando
2019-02-25 15:11:01 +00:00
Byron Campen [:bwc]
66307d2978 Bug 1528323 - Part 2: Mark some wpt as passing, and fix some others. Also fix a mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D19985

--HG--
extra : moz-landing-system : lando
2019-02-25 14:53:03 +00:00
Byron Campen [:bwc]
d5bcd560b9 Bug 1528323 - Part 1.1: Fix bug in _queueWithClosedCheck where |this| did not refer to the PeerConnection. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D21015

--HG--
extra : moz-landing-system : lando
2019-02-25 15:08:35 +00:00
Byron Campen [:bwc]
d79320592d Bug 1528323 - Part 1: Bring replaceTrack up to spec in terms of async and timing. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D19984

--HG--
extra : moz-landing-system : lando
2019-02-25 17:07:46 +00:00
Jan de Mooij
04b4451e76 Bug 1521906 part 3 - Remove an unnecessary CheckedUnwrap call in JSWindowActorService::ReceiveMessage. r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D21353

--HG--
extra : moz-landing-system : lando
2019-02-27 14:38:24 +00:00
Johann Hofmann
3adfbd0ce8 Bug 1429432 - Require Secure Context for Notifications. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21001

--HG--
extra : moz-landing-system : lando
2019-02-27 10:55:38 +00:00
Dorel Luca
cde6aa9ebe Backed out 2 changesets (bug 1335740) for devtools failures. CLOSED TREE
Backed out changeset 1bddabb7bafb (bug 1335740)
Backed out changeset e31483efc331 (bug 1335740)

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html
extra : rebase_source : e6fc9bc5fc3eac450e65d6ff38b672b01a4cbe5d
2019-02-27 12:00:27 +02:00
Jan-Ivar Bruaroey
5739f01e2d Bug 1335740 - Update wpt & mochitests to work w/[SecureContext] navigator.mediaDevices. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D20425

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html
extra : moz-landing-system : lando
2019-02-27 03:51:14 +00:00
Jan-Ivar Bruaroey
1901f71c69 Bug 1335740 - getUserMedia() NotAllowedError in http (pref'd on), & [SecureContext] navigator.mediaDevices (pref'd off) r=bzbarsky,pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D19549

--HG--
extra : moz-landing-system : lando
2019-02-27 03:51:07 +00:00
Shane Caraveo
e87907f739 Bug 1521596 expose private browsing flag in nsIRemoteWindowContext r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D20872

--HG--
extra : moz-landing-system : lando
2019-02-27 01:46:07 +00:00
Gurzau Raul
8b285d0a8f Backed out changeset 279a75b5a6d4 (bug 1429432) for failing at test_notification_insecure_context.html on a CLOSED TREE. 2019-02-27 03:25:08 +02:00
Johann Hofmann
a56953c8cc Bug 1429432 - Require Secure Context for Notifications. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21001

--HG--
extra : moz-landing-system : lando
2019-02-26 22:37:22 +00:00
Ehsan Akhgari
45c7ece733 Bug 1530076 - Part 1: Add support for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers; r=valentin
This is more complex than merely modifying NS_GetDefaultReferrerPolicy()
because at the time most (all?) callers call nsIHttpChannel::SetReferrer/
nsIHttpChannel::SetReferrerWithPolicy before the channel is opened,
which means we won't know whether the channel is a tracking resource or
not yet.  So we would need to re-evaluate this decision after that
information becomes available.  For that, we need to remember the
original URI argument passed to these functions since that information
is currently destroyed and isn't persisted anywhere in the system.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 21:30:27 +00:00
Jean-Yves Avenard
dc992b8658 Bug 1530322 - Abort trim if an overflow occurred during earlier time calculation. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D21209

--HG--
extra : moz-landing-system : lando
2019-02-26 17:32:54 +00:00
Gurzau Raul
ad9b9545b4 Backed out 3 changesets (bug 1507991) for bustages at DBSchema.cpp on a CLOSED TREE.
Backed out changeset 71c093a6dace (bug 1507991)
Backed out changeset 15116b423375 (bug 1507991)
Backed out changeset a483c170d712 (bug 1507991)
2019-02-26 22:56:42 +02:00
Alastor Wu
1caaa8a882 Bug 1525156 - part2 : Add Telemetry to know how many autoplay media, which has been resumed from blocked, played exactly 7 secocnds or more, or less than 7 seconds. r=cpearce,janerik
By adding the Telemetry to measure the number of video/audio which played exactly 7 seconds or more, or less than 7 seconds, after those media has been resumed from blocked state, we can know how many media would meet the Chrome's MEI condition, which could help us to know more about the whole landscape of autoplay media.

In addition, it could help us know how many media are played 'by users intention' because we assume that users are more likely to stop the media if autoplay media is unblocked by accident.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 04:44:19 +00:00
Alastor Wu
2607aaaa8d Bug 1525156 - part1 : not dispatch event when play is rejected by AudioChannelAgent. r=cpearce
"blocked" event is used for blocking autoplay. The `AudioChannelAgentBlockedPlay()` returns true when we lost audio focus on Android, so actually we don't need to dispatch "blocked" event.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:52:57 +00:00
Nika Layzell
3a34217e76 Bug 1507991 - Part 3: Serialize nsIPrincipal using PrincipalInfo, r=baku
Depends on D20854

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

--HG--
extra : moz-landing-system : lando
2019-02-26 15:49:34 +00:00
Nika Layzell
e1231c52dd Bug 1507991 - Part 2: Serialize domain in ContentPrincipalInfo, r=baku
This is needed to maintain full feature parity with the existing
nsIPrincipal serializer while switching to using the PrincipalInfo-based
one.

Depends on D20853

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

--HG--
extra : moz-landing-system : lando
2019-02-26 15:48:00 +00:00
Nika Layzell
cc951d5b97 Bug 1507991 - Part 1: Use IPDLParamTraits for nsIPrincipal, r=mccr8
This is needed to use the IPDLParamTraits implementation for nsIURI which is
used in part 2 of this patch series.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 19:13:31 +00:00
Gurzau Raul
a12ddd1865 Backed out 11 changesets (bug 1525245) for failing at test_cookies_thirdparty.js on a CLOSED TREE.
Backed out changeset 1dcb31a1d5be (bug 1525245)
Backed out changeset 4cde0e38ada8 (bug 1525245)
Backed out changeset d3e99dd3fc32 (bug 1525245)
Backed out changeset a565014fdd8d (bug 1525245)
Backed out changeset 20f336320ce1 (bug 1525245)
Backed out changeset d8ee13b6a17d (bug 1525245)
Backed out changeset b79ec111bf41 (bug 1525245)
Backed out changeset 858d08371107 (bug 1525245)
Backed out changeset 1c359cdcf69f (bug 1525245)
Backed out changeset d65fb2d2a243 (bug 1525245)
Backed out changeset 28147c8790d3 (bug 1525245)
2019-02-26 22:09:25 +02:00
Andrea Marchesini
fc669b1e23 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 11 - windows/workers/documents must keep the current cookie settings and ignore changes, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18960

--HG--
extra : moz-landing-system : lando
2019-02-26 17:43:58 +00:00
Andrea Marchesini
046b1ecf1b Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 10 - Fix existing tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18958

--HG--
extra : moz-landing-system : lando
2019-02-26 17:44:02 +00:00
Andrea Marchesini
084ddbbf6d Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 5 - BroadcastChannel must be blocked when cookie jar access is denied to avoid communication between live and new documents, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18953

--HG--
extra : moz-landing-system : lando
2019-02-26 17:37:46 +00:00
Andrea Marchesini
fb5f7aa619 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 3 - LocalStorage and SessionStorage, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D18951

--HG--
extra : moz-landing-system : lando
2019-02-26 17:35:49 +00:00
Andrea Marchesini
309c007d8d Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D18949

--HG--
extra : moz-landing-system : lando
2019-02-26 17:34:36 +00:00
Boris Zbarsky
1c296d2bfb Bug 1530292. Fix crash when cross-compartment WindowProxy is used as RHS of instanceof. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D21035

--HG--
extra : moz-landing-system : lando
2019-02-26 08:50:20 +00:00
shindli
c442603050 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-26 18:58:45 +02:00
shindli
2869f9215c Merge inbound to mozilla-central. a=merge 2019-02-26 18:54:03 +02:00
shindli
c780ef516c Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-26 12:20:22 +02:00
Tom Schuster
4d90baf832 Bug 1529939 - Remove JSVAL_TYPE_MISSING. r=bzbarsky,jandem
Differential Revision: https://phabricator.services.mozilla.com/D20936

--HG--
extra : moz-landing-system : lando
2019-02-26 08:48:01 +00:00
Andrea Marchesini
e5f9055504 Bug 1508996 - Change Response's statusText's default, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D21026

--HG--
extra : moz-landing-system : lando
2019-02-26 03:56:08 +00:00
Noemi Erli
a77604a5e8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-26 05:57:14 +02:00
Noemi Erli
92db37a618 Merge inbound to mozilla-central. a=merge 2019-02-26 05:53:25 +02:00
Jeff Gilbert
0005243e88 Bug 1525857 - Add release asserts for pre-crash cases. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D21145

--HG--
extra : moz-landing-system : lando
2019-02-26 02:54:08 +00:00
Nathan Froyd
e4a1cd2df1 Bug 1530369 - part 3 - do less copying in generateTokens; r=ckerschb
We don't need to copy `dirAndSrcs` when appending it to `outTokens`, and
we can reasonably retain the storage we've built up in `dirSrcs`, so we
don't continually reallocate it.
2019-02-25 13:58:53 -05:00
Nathan Froyd
ef665544c6 Bug 1530369 - part 2 - bulk-append characters in generateNextToken; r=ckerschb
Instead of appending each individual charater, we can delay the append
until after the loop, which saves on function calls.
2019-02-25 13:58:53 -05:00
Nathan Froyd
63e3631fcc Bug 1530369 - part 1 - don't needlessly write characters when skipping; r=ckerschb
The skipWhiteSpace* family of functions write the characters they're
skipping, only to truncate the string after skipping.  This appending is
needless work, so let's skip it.
2019-02-25 13:58:54 -05:00
Jean-Yves Avenard
c11d80eb43 Bug 1530137 - Fix left out dom namespace references in tasks. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D20940

--HG--
extra : moz-landing-system : lando
2019-02-25 16:29:06 +00:00
Byron Campen [:bwc]
e1a33816af Bug 1521879 - Part 7: Create new CI jobs for media mochitests with socket process enabled. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D17942

--HG--
extra : moz-landing-system : lando
2019-02-25 21:52:13 +00:00
Byron Campen [:bwc]
82599ca5ef Bug 1521879 - Part 5: Update IPC serialize/deserialize code for RTP stream stats to match what is in the dictionaries. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D17278

--HG--
extra : moz-landing-system : lando
2019-02-25 21:51:48 +00:00
Byron Campen [:bwc]
301b677d31 Bug 1521879 - Part 3: Get --disable-webrtc builds working. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17275

--HG--
extra : moz-landing-system : lando
2019-02-25 21:51:23 +00:00
Byron Campen [:bwc]
25ad4a9108 Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19975

--HG--
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.h => dom/media/webrtc/MediaTransportParent.h
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.cpp => media/webrtc/signaling/src/peerconnection/MediaTransportParent.cpp
extra : moz-landing-system : lando
2019-02-25 21:50:58 +00:00
Byron Campen [:bwc]
8b6cc6a51f Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17273

--HG--
extra : moz-landing-system : lando
2019-02-25 21:50:42 +00:00
Noemi Erli
7e23372938 Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
extra : rebase_source : de8796d5d7d7079af1b895a2f537371885f8cc6c
2019-02-26 00:09:40 +02:00
Nathan Froyd
355ac9a7a0 Bug 1529942 - part 2 - move OptionalLoadInfoArgs consumption into Init; r=qdot
Init is called from a Recv* method in ContentParent, where we can
consume rvalue reference OptionalLoadInfoArgs.
2019-02-25 13:13:43 -05:00
Nathan Froyd
f71c238411 Bug 1529942 - part 1 - move initialization of ExternalHelperAppParent into Recv*; r=qdot
Alloc methods can't take arguments by move reference, whereas Recv
methods can, and we'd like to take OptionalLoadInfoArgs (at least) by
move reference.  Since Init is infallible anyway, it doesn't really
matter where we do it, so move it to this separate method to pave the
way for rvalue reference OptionalLoadInfoArgs.
2019-02-25 13:13:43 -05:00
Nathan Froyd
ac968578cf Bug 1529942 - part 0 - remove unused ContentParent argument from ExternalHelperAppParent::Init; r=qdot 2019-02-25 13:13:43 -05:00
Oana Pop Rus
f4b7b652c4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-25 18:52:42 +02:00