Commit graph

2269 commits

Author SHA1 Message Date
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
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
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
Mihai Alexandru Michis
d874b02b52 Backed out 2 changesets (bug 1588469, bug 1588464) for causing bc failures in browser_test_focus_urlbar.js CLOSED TREE
Backed out changeset c5bff62e1640 (bug 1588464)
Backed out changeset b85a79175973 (bug 1588469)
2019-10-17 02:09:57 +03:00
Marco Bonardo
eddf83bc7a Bug 1588469 - Show Search in a Private Window even if search suggestions in address bar are disabled. r=Standard8
Split the SEARCH source into SEARCH_NETWORK or SEARCH_LOCAL to distinguish
search results coming from a remote source, from those generated locally.
browser.urlbar.suggest.searches will only affect SEARCH_NETWORK results.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 22:07:14 +00:00
Mark Banner
0f977493e1 Bug 1576160 - Turn on the display of default private search engine feature for nightly/early beta users. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D47223

--HG--
extra : moz-landing-system : lando
2019-10-11 07:22:23 +00:00
Tomislav Jovanovic
8b347e672a Bug 1587914 - Fix browser_ext_tabs_readerMode.js with Fission r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D48896

--HG--
extra : moz-landing-system : lando
2019-10-10 22:42:41 +00:00
Rob Wu
07c1fc6c27 Bug 1559835 - Remove comment at tabs.update(active:false) r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D48817

--HG--
extra : moz-landing-system : lando
2019-10-10 15:44:41 +00:00
Alexander Surkov
f6aae7a3e7 Bug 1397876 - Replace panel and arrowpanel bindings with a custom element r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D35040

--HG--
rename : toolkit/content/widgets/popup.xml => toolkit/content/widgets/panel.js
extra : moz-landing-system : lando
2019-10-07 21:57:04 +00:00
Mark Banner
bdbf383b06 Bug 1578381 - When resetting the homepage preference due to an ignore list update, ensure WebExtension settings are reset correctly. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D48196

--HG--
extra : moz-landing-system : lando
2019-10-07 17:05:16 +00:00
Neil Deakin
71ba434e0a Bug 1573839, modify BrowserTestUtils.synthesizeMouse/Key/etc to handle fission. Remove support for passing arrays of selectors and instead modify the last argument to be a browsing context, or browser. Fix up tests that use this obsolete form, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46307

--HG--
extra : moz-landing-system : lando
2019-10-07 08:51:52 +00:00
Tomislav Jovanovic
5e51e18be7 Bug 1465520 - Remove deprecated isarticle filter for tabs.onUpdated r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D48263

--HG--
extra : moz-landing-system : lando
2019-10-05 21:19:08 +00:00
Luca Greco
71af36db2e Bug 1550470 - Prevent nsIDOMWindowUtils.removeSheet errors due to content scripts CSS cleanups on closed windows. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D47806

--HG--
extra : moz-landing-system : lando
2019-10-02 15:08:39 +00:00
Marco Bonardo
36787109b0 Bug 1579923 - WebExt API: Add suggestedIndex property to Result type. r=adw,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D46941

--HG--
extra : moz-landing-system : lando
2019-09-30 17:14:20 +00:00
Anny Gakhokidze
f1c694e18f Bug 1582531 - Update fission annotations for skipped tests that are now passing succesfully, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47347

--HG--
extra : moz-landing-system : lando
2019-09-27 14:25:10 +00:00
Julian Descottes
6703ecb952 Bug 1583749 - Stop exposing deprecated connect() api on the webextension descriptor front r=yulia,rpl
Depends on D47053

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

--HG--
extra : moz-landing-system : lando
2019-09-27 09:53:55 +00:00
Kris Maglione
e57df5ef8b Bug 1583386: Part 2 - Enable DocumentChannel in mochitest Fission runs. r=mattwoodrow,ahal
Differential Revision: https://phabricator.services.mozilla.com/D47009

--HG--
extra : moz-landing-system : lando
2019-09-26 20:02:44 +00:00
Drew Willcoxon
e505b9b12c Bug 1578584 - Quantumbar WebExt API: Add onResultPicked event. r=harry,mixedpuppy
Adds a new event listener to `browser.urlbar` called `onResultPicked`. This event is fired for tip results when they don't specify a URL. Hypothetically it could be fired for any type of result that didn't specify a URL, but that's only tips for now.

The listener is passed two arguments: the payload of the result that was picked, and a "details" object whose properties depend on the type of result. For tips, details is `{ helpPicked }`, where `helpPicked` is true if the help button was picked and false if the main button was picked.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 13:53:14 +00:00
Sebastian Streich
2fbc46096e Bug 1580782 - Remove JS Callsites for Principal->GetURI->Schemeis r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D45685

