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

3225 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 3c3ac8d7ab Backed out changeset df0d308f3d6d (bug 1554761) on request of mikedeboer. 2019-11-05 14:44:31 +02:00
Mike de Boer 9f29a7a826 Bug 1554761 - Small refactor, made possible because the findbar is now a custom element, implemented as a JS module. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38639

--HG--
extra : moz-landing-system : lando
2019-11-04 13:19:17 +00:00
Gijs Kruitbosch 00778dd54e Bug 1591212 - make webchannel work with fission, r=vladikoff,mconley
Differential Revision: https://phabricator.services.mozilla.com/D51214

--HG--
rename : toolkit/modules/WebChannel.jsm => toolkit/actors/WebChannelParent.jsm
rename : browser/base/content/test/general/browser_web_channel.js => toolkit/modules/tests/browser/browser_web_channel.js
rename : browser/base/content/test/general/browser_web_channel.html => toolkit/modules/tests/browser/file_web_channel.html
rename : browser/base/content/test/general/browser_web_channel_iframe.html => toolkit/modules/tests/browser/file_web_channel_iframe.html
extra : moz-landing-system : lando
2019-11-02 00:39:35 +00:00
Mark Striemer d9f5739109 Bug 1525175 - Part 1: Convert about:addons header to HTML r=rpl,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D43610

--HG--
rename : toolkit/mozapps/extensions/test/browser/browser_bug567127.js => toolkit/mozapps/extensions/test/browser/browser_page_options_install_addon.js
rename : toolkit/mozapps/extensions/test/browser/browser_bug570760.js => toolkit/mozapps/extensions/test/browser/browser_search_bar_focus.js
extra : moz-landing-system : lando
2019-11-01 16:26:32 +00:00
Teja Bayya d5ff37172c Bug 1576915 Port of Picture in Picture to JSWindowActors r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D49797

--HG--
extra : moz-landing-system : lando
2019-11-01 14:15:22 +00:00
Anny Gakhokidze 1045c9332f Bug 1585777 - Part 1: Make BrowserTestUtils.loadURI Fission-compatible, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D50370

--HG--
extra : moz-landing-system : lando
2019-10-30 21:44:15 +00:00
Gijs Kruitbosch cbe6115aca Bug 1585732 - cache fission.rebuild_frameloaders_on_remoteness_change pref instead of refetching it, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D50956

--HG--
extra : moz-landing-system : lando
2019-10-29 23:33:54 +00:00
Sean Feng 74eaf3ce20 Bug 1592083 - Convert certList to raw array for nsITransportSecurityInfo r=keeler,Ehsan,kershaw
This patch converts the certList attribute of nsITransportSecurityInfo
from nsIX509CertList to Array<nsIx509Cert>

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

--HG--
extra : moz-landing-system : lando
2019-10-29 17:20:07 +00:00
Julian Descottes a399da3be9 Bug 1588773 - Move css-selector.js helpers back to DevTools css-logic.js r=pbro
Depends on D49303

Some methods from css-logic were extracted from the devtools codebase to be used by context-menu files.
This was only needed in order to compute the css-selectors for Inspect Element.
If we use ContentDOMReference instead, those helpers can move back in the devtools codebase
(leaving them in css-selector.js fails the all-files-referenced test for some reason as well)

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

--HG--
rename : toolkit/modules/tests/chrome/test_findCssSelector.html => devtools/shared/tests/mochitest/test_css-logic-findCssSelector.html
extra : moz-landing-system : lando
2019-10-28 09:11:02 +00:00
prathiksha f70c312dac Bug 1563355 - Remove AboutNetErrorSetAutomatic and use RPM in aboutNetError.js to communicate with AboutNetErrorHandler.jsm. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46154

--HG--
extra : moz-landing-system : lando
2019-10-28 20:38:45 +00:00
Johann Hofmann 64b16f5ca3 Bug 1590479 - Reset notification UI state for PopupNotifications doorhangers without checkbox. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D50572

--HG--
extra : moz-landing-system : lando
2019-10-25 16:27:05 +00:00
Neil Deakin 2409d8cace Bug 1589938, convert FormHistory modules into JSWindowActors, allowing the test test_form_submission.html to work with fission enabled, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D49969

--HG--
rename : toolkit/components/satchel/FormSubmitChild.jsm => toolkit/components/satchel/FormHistoryChild.jsm
extra : moz-landing-system : lando
2019-10-25 10:18:19 +00:00
Gurzau Raul 9c0f1c9880 Backed out changeset 56fda39c816b (bug 1589938) for eslint failure at FormHistoryChild.jsm on a CLOSED TREE.
--HG--
rename : toolkit/components/satchel/FormHistoryChild.jsm => toolkit/components/satchel/FormSubmitChild.jsm
2019-10-25 04:57:24 +03:00
Neil Deakin 41f434a1d8 Bug 1589938, convert FormHistory modules into JSWindowActors, allowing the test test_form_submission.html to work with fission enabled, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D49969

