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

81425 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 5eb7746a81 Bug 1532414 - Pass a document/principal pointer to nsContentUtils::ShouldResistFingerprinting() callers in the canvas API; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D22002

--HG--
extra : moz-landing-system : lando
2019-03-05 12:42:51 +00:00
Ehsan Akhgari c2111e147b Bug 1532411 - Pass a document pointer to nsContentUtils::ShouldResistFingerprinting() callers in the gamepad API; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D21996

--HG--
extra : moz-landing-system : lando
2019-03-05 12:42:51 +00:00
Brindusan Cristian b1a6b274b6 Backed out 6 changesets (bug 1525662, bug 1501665) for geckoview failures at org.mozilla.geckoview.test.NavigationDelegateTest.loadData_noMimeType. CLOSED TREE
Backed out changeset 1fa7091b4b4e (bug 1525662)
Backed out changeset 32249c69fee9 (bug 1525662)
Backed out changeset aaa8fbdbbe48 (bug 1525662)
Backed out changeset f07e25fac5b2 (bug 1525662)
Backed out changeset a8ec11730706 (bug 1525662)
Backed out changeset 159753062cfa (bug 1501665)
2019-03-05 23:42:55 +02:00
Brindusan Cristian 8a1c4fbd47 Backed out 4 changesets (bug 1530550, bug 1529684) for bc crashes at [@ mozilla::dom::BrowsingContext::Detach(bool)]. CLOSED TREE
Backed out changeset 289c2b4126c9 (bug 1530550)
Backed out changeset 9f3e65f6b1dd (bug 1529684)
Backed out changeset 257d45117af3 (bug 1529684)
Backed out changeset 7f2bda80e479 (bug 1529684)
2019-03-05 23:11:48 +02:00
Jan Henning 8b6b062f8e Bug 1525662 - Part 4: Use "width=device-width" viewport for plain text documents. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D20954

--HG--
extra : moz-landing-system : lando
2019-03-05 18:01:15 +00:00
Jan Henning 61f77676dd Bug 1525662 - Part 3: Provide a hook for treating missing viewport specification as an explicit "width=device-width". r=botond
Ordinarily, when a page doesn't explicitly specify its viewport dimensions using
a <meta> viewport tag, we treat is as a non-mobile-friendly desktop page and do
some special viewport handling.

For some document types however we might want to override that behaviour and
treat the page as if "<meta name="viewport" content="width=device-width>" had
explicitly been specified anyway.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 18:01:13 +00:00
Jan Henning bd6905ded7 Bug 1525662 - Part 2: Remember plain-textness of HTML documents post loading. r=hsivonen
Based on the current implementation of nsContentUtils::IsPlainTextType(), we
could just call that function again if we need to know whether we're
dealing with plain text content or not later on, but doing it this way ensures
we're always consistent with the current code in StartDocumentLoad(), which
includes some additional sanity checks.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 18:01:11 +00:00
Jan Henning 9c6d4f7549 Bug 1525662 - Part 1: Add test for viewport treatment of plain text documents. r=botond
I want to turn on word-wrapping for plain text documents on mobile. However
currently, these are rendered with the desktop viewport by default, leading to
still tiny font sizes and still having to scroll horizontally if you then
pinch-zoom in to achieve a readable font size.

While font inflation would solve that problem, the layout of plain text
documents is so simple that we can also just render them using a
"width=device-width" viewport instead.

This test will test that plain text documents will be rendered as they would
include a <meta name="viewport" content="width=device-width"> tag.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 18:01:09 +00:00
Jan Henning 6080b6fb5c Bug 1501665 - No bug: Add comment with rationale behind choice of default viewport. r=dbaron
Especially in view of the patches for bug 1501665, which seem to have some-
what misunderstood the reason for the choice of viewport width here.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 18:01:07 +00:00
Nika Layzell 8b4e459999 Bug 1530550 - Synchronize mOpener and mIsActivatedByUserGesture with SYNCED_BC_FIELD, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D21134