--HG--
extra : moz-landing-system : lando
2019-09-26 10:47:33 +00:00
Ciure Andrei
234fc94cb3 Backed out 2 changesets (bug 1578584) for browser_ext_urlbar.js failures CLOSED TREE
Backed out changeset 4730635520c6 (bug 1578584)
Backed out changeset f0e4e5312bf5 (bug 1578584)
2019-09-26 06:44:18 +03:00
Drew Willcoxon
ec9c941983 Bug 1578584 - Follow-up test fix: Quantumbar WebExt API: Add onResultPicked event.
Increase the extension notification timeout to prevent intermittent test failures. Like this existing test does: https://searchfox.org/mozilla-central/rev/f43ae7e1c43a4a940b658381157a6ea6c5a185c1/browser/components/extensions/test/xpcshell/test_ext_urlbar.js#43

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

--HG--
extra : moz-landing-system : lando
2019-09-26 02:47:29 +00:00
Drew Willcoxon
35081f529d Bug 1578584 - Quantumbar WebExt API: Add onResultPicked event. r=harry,mixedpuppy
Adds a new event listener to `browser.urlbar` called `onResultPicked`. This event is fired for tip results when they don't specify a URL. Hypothetically it could be fired for any type of result that didn't specify a URL, but that's only tips for now.

The listener is passed two arguments: the payload of the result that was picked, and a "details" object whose properties depend on the type of result. For tips, details is `{ helpPicked }`, where `helpPicked` is true if the help button was picked and false if the main button was picked.

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

--HG--
extra : source : febf4480bc0bce19a0c8883e0c9296c40013e01e
2019-09-26 01:20:07 +00:00
Ciure Andrei
10e6f9e594 Backed out changeset febf4480bc0b (bug 1578584) for causing browser_ext_urlbar.js to perma fail CLOSED TREE 2019-09-26 05:18:24 +03:00
Drew Willcoxon
a800c1bef5 Bug 1578584 - Quantumbar WebExt API: Add onResultPicked event. r=harry,mixedpuppy
Adds a new event listener to `browser.urlbar` called `onResultPicked`. This event is fired for tip results when they don't specify a URL. Hypothetically it could be fired for any type of result that didn't specify a URL, but that's only tips for now.

The listener is passed two arguments: the payload of the result that was picked, and a "details" object whose properties depend on the type of result. For tips, details is `{ helpPicked }`, where `helpPicked` is true if the help button was picked and false if the main button was picked.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 01:20:07 +00:00
Ciure Andrei
9ee26c1cd1 Backed out changeset abcfd108c7e5 (bug 1578584) for causing test_ext_urlbar.js to perma fail CLOSED TREE 2019-09-26 03:45:13 +03:00
Drew Willcoxon
91e5152289 Bug 1578584 - Quantumbar WebExt API: Add onResultPicked event. r=harry,mixedpuppy
Adds a new event listener to `browser.urlbar` called `onResultPicked`. This event is fired for tip results when they don't specify a URL. Hypothetically it could be fired for any type of result that didn't specify a URL, but that's only tips for now.

The listener is passed two arguments: the payload of the result that was picked, and a "details" object whose properties depend on the type of result. For tips, details is `{ helpPicked }`, where `helpPicked` is true if the help button was picked and false if the main button was picked.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 23:48:12 +00:00
Paul Zuehlcke
a20be9ee64 Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D45848

--HG--
extra : moz-landing-system : lando
2019-09-24 17:13:43 +00:00
Oana Pop Rus
3144f81e55 Backed out changeset cb1b6afa9f33 (bug 1574469) for multiple failures in nsICookieManager.remove on a CLOSED TREE 2019-09-24 13:10:07 +03:00
Paul Zuehlcke
b7de7aec93 Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D45848

--HG--
extra : moz-landing-system : lando
2019-09-19 17:10:58 +00:00
Kris Maglione
99714a4e22 Bug 1553804: Part 4 - Make some evil tests less evil/failing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45329

--HG--
extra : source : acff4a6636719d9302d1a893e1f3ca392c8f99e5
extra : histedit_source : c727f4637a48f89ecb29233dba0a4aba0ed9ffd9%2Cfd70bbd8400e8aba9a4dc57956bfc9f1320e20db
2019-09-20 04:43:48 +00:00
Daniel Varga
f0411a344a Backed out 6 changesets (bug 1553804) for browser-chrome failure at browser/base/content/test/general/browser_fullscreen-window-open.js. On a CLOSED TREE
Backed out changeset 86b3d469b4ff (bug 1553804)
Backed out changeset 301e0d883a5f (bug 1553804)
Backed out changeset acff4a663671 (bug 1553804)
Backed out changeset 1574aecf3177 (bug 1553804)
Backed out changeset 3acf056e792e (bug 1553804)
Backed out changeset 1ed250faeb2e (bug 1553804)
2019-09-20 10:09:54 +03:00
Kris Maglione
b79b2c3aa0 Bug 1553804: Part 4 - Make some evil tests less evil/failing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45329