--HG--
rename : toolkit/components/satchel/FormSubmitChild.jsm => toolkit/components/satchel/FormHistoryChild.jsm
extra : moz-landing-system : lando
2019-10-23 16:45:32 +00:00
Rob Wu 3f1c8af7e8 Bug 1590114 - Cleanup references to generators in DeferredTask r=florian
Task.jsm and function* tasks do not exist any more.

Depends on D49936

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

--HG--
extra : moz-landing-system : lando
2019-10-24 10:48:51 +00:00
Rob Wu 0efca6c8b2 Bug 1590114 - Move idle dispatch from task to timer in DeferredTask.jsm r=florian
DeferredTask's finalize() awaits the completion of any (previously)
scheduled tasks before returning. To minimize the time spent in
finalize(), the idle dispatch timer should not be a part of the task
execution, but part of the (cancelable) timer.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 14:27:28 +00:00
Tom Tung 73b9a59dd2 Bug 1590364 - Not listing the bypass security check pref for postMessage in about:support; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D50084

--HG--
extra : moz-landing-system : lando
2019-10-24 09:15:28 +00:00
Dão Gottwald 70caf6bc8e Bug 1586054 - Ensure at least 70% opacity for toolbar_field_focus. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D49843

--HG--
extra : moz-landing-system : lando
2019-10-23 10:02:53 +00:00
Valentin Gosu 982bdfbbbd Bug 1579992 - Load pages into new webCOOP+COEP process type r=nika
* This patch makes pages with the `OPENER_POLICY_SAME_ORIGIN_EMBEDDER_POLICY_REQUIRE_CORP` policy load into a special `webCOOP+COEP={pageOrigin}` remote type.
* Adds `E10SUtils.WEB_REMOTE_COOP_COEP_TYPE_PREFIX="webCOOP+COEP="`
* When a COOP process switch occurs and the target page doesn't have this policy, we pass a `preferredRemoteType="web"` into `E10SUtils.getRemoteTypeForPrincipal` ensuring that we correctly get a different `remoteType`
* E10SUtils.getRemoteTypeForPrincipal is changed such that `if preferredRemoteType.startsWith(WEB_REMOTE_COOP_COEP_TYPE_PREFIX)` we don't override it with `webIsolated={pageOrigin}`.
* `coop_header.sjs` is changed to also allow setting `Cross-Origin-Embedder-Policy` headers
* `browser_httpCrossOriginOpenerPolicy.js` is changed to test that pages are correctly opened in the correct remoteType process.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 08:02:16 +00:00
Dão Gottwald 854a6bfecb Bug 1589836 - Add permanent search icon in front of the megabar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D49826

--HG--
extra : moz-landing-system : lando
2019-10-21 23:06:06 +00:00
Neil Deakin e00aa26593 Bug 1567175, move password manager event listener attachment from content framescript to LoginManagerChild, and use the current window instead of the top level window for the argument passed to DOMInputPasswordAdded, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47826

--HG--
extra : moz-landing-system : lando
2019-10-21 20:26:21 +00:00
Neil Deakin 7410901165 Bug 1567175, support password manager in out of process iframes, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47825

--HG--
extra : moz-landing-system : lando
2019-10-21 18:18:02 +00:00
Mihai Alexandru Michis 44e67f1a7f Backed out changeset 11e5baee978e (bug 1580315) for issues related to certList. CLOSED TREE 2019-10-21 23:50:35 +03:00
Sean Feng 2279d51cf5 Bug 1580315 - Convert certList to raw array for nsITransportSecurityInfo r=keeler,Ehsan,kershaw
This patch converts the certList attribute of nsITransportSecurityInfo
from nsIX509CertList to Array<nsIx509Cert>

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

--HG--
extra : moz-landing-system : lando
2019-10-21 19:49:01 +00:00
shindli ebcb4e6fbf Backed out changeset 5686e9cc48b2 (bug 1579992) for causing bc failures in browser/components/aboutlogins/tests/browser/browser_dismissFooter.js CLOSED TREE 2019-10-21 21:09:24 +03:00
Valentin Gosu 74ec329cc9 Bug 1579992 - Load pages into new webCOOP+COEP process type r=nika
* This patch makes pages with the `OPENER_POLICY_SAME_ORIGIN_EMBEDDER_POLICY_REQUIRE_CORP` policy load into a special `webCOOP+COEP={pageOrigin}` remote type.
* Adds `E10SUtils.WEB_REMOTE_COOP_COEP_TYPE_PREFIX="webCOOP+COEP="`
* When a COOP process switch occurs and the target page doesn't have this policy, we pass a `preferredRemoteType="web"` into `E10SUtils.getRemoteTypeForPrincipal` ensuring that we correctly get a different `remoteType`
* E10SUtils.getRemoteTypeForPrincipal is changed such that `if preferredRemoteType.startsWith(WEB_REMOTE_COOP_COEP_TYPE_PREFIX)` we don't override it with `webIsolated={pageOrigin}`.
* `coop_header.sjs` is changed to also allow setting `Cross-Origin-Embedder-Policy` headers
* `browser_httpCrossOriginOpenerPolicy.js` is changed to test that pages are correctly opened in the correct remoteType process.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 16:56:00 +00:00
Gijs Kruitbosch 738962d0bf Bug 1586148 - fix web protocol handler behaviour under fission, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D48238