--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:52 +00:00
Nika Layzell 3c1dfd1e77 Bug 1529684 - Part 3: Create BrowsingContext for remote iframes in embedder, r=farre
Depends on D21096

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

--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:29 +00:00
Nika Layzell 332f3940ad Bug 1529684 - Part 2: Create BrowsingContext for remote browsers in parent, r=farre
Depends on D21095

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

--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:22 +00:00
Nika Layzell 95cc8c68c0 Bug 1529684 - Part 1: Allow Attaching BrowsingContext from parent to child, r=farre
This is important to allow creating BrowsingContexts outside of the process
where they are going to be used. This is largely a re-arrangement of existing
code.

There is currently no way to do this type of attaching for browsing contexts in
existing BrowsingContextGroups, which creates some limitations, but happens to
be sufficient for us in the current situation.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:19 +00:00
Brindusan Cristian 3707df1311 Backed out 4 changesets (bug 1532402) for assertion failures at Navigator.cpp. CLOSED TREE
Backed out changeset 135025f2d2c0 (bug 1532402)
Backed out changeset 6df23def6c36 (bug 1532402)
Backed out changeset ed1e303084c4 (bug 1532402)
Backed out changeset 589d985b3cfe (bug 1532402)
2019-03-05 21:41:08 +02:00
Yaron Tausky f51bd2ae8f Bug 1530223: Promote assertion to MOZ_RELEASE_ASSERT r=asuth
Instead of trying to figure out which pointer is nullptr, add a more
powerful assertion. Since the nullptr already causes a crash, this won't
cause any regression.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 16:36:24 +00:00
Ehsan Akhgari 74f09670e6 Bug 1532402 - Part 4: Pass a docshell pointer to nsContentUtils::ShouldResistFingerprinting() for Navigator.maxTouchPoints; r=baku
Depends on D21992

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

--HG--
extra : moz-landing-system : lando
2019-03-05 15:53:59 +00:00
Ehsan Akhgari b9adb18a0b Bug 1532402 - Part 3: Pass a principal pointer nsContentUtils::ShouldResistFingerprinting() in the user-agent spoofing code for the rest of the Navigator properties; r=baku
Depends on D21991

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

--HG--
extra : moz-landing-system : lando
2019-03-05 15:53:57 +00:00
Ehsan Akhgari c0a8648f86 Bug 1532402 - Part 2: Add a variant of nsContentUtils::ShouldResistFingerprinting() which accepts an nsIPrincipal* argument; r=baku
We can use this variant in cases where we don't know anything about the
provenant source of the check except its principal.

The principal may not be enough information in the future but at least
porting call sites to this variant will allow us to have a small number
of functions to extend in the future when we want to enable enabling
fingerprinting resistance in certain frames (e.g. third-party tracking
frames.)

Depends on D21990

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

--HG--
extra : moz-landing-system : lando
2019-03-05 15:53:55 +00:00
Ehsan Akhgari 199904dd54 Bug 1532402 - Part 1: Pass a docshell pointer to nsContentUtils::ShouldResistFingerprinting() in the user-agent spoofing code for the Navigator properties; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D21990

--HG--
extra : moz-landing-system : lando
2019-03-05 15:53:48 +00:00
John Dai eb73069288 Bug 1527625 - Fill required arguments for ReceiveMessageArgument, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D21987

--HG--
extra : moz-landing-system : lando
2019-03-05 17:12:40 +00:00
Alex Gaynor d3a1bdd83c Bug 1532368 - replace OptionalPrincipalInfo with PrincipalInfo? in IPDL; r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D21972

--HG--
extra : moz-landing-system : lando
2019-03-05 14:41:42 +00:00
Nika Layzell d99a73ae5b Bug 1531163 - Add support for 'allFrames' and 'includeChrome' to JS Window Actors, r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D21453