--HG--
extra : moz-landing-system : lando
2019-09-20 04:43:48 +00:00
Drew Willcoxon
d7663129bb Bug 1578439 - Quantumbar WebExt API: Add "tip" to ResultType enum and UrlbarProviderExtension.RESULT_TYPES. r=harry,mixedpuppy
Add "tip" to the ResultType enum and UrlbarProviderExtension.RESULT_TYPES, corresponding to the new TIP type. Update the existing test.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 17:02:39 +00:00
Bogdan Tara
ecffbb2d40 Backed out changeset 6c464eede88a (bug 1405031) for browser_ext_pageAction_click_types.js failures CLOSED TREE 2019-09-20 01:03:17 +03:00
gfmcknight
38ae518715 Bug 1405031 - Add middle-click and click modifiers to browserAction r=robwu
and pageActions.

Before this change, browserActions and pageActions did not trigger
onClick events when middle-clicked, and no information on the button or
any modifiers were passed in the onClick event. With this change, middle
clicking triggers an event, and a clickData object is passed in the
onClick event, with the button and a list of modifiers.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 17:06:22 +00:00
Neil Deakin
4ca768c7f6 Bug 1553384, update find extension api to support out-of-process iframes. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D41229

--HG--
extra : moz-landing-system : lando
2019-09-17 23:31:34 +00:00
Paul Zuehlcke
5cc91c0754 Bug 1577480 - Fixed hideTab webRTC sharing state check. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45820

--HG--
extra : moz-landing-system : lando
2019-09-17 15:00:49 +00:00
Johann Hofmann
efa1d05d2d Bug 1579489 - Add tests for getUserMedia handling in WebExtensions. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45334

--HG--
extra : moz-landing-system : lando
2019-09-17 12:55:30 +00:00
Mark Banner
e075d5cd6e Bug 1579420 - Fix ESLint no-async-promise-executor issues in extensions code. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45009

--HG--
extra : moz-landing-system : lando
2019-09-17 13:03:24 +00:00
Bogdan Tara
06351a8472 Backed out 3 changesets (bug 1579489) for ES lint failure on browser_ext_webrtc.js CLOSED TREE
Backed out changeset 281d238e6259 (bug 1579489)
Backed out changeset 764628963a3c (bug 1579489)
Backed out changeset 680a45ca89b7 (bug 1579489)
2019-09-17 13:01:37 +03:00
Johann Hofmann
80cfe832b3 Bug 1579489 - Add tests for getUserMedia handling in WebExtensions. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45334

--HG--
extra : moz-landing-system : lando
2019-09-17 09:25:49 +00:00
Mihai Alexandru Michis
ee8e5475f4 Backed out 3 changesets (bug 1579489) for causing bc failures at browser_ext_webrtc.js CLOSED TREE
Backed out changeset 71978ebe41f1 (bug 1579489)
Backed out changeset b5e35c96c2f7 (bug 1579489)
Backed out changeset 71130160afee (bug 1579489)
2019-09-16 22:02:47 +03:00
Johann Hofmann
b3169e3b66 Bug 1579489 - Add tests for getUserMedia handling in WebExtensions. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45334

--HG--
extra : moz-landing-system : lando
2019-09-16 15:40:35 +00:00
Rob Wu
64ad4811f6 Bug 1570715 - Treat (deprecation) warnings as errors r=rpl
Add new preference `extensions.webextensions.warnings-as-errors` that
defaults to `true` in tests. Tests that expect warnings are modified
to briefly flip the pref for the specific part of the test that needs
an exception.

As part of the refactor, log entries for schema entries that contain
`"onError": "warn"` will now be prefixed by "Warning" instead of
"Error", to be consistent with the change from bug 1495908.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 16:35:59 +00:00
Rob Wu
6c8fef0765 Bug 1527029 - Split about:blank test from browser_ext_tabs_executeScript.js r=zombie
The browser_ext_tabs_executeScript.js test occasionally times out.
Apparently the part of the test that opens "about:blank" and awaits the
result sometimes times out (`tabs.executeScript` does not resolve).

To avoid collateral damage by this small part of the test, the
"about:blank" test has been moved to its own file.

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

--HG--
extra : moz-landing-system : lando
2019-09-15 22:18:27 +00:00
Narcis Beleuzu
1cb9dbb638 Backed out 2 changesets (bug 1570715) for causing tp6m raptor failures
Backed out changeset e7364a10a663 (bug 1570715)
Backed out changeset 51824b1dda97 (bug 1570715)
2019-09-14 16:00:00 +03:00
monikamaheshwari
9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Rob Wu
75fd473720 Bug 1570715 - Treat (deprecation) warnings as errors r=rpl
Add new preference `extensions.webextensions.warnings-as-errors` that
defaults to `true` in tests. Tests that expect warnings are modified
to briefly flip the pref for the specific part of the test that needs
an exception.

As part of the refactor, log entries forschema entries that contain
`"onError": "warn"` will now be prefixed by "Warning" instead of
"Error", to be consistent with the change from bug 1495908.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 21:39:51 +00:00
Coroiu Cristina
0a7189187c Backed out changeset 74f522fc33ae (bug 1405031) for browser-chrome failures at browser/components/extensions/test/browser/browser_ext_browserAction_click_types.js 2019-09-13 03:59:58 +03:00