--HG--
extra : moz-landing-system : lando
2019-10-16 14:56:23 +00:00
Lina Cambridge 9d9b081407 Bug 1588329 - Introduce `mozIStorageAsyncConnection::variableLimit`. r=mak
This is a wrapper around the `sqlite3_limit` interface that returns the
binding parameter limit. Adding this getter lets us clean up the inline
`SQLITE_MAX_VARIABLE_NUMBER` constants scattered around Places.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 21:22:57 +00:00
Erica Wright da9bdae004 Bug 1579974 - Add celebrating milestone toast when certain numbers of trackers are blocked. r=k88hudson,johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D47512

--HG--
extra : moz-landing-system : lando
2019-10-15 19:30:11 +00:00
Cosmin Sabou 5d6e6dc693 Backed out changeset adbcc583862c (bug 1579974) for browser chrome failures on browser_asrouter_trigger_listeners.js 2019-10-15 00:12:26 +03:00
Erica Wright 994cf2a525 Bug 1579974 - Add celebrating milestone toast when certain numbers of trackers are blocked. r=k88hudson,johannh,fluent-reviewers,flod
test with:
`./mach run --temp-profile --setpref browser.newtabpage.activity-stream.asrouter.providers.cfr="{\"id\":\"cfr\",\"enabled\":true,\"type\":\"local\",\"localProvider\":\"CFRMessageProvider\",\"frequency\":{\"custom\":[{\"period\":\"daily\",\"cap\":10}]},\"categories\":[\"cfrAddons\",\"cfrFeatures\"],\"updateCycleInMs\":3600000}"`

for testing: Change `browser/components/newtab/lib/CFRPageActions.jsm` line 136, to `if (false)` instead of `if (resource)` or comment out that block. This is to force using the local ftl file.


  - you can use the newtab devtools, set `browser.newtabpage.activity-stream.asrouter.devtoolsEnabled=true`
 - change the pref `privacy.trackingprotection.cfr-milestone.milestone-achieved=1` and `privacy.trackingprotection.cfr-milestone.milestones="1, 5000, 10000, 25000, 50000, 100000, 500000"`
 - ensure at least one tracker has been saved in the database by visiting a tracking page and refreshing (this is so we can get the date it was saved from the database).
- open a new tab and click the wrench to the top right.
- change provider to "cfr" scroll down to find the milestone_message and click "show"
- I've now added a 24 hour timeout in `toolkit/components/antitracking/TrackingDBService.jsm` line 270 - you'll want to comment this out in order to see the popup.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 20:06:41 +00:00
Marco Bonardo cff612c7b4 Bug 1586681 - Ensure URIFIxup uses the right engine when there's a separate PB engine. r=Standard8,Gijs
Add a new FIXUP_FLAG_PRIVATE_CONTEXT to nsIURIFixup, make it use the default
private search engine when it's set.
Update consumers to pass the new flag when necessary.

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

--HG--
extra : moz-landing-system : lando
2019-10-12 12:37:51 +00:00
Matt Woodrow e75df5c8ff Bug 1578624 - P8: Use BrowsingContext::loadURI in RemoteWebNavigation. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D44764

--HG--
extra : moz-landing-system : lando
2019-10-11 02:27:42 +00:00
Neil Deakin ec8b2c4f13 Bug 1573836, make autocomplete component fission compatible, r=mak,MattN
Differential Revision: https://phabricator.services.mozilla.com/D47093

--HG--
rename : toolkit/modules/AutoCompletePopupContent.jsm => toolkit/actors/AutoCompleteChild.jsm
rename : toolkit/components/satchel/AutoCompletePopup.jsm => toolkit/actors/AutoCompleteParent.jsm
extra : moz-landing-system : lando
2019-10-09 19:02:57 +00:00
Brindusan Cristian ef3c975bc9 Backed out 11 changesets (bug 1578624) for build bustages. CLOSED TREE
Backed out changeset b22733eb880f (bug 1578624)
Backed out changeset cb5e15489635 (bug 1578624)
Backed out changeset f1746b2f9dec (bug 1578624)
Backed out changeset d08a099a22ff (bug 1578624)
Backed out changeset 8ebd563c72a8 (bug 1578624)
Backed out changeset d8bfec2dc9b6 (bug 1578624)
Backed out changeset 591664928bce (bug 1578624)
Backed out changeset 63f5a619b9ef (bug 1578624)
Backed out changeset ff67cc13cdf3 (bug 1578624)
Backed out changeset 43556c937a09 (bug 1578624)
Backed out changeset 49065a55694d (bug 1578624)
2019-10-09 11:50:37 +03:00
Matt Woodrow 837665db5f Bug 1578624 - P8: Use BrowsingContext::loadURI in RemoteWebNavigation. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D44764

