Commit graph

24078 commits

Author SHA1 Message Date
Kashav Madan
e063bb080d Bug 1578465 - Update fission annotations, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D49005

--HG--
extra : moz-landing-system : lando
2019-10-22 20:46:00 +00:00
Kashav Madan
3b22805481 Bug 1578465 - Remove the content-utils.js framescript, r=nika
This also updates the two functions (BrowserTestUtils.firstBrowserLoaded,
browser_broadcastchannel.js#browserFrameLoaded) that rely on the previous
event to use the new one.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 20:44:40 +00:00
Dão Gottwald
ac88ea2827 Bug 1584101 - Clip the navigation toolbar when the address bar can be rendered within the toolbar's bounds. r=Gijs,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D49861

--HG--
extra : moz-landing-system : lando
2019-10-22 19:02:59 +00:00
Kirk Steuber
e937081418 Bug 1584283 - Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D48922

--HG--
extra : moz-landing-system : lando
2019-10-17 21:25:53 +00:00
Tomislav Jovanovic
0b7a37abf9 Bug 1574926 - Enable browser_ext_pageAction_title.js, browser_ext_commands_execute_browser_action.js with fission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D49820

--HG--
extra : moz-landing-system : lando
2019-10-22 15:54:32 +00:00
Marco Bonardo
d6c6a3496f Bug 1589865 - Search in a Private Window appears for the search restriction token. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D49888

--HG--
extra : moz-landing-system : lando
2019-10-22 14:21:15 +00:00
fluks
686acfc93a Bug 1230453 - Add a hidden preference to change the number of folders in the recent list of the "bookmark this page" popup. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D43679

--HG--
extra : moz-landing-system : lando
2019-10-22 07:57:49 +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
786dcf2f6a Bug 1589923 - Strip https:// instead of http:// from URLs in the results view. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49842

--HG--
extra : moz-landing-system : lando
2019-10-22 07:22:55 +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
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
Mark Hammond
12dd37165b Bug 1574051 - make FxA's session/account status checking sane and understandable. r=rfkelly,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D49689

--HG--
extra : moz-landing-system : lando
2019-10-22 00:58:36 +00:00
shindli
e5617f8407 Backed out changeset 675c7c3794bc (bug 1589923) for causing xpcshell failures in xpcshell.ini:browser/components/extensions/test/xpcshell/test_ext_urlbar.js CLOSED TREE 2019-10-22 00:58:58 +03:00
Dão Gottwald
e3dfaefb00 Bug 1589923 - Strip https:// instead of http:// from URLs in the results view. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49842

--HG--
extra : moz-landing-system : lando
2019-10-21 18:55:25 +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
Cosmin Sabou
7e75b9408e Backed out changeset 004bfb67bff4 (bug 1584524) for browser chrome failures on browser_noLoginsView.js.
--HG--
extra : rebase_source : aed78db5e647745c606224f7ff2ed226312bf5e5
2019-10-21 19:06:02 +03:00
Nihanth Subramanya
58bb861271 Bug 1589015 - Stop using two label elements in the cookies category item. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49599

--HG--
extra : moz-landing-system : lando
2019-10-21 15:16:34 +00:00
Jared Wein
2c3f8d66e5 Bug 1584524 - Show an Import link on the login-intro view of about:logins. r=MattN,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49475

--HG--
extra : moz-landing-system : lando
2019-10-21 15:07:46 +00:00
Tim Huang
85ce9d84d9 Bug 1586718 - Making the test 'browser/components/originattributes/test/browser/browser_favicon_userContextId.js' working in Fission. r=baku
Depends on D49253

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:26:21 +00:00
Tim Huang
9ede6374a2 Bug 1586717 - Making the test 'browser/components/originattributes/test/browser/browser_favicon_firstParty.js' working in Fission. r=baku
Depends on D49252

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:27:01 +00:00
Tim Huang
0395d2f76b Bug 1586715 - Making the test 'browser/components/originattributes/test/browser/browser_sharedworker.js' working in Fission. r=baku
Depends on D49251

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:25:02 +00:00
Tim Huang
24945d6db0 Bug 1586714 - Making the test 'browser/components/originattributes/test/browser/browser_sanitize.js' working in Fission. r=baku
Depends on D49250

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:24:50 +00:00
Tim Huang
c9e857a67f Bug 1586712 - Making the test 'browser/components/originattributes/test/browser/browser_permissions.js' working in Fission. r=baku
This patch also fixes the test that it doesn't really do the test due to
it doesn't wait the content script to be finished.

Depends on D49249

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:24:34 +00:00
Tim Huang
373b7055a5 Bug 1586711 - Making the test 'browser/components/originattributes/test/browser/browser_localStorageIsolation.js' working in Fission. r=baku
Depends on D49248

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:23:53 +00:00
Tim Huang
aa0a7b1475 Bug 1586710 - Enable the test 'browser/components/originattributes/test/browser/browser.ini' in Fission. r=baku
This test doesn't need to change. It has been fixed while the
IsolationTestTools is fixed for Fission.

Depends on D49247

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:23:40 +00:00
Tim Huang
cc052e4d25 Bug 1586709 - Making the test 'browser/components/originattributes/test/browser/browser_cookieIsolation.js' working in Fission. r=baku
Depends on D49246

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:23:33 +00:00
Tim Huang
2b0a28ecb8 Bug 1586708 - Making the test 'browser/components/originattributes/test/browser/browser_cacheAPI.js' working in Fission. r=baku
Depends on D49245

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:23:26 +00:00
Tim Huang
7a60369ac5 Bug 1586707 - Making the test 'browser/components/originattributes/test/browser/browser_cache.js' working in Fission. r=baku
This patch also adds a workaround for avoid a timing issue. The timing
issue exists if we close and rapidly open again of a given origin which
is using a shared worker with container enabled. The showdown of the
content process would be delayed in this case, so the content process
will be shutdown during opening the tab, which would lead to an
unexpected behavior.

The workaround makes the script to wait the shutdown process to be
finished.

Depends on D49244

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:23:14 +00:00
Tim Huang
6ca54f1869 Bug 1586705 - Making the test 'browser/components/originattributes/test/browser/browser_broadcastChannel.js' working in Fission. r=baku
Depends on D49243

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:22:55 +00:00
Tim Huang
1ef834493a Bug 1586704 - Modify the test browser/components/originattributes/test/browser/browser_blobURLIsolation.js for fission. r=baku
Depends on D49242

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:22:39 +00:00
Tim Huang
c95de67308 Bug 1585312 - Modify the IsolationTestTools in order to adapt Fission. r=baku
This patch changes the ways how we construct the test page for the
isolation tests. We move to use the SpecialPowers.spawn() instread of
the ContentTask.spawn() for the test framework.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:26:45 +00:00
Mark Banner
411281f15f Bug 1589848 - Don't try and update the separate private engine selector in preferences when the UI isn't shown. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49885

--HG--
extra : moz-landing-system : lando
2019-10-21 10:14:30 +00:00
James Teh
f0d5de33b0 Bug 1587809: Give the CFR address bar button a more descriptive tooltip/a11y label. Announce its appearance to screen reader users. r=andreio,fluent-reviewers,flod
1. Previously, the label and tooltip for all recommendations was just "Recommendation", even though the icon was different for extension and feature recommendations.
  Because users might not be able to see the icon and/or determine its meaning, it is important that this is communicated in the tooltip and a11y label.
2. Screen reader users won't know this has appeared, even though this attracts some attention visually.
  Therefore, provide a specific announcement for screen reader users when the recommendation appears.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 07:13:14 +00:00
Paolo Amadini
076ad11f12 Bug 1589352 - Always display preference values in the left-to-right direction. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D49828

--HG--
extra : moz-landing-system : lando
2019-10-20 11:17:25 +00:00
Ed Lee
6e5171f082 Bug 1589802 - Add welcome experiments, pressed styles and bug fixes to New Tab Page r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D49814

--HG--
extra : moz-landing-system : lando
2019-10-19 00:41:03 +00:00
Mark Banner
7f02531d80 Bug 1587840 - Update the copy for the separate default search engine. r=mikedeboer,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49591

--HG--
extra : moz-landing-system : lando
2019-10-17 12:32:10 +00:00
Mark Banner
2e1253978b Bug 1588785 - Make the search service also detect when the UI is not enabled. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49652

--HG--
extra : moz-landing-system : lando
2019-10-18 18:53:36 +00:00
Mark Banner
d98ffc7276 Bug 1588785 - Send a notification when separate private default is toggled. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49651

--HG--
extra : moz-landing-system : lando
2019-10-18 18:53:15 +00:00
Tim Nguyen
b7433f9959 Bug 1589324 - Restore max-width on .container. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D49654

--HG--
extra : moz-landing-system : lando
2019-10-18 16:28:15 +00:00
Marco Bonardo
21f39cc00f Bug 1588469 - Show Search in a Private Window even if search suggestions in address bar are disabled. r=Standard8
Stop filtering search results when browser.urlbar.suggest.searches is false,
that pref is intended to filter search suggestions coming from the network, and
we should completely avoid hitting the network when it's set, rather than
filtering entries (that may instead cover real bugs).

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

--HG--
extra : moz-landing-system : lando
2019-10-18 14:21:54 +00:00
Marco Bonardo
9105b2fe51 Bug 1587959 - The userSelectionBehavior property of the urlbar controller may get stale and confuse a11y. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D49725

--HG--
extra : moz-landing-system : lando
2019-10-18 15:55:54 +00:00
Oana Pop Rus
852f034b58 Backed out 2 changesets (bug 1588785) for causing bc perma failures in browser_searchDefaultEngine.js on a CLOSED TREE
Backed out changeset 6ad4b26b21d7 (bug 1588785)
Backed out changeset 4a4afa268baf (bug 1588785)
2019-10-18 18:45:58 +03:00
Mark Banner
c481f33c74 Bug 1588785 - Make the search service also detect when the UI is not enabled. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49652

--HG--
extra : moz-landing-system : lando
2019-10-18 13:48:17 +00:00
Harry Twyford
6c24ba64b2 Bug 1578445 - Add roles and aria attributes to tip elements. r=dao,fluent-reviewers,Gijs,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D47980

--HG--
extra : moz-landing-system : lando
2019-10-17 17:46:01 +00:00
Liang-Heng Chen
ff3caeb4c7 Bug 1585615 - check content blocking event parameter bitwisely; r=johannh
content blocking event should be checked bitwisely to see if targeted bits are all matched.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 13:01:16 +00:00
Marco Bonardo
3f507f3fdc Bug 1587803 - Check BrowserContentHandler.jsm::doSearch() uses the private engine when appropriate. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D49446

--HG--
extra : moz-landing-system : lando
2019-10-18 10:24:52 +00:00
Razvan Maries
29261ec7e6 Backed out changeset 66b01a30ed12 (bug 1589015) for causing perma fails on browser_trackingUI_categories.js. CLOSED TREE 2019-10-18 12:29:35 +03:00
Nihanth Subramanya
dd9ab00dff Bug 1589015 - Stop using two label elements in the cookies category item. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49599

--HG--
extra : moz-landing-system : lando
2019-10-18 08:23:48 +00:00
jaril
696cf3b52a Bug 1588997 - Convert ObjectClient to protocol.js front. r=nchevobbe.
- Converted the ObjectClient into an protocoljs Front
- Converted the SymbolIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the PropertyIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the EnvironmentClient into a protocoljs Front and moved it to devtools/shared/fronts
- Modified calls to `DebuggerClient.release()` so that it tries to call the ObjectFront's release method first, and falls back on `DebuggerClient.release()` if there's no object front
- Changed reps so that it instantiates only one ObjectClient per grip
- Changed tests so that they expect what the Front's request method resolves to where applicable (i.e. ObjectFront.allocationStack resolves to allocationStack, not a packet object with an allocationStack property)
- Changed callbacks provided to ObjectClient methods to be chained to the ObjectFront methods (e.g. ObjectClient.getScope(callback) changed to ObjectFront.getScope().callback())
- Changed tests to use async/await (test_framebindings-x.js, test_functiongrips-x.js, test_objectgrips-x.js)
- Changed tests to expect protocoljs to throw an error string instead of an error object (test_objectgrips-fn-apply-03.js, test_threadlifetime-02.js, test_pauselifetime-03.js)

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

--HG--
rename : devtools/shared/client/environment-client.js => devtools/shared/fronts/environment.js
rename : devtools/shared/client/property-iterator-client.js => devtools/shared/fronts/property-iterator.js
rename : devtools/shared/client/symbol-iterator-client.js => devtools/shared/fronts/symbol-iterator.js
extra : moz-landing-system : lando
2019-10-17 16:06:25 +00:00