--HG--
extra : moz-landing-system : lando
2019-03-01 17:25:44 +00:00
Jean-Yves Avenard d63e3b0ef0 Bug 1521370 - Always assume we can decode vp8/vp9. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D21478

--HG--
extra : moz-landing-system : lando
2019-03-05 15:01:38 +00:00
Lee Salzman 73f0b9de6d Bug 1531417 - limit DrawWindow surfaces with PersisentBufferProviderShared to visible size r=nical
Differential Revision: https://phabricator.services.mozilla.com/D22027

--HG--
extra : moz-landing-system : lando
2019-03-05 14:19:37 +00:00
Boris Zbarsky fee4435d19 Bug 1532351. Remove idle observer API on navigator. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D22029

--HG--
extra : moz-landing-system : lando
2019-03-05 08:32:57 +00:00
Bryce Van Dyk a725d59770 Bug 1532354 - Remove virtual keyword on GMPServiceChild|GMPServiceParent::GetContentParent. r=cpearce
These functions already specify the override keyword. This change also makes
them more consistent with the overloaded versions of the same functions in these
classes.

Depends on D21968

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

--HG--
extra : moz-landing-system : lando
2019-03-05 00:32:07 +00:00
Bryce Van Dyk 6beff6688a Bug 1532354 - Remove unused DeleteGMPServiceParent class. r=cpearce
Bug 1352924 removed the usage of this class, so we can safely remove the dead
code.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 00:31:27 +00:00
Bryce Van Dyk 0bc2120ed3 Bug 1532354 - Remove GMPServiceParent::ProcessPossiblePlugin decl as it is unimplemented. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D21967

--HG--
extra : moz-landing-system : lando
2019-03-05 00:30:13 +00:00
Tim Nguyen fa021187df Bug 1513343 - Remove textarea binding and replace usages with html:textarea. r=bgrins,dao
Differential Revision: https://phabricator.services.mozilla.com/D15001

--HG--
extra : moz-landing-system : lando
2019-03-05 11:41:42 +00:00
Bogdan Tara e264b82244 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-05 11:30:19 +02:00
Bogdan Tara 3e0f1d95fc Merge inbound to mozilla-central. a=merge 2019-03-05 11:27:18 +02:00
Ciure Andrei 698d0759ec Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-03-05 06:24:16 +02:00
Ciure Andrei 253bf420a1 Merge inbound to mozilla-central. a=merge 2019-03-05 06:20:52 +02:00
Luke Wagner 80a840b62f Bug 1487113 - Use CloseWithStatus in ScriptLoader.cpp to indicate failure (r=baku) 2019-03-04 19:35:41 -06:00
Jeff Walden 3f385ffa33 Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D21827

--HG--
extra : rebase_source : 833bbfce12d90bcb92f7cd88ec65247e48c024c0
2019-03-04 15:19:16 -08:00
Luke Wagner b15a5f46a8 Bug 1487113 - MOZ_RELEASE_ASSERT existing implicit assumption about alt-data Write() in ScriptLoader.cpp (r=baku) 2019-03-04 19:38:13 -06:00
Razvan Maries 65e4948ca0 Backed out 4 changesets (bug 1532005, bug 1531638) for causing perma fails and Spidermonkey fail. CLOSED TREE
Backed out changeset 4913d941de92 (bug 1532005)
Backed out changeset 9635abe5bf24 (bug 1532005)
Backed out changeset 738cf4b1126a (bug 1532005)
Backed out changeset e5d9f2ee7ac7 (bug 1531638)
2019-03-05 01:07:28 +02:00
Ciure Andrei 5ebab45abd Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-03-04 23:54:12 +02:00
Andreea Pavel 1fa9697217 Backed out changeset cc4b2dbdfd83 (bug 1530208) for failing dom/base/test/unit/test_isequalnode.js on a CLOSED TREE 2019-03-04 21:00:27 +02:00
Brian Birtles 8ed54f03c6 Bug 1527210 - Drop KeyframeEffect::MaybeUpdateFrameForCompositor; r=hiro
Since bug 1524480 we set the NS_FRAME_MAY_BE_TRANSFORMED frame bit when needed
in RestyleManager::ProcessRestyledFrames so that it is now redundant to also set
it from KeyframeEffect.