--HG--
extra : moz-landing-system : lando
2019-10-09 06:37:51 +00:00
Narcis Beleuzu 3429292547 Backed out 11 changesets (bug 1578624) for bustages on WindowGlobalChild.h . CLOSED TREE
Backed out changeset 478897956ee0 (bug 1578624)
Backed out changeset ab9c09164df0 (bug 1578624)
Backed out changeset f461f10efa46 (bug 1578624)
Backed out changeset 9b958693a003 (bug 1578624)
Backed out changeset 3b8220a15051 (bug 1578624)
Backed out changeset 180407dc57a8 (bug 1578624)
Backed out changeset bb11892e2171 (bug 1578624)
Backed out changeset 4f5c28244290 (bug 1578624)
Backed out changeset 6c02bbe5c1c5 (bug 1578624)
Backed out changeset 1d762fdce921 (bug 1578624)
Backed out changeset 818bc6e20c7d (bug 1578624)

--HG--
extra : histedit_source : ea22e628bf35425402009e9af274602f342a7476
2019-10-09 08:52:25 +03:00
Matt Woodrow dedb2503fc Bug 1578624 - P8: Use BrowsingContext::loadURI in RemoteWebNavigation. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D44764

--HG--
extra : moz-landing-system : lando
2019-10-04 02:02:46 +00:00
Brendan Dahl a51ca19772 Bug 1510785 - Support disabling XBL related tests. r=gbrown
Adds a way for mochitest, reftest, and crashtests to skip XBL related
tests when XBL is disabled. Also, add an app constant so JS can
check whether XBL is enabled.

Depends on D45614

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

--HG--
extra : moz-landing-system : lando
2019-10-08 23:52:33 +00:00
Ehsan Akhgari 6ee9db27d3 Bug 1586814 - Add browser.contentblocking.category to about:support; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D48366

--HG--
extra : moz-landing-system : lando
2019-10-08 20:57:56 +00:00
Kris Maglione 3ed2b788cf Bug 1583886: Fix yet more untested content windows which open chrome windows. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D47135

--HG--
extra : moz-landing-system : lando
2019-10-07 19:47:36 +00:00
Dorel Luca 6d146feeec Backed out changeset 8e400446aedc (bug 1296898) at dev's request 2019-10-07 22:27:35 +03:00
Junior Hsu 1f16c48cd1 Bug 1584005 - P2 fix tests with wrong parameter to ZipWriter r=michal
Differential Revision: https://phabricator.services.mozilla.com/D47359

--HG--
extra : moz-landing-system : lando
2019-10-07 18:29:15 +00:00
Nick Alexander c46ec74815 Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
This does many things:

1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations

After this commit, the `mobile/android` project/application builds
only GeckoView.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:55:11 +00:00
Mark Banner 6f0d7f4a39 Bug 1585972 - If remote settings returns an invalid signature error, ignore lists should handle it correctly. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D48060

--HG--
extra : moz-landing-system : lando
2019-10-03 20:43:05 +00:00
Tyler b354857779 Bug 1576908 - uses fission model for sending purge history messages r=mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45959

--HG--
extra : moz-landing-system : lando
2019-10-03 14:03:34 +00:00
Mike Conley cf8d0284a0 Bug 1583882 - Close Picture-in-Picture player window if the originating <video> is removed from the DOM. r=JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D47613

--HG--
extra : moz-landing-system : lando
2019-10-01 16:20:51 +00:00
Neil Deakin 4348582007 Bug 1582833, update findbar state correctly when findbar is closed to allow keyboard to work properly, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D46906

--HG--
extra : moz-landing-system : lando
2019-09-30 15:12:28 +00:00
Andrew McCreight 470ee2aab6 Bug 1579835, part 2 - Add mozilla::dom::IsWebRemoteType. r=nika
This is the equivalent to E10SUtils.isWebRemoteType, except for C++.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 21:09:40 +00:00
Andrew McCreight 663c40c506 Bug 1579835, part 1b - Directly pass in remote type to E10SUtils.isWebRemoteType. r=mconley
Now that we only use a single field of the browser that gets passed in
to isWebRemoteType, I think it makes more sense to just pass in the
remote type directly.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 22:16:28 +00:00