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

18364 Коммитов

Автор SHA1 Сообщение Дата
Jan Varga de8bd6609d Bug 1517089 - Part 8: Add GetBaseDomainFromSchemeHost to ThirdPartyUtil and make ThirdPartyUtil ref counting thread safe; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D19202
2019-02-08 21:01:46 +01:00
Hiroyuki Ikezoe af78a85968 Bug 1532443 - Drop clampScrollPoistion stuff. r=kats
This was introduced in bug 726817 for B2G stuff and there is no call site of
SetClampScrollPosition now and the only one entry point to call the function
was nsIFrameLoader.clampScrollPosition which was removed in
https://hg.mozilla.org/mozilla-central/rev/cd9aace7bb96 .

ScrollFrameHelper::ShouldClampScrollPosition() had always returned true in both
cases of root and non-root scrollable frames. (In the case of non-root
scrollable, nsFrameLoader.mClampScrollPosition is initially set to true and
nobody changes the value)

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

--HG--
extra : moz-landing-system : lando
2019-03-04 22:16:46 +00:00
Andrew Erickson 069c5d4850 Bug 1531313: reenable dom/base/test/test_progress_events_for_gzip_data.html for android r=gbrown,jkt
Differential Revision: https://phabricator.services.mozilla.com/D21590

--HG--
extra : moz-landing-system : lando
2019-03-06 20:57:04 +00:00
Boris Zbarsky 53cb86f99c Bug 1533103. Temporarily disable compartment-sharing for content windows. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D22362

--HG--
extra : moz-landing-system : lando
2019-03-06 20:37:05 +00:00
Dorel Luca 9f366232ad Backed out changeset c66813164419 (bug 1533103) on dev's request. CLOSED TREE 2019-03-06 22:00:51 +02:00
Boris Zbarsky c4415bb7b7 Bug 1533103. Temporarily disable compartment-sharing for content windows. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D22362

--HG--
extra : moz-landing-system : lando
2019-03-06 19:12:47 +00:00
Dorel Luca ac34e1d973 Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Andrea Marchesini 4fabb4a2a8 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21538

--HG--
extra : moz-landing-system : lando
2019-03-06 17:04:06 +00:00
Andrea Marchesini cc423cd937 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-03-06 17:03:33 +00:00
Andrea Marchesini 4762f2ad6c 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-03-06 17:00:54 +00:00
Andrea Marchesini 2fb61cb48b 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-03-06 17:00:39 +00:00
Ehsan Akhgari 8ed9a296b2 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 23:13:23 +00:00
Ehsan Akhgari 6b550507ec 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 23:13:22 +00:00
Ehsan Akhgari d6091e4e12 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 23:13:34 +00:00
Ehsan Akhgari fce3ccd171 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 23:13:32 +00:00
Henri Sivonen 27bb54d936 Bug 1532334 - Make nsContentUtils::IsSubDocumentTabbable() return true for out-of-process iframes. r=nika
Depends on D21927

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

--HG--
extra : moz-landing-system : lando
2019-03-05 19:33:18 +00:00
Henri Sivonen 7eb9ff208c Bug 1524980 - Use RemoteFrameChild if present in nsFocusManager::Focus(). r=nika
Depends on D21913

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

--HG--
extra : moz-landing-system : lando
2019-03-05 19:33:52 +00:00
Henri Sivonen 8d2a0bd7ac Bug 1524977 - Use RemoteFrameChild if present in nsFocusManager::GetNextTabbableContent(). r=nika
Differential Revision: https://phabricator.services.mozilla.com/D21913

--HG--
extra : moz-landing-system : lando
2019-03-05 19:33:09 +00:00
Jan Henning 7b17fc247f Bug 1501665 - No bug: Add comment with rationale behind choice of default viewport. r=dbaron DONTBUILD CLOSED TREE
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 : source : 159753062cfa8b9a00885b4879bd5f22157c5280
extra : histedit_source : d054ee7b3391216036e7fa2440a529131db1f088
2019-03-05 18:01:07 +00:00
Felipe Gomes 2c97103dfc Bug 827976 - Don't create the hidden window in nsCCUncollectableMarker.cpp if it doesn't exist. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D21074

--HG--
extra : moz-landing-system : lando
2019-03-04 18:52:47 +00:00
Ehsan Akhgari 15d8f1aa80 Bug 1532408 - Pass a docshell pointer to nsContentUtils::ShouldResistFingerprinting() callers in nsGlobalWindowInner.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D21995

--HG--
extra : moz-landing-system : lando
2019-03-05 12:42:52 +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 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 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
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
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
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
Ciure Andrei 698d0759ec Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-03-05 06:24:16 +02: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
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
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
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
Ehsan Akhgari 60ba3ea3e2 Bug 1531538 - Delay resolving the promise returned from requestStorageAccess when the automatic storage access grants are invoked; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D21771

--HG--
extra : moz-landing-system : lando
2019-03-04 20:12:14 +00:00
Jeff Walden ecb4e10bda 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 : 36c43233ad6d804bd691c8c40d6a6984331c7162
2019-02-28 17:00:56 -08:00
Cosmin Sabou eddf04477e Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : gfx/layers/apz/src/TouchCounter.cpp => gfx/layers/apz/util/TouchCounter.cpp
rename : gfx/layers/apz/src/TouchCounter.h => gfx/layers/apz/util/TouchCounter.h
2019-03-02 23:47:53 +02:00
Cosmin Sabou d503a7df4f Merge autoland to mozilla-central. a=merge 2019-03-02 23:46:22 +02:00
Cosmin Sabou a706bb3916 Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Olli Pettay 0205a2035e Bug 1529735, assert that only either sCCRunner or sICCRunner is active, not both, r=mccr8
--HG--
extra : rebase_source : dcfcc9b730e964561fe423edded4190170932293
2019-03-02 18:39:41 +02:00
Tom Schuster fe57a2e07f Bug 1530519 - Fix error handling in TransferableToIPCTransferable. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D21836

--HG--
extra : moz-landing-system : lando
2019-03-02 12:42:56 +00:00