Furthermore, setting frame bits from KeyframeEffect is a little fragile since it
depends on the life cycle of the KeyframeEffect which is independent of the
nsFrame. If we can avoid doing that, we probably should.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 03:09:48 +00:00
Ciure Andrei 28e824acfe Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-05 06:22:50 +02:00
Emilio Cobos Álvarez f1c235dc68 Bug 1512993 - Get rid of XBL display usage for buttons and toolbarbuttons. r=mats
This is the last use of them!

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

--HG--
extra : moz-landing-system : lando
2019-03-04 17:20:29 +00:00
Dana Keeler 8393579e78 bug 1531958 - make http2 test certificates more consistent with existing test certificate infrastructure r=dragana
This patch uses the existing xpcshell test certificate infrastructure
(pycert/pykey) to manage the http2 test certificates (and gets rid of some uses
of nsIBadCertListener2 as a bonus).

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

--HG--
rename : netwerk/test/unit/CA.cert.der => netwerk/test/unit/http2-ca.pem
rename : testing/xpcshell/moz-http2/http2-key.pem => testing/xpcshell/moz-http2/http2-cert.key
extra : moz-landing-system : lando
2019-03-04 15:42:07 +00:00
Boris Zbarsky e7d965a976 Bug 1530208. Fix isEqualNode to not do a bunch of string-copying. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D21824

--HG--
extra : moz-landing-system : lando
2019-03-04 18:00:27 +00:00
Alex Gaynor 38a2064d1e Bug 1441651 - Part 2 - pass Shmem and ByteBuf by rvalref to Send* IPC methods; r=nika,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D19954

--HG--
extra : moz-landing-system : lando
2019-03-04 16:35:30 +00:00
Alastor Wu e2599c5021 Bug 1526355 - part1 : notify the front end side to show the blocking icon if the site is still being blocked after it's back from the bfcache. r=cpearce
In order to display blocking icon when the document comes back from the bfcache, we have to notify front end what's the current blocking status.

As the front end side would clear blocking autoplay information when nagivation occurs, and the media might not invoke the play again when they comes back from the bfcache.

Therefore, we should notify front end side that the site is still being blocked, and we should show blocking icon for it.

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

--HG--
extra : moz-landing-system : lando
2019-03-04 17:25:52 +00:00
Alex Gaynor dccb3bee8b Bug 1531827 - replace OptionalLoadInfoArgs with LoadInfoArgs? in IPDL; r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D21722

--HG--
extra : moz-landing-system : lando
2019-03-04 06:30:00 +00:00
Yaron Tausky 842cf2b27c Bug 1484524: Allow creating a StrongWorkerRef for IPC in the Canceling state r=asuth
By allowing the creation of StrongWorkerRefs in the Canceling state we
ensure that IPC will not fail and lead to crashes.

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

--HG--
extra : moz-landing-system : lando
2019-03-04 23:05:34 +00:00
sotaro 46602dc8b0 Bug 1530585 - Re-enable test_background_video_resume_after_end_show_last_frame.html r=jya
The test expects that video is visible. The test needs to wait until the video element becomes visible. And appending a video element to document with loading the test video triggered 'mozentervideosuspend' event. It caused the test failure.

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

--HG--
extra : moz-landing-system : lando
2019-03-04 20:59:30 +00:00
Boris Zbarsky 053194d8bd Bug 1530208. Fix isEqualNode to not do a bunch of string-copying. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D21824

--HG--
extra : moz-landing-system : lando
2019-03-04 19:43:47 +00:00