Commit Graph

2190 Commits

Author SHA1 Message Date
Mihai Alexandru Michis
5803a050c4 Backed out 2 changesets (bug 1470510) for causing bustages in widget/cocoa/nsChildView.mm CLOSED TREE
Backed out changeset a343f30c34a3 (bug 1470510)
Backed out changeset 4da64790094d (bug 1470510)
2019-11-05 09:24:26 +02:00
Brendan Dahl
b484de8fe7 Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

Differential Revision: https://phabricator.services.mozilla.com/D51486
2019-11-04 23:37:31 +00:00
Harry Twyford
fdf3994bc6 Bug 1593659 - Put the search button behind a pref. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51674
2019-11-04 20:40:40 +00:00
Dorel Luca
bcbec745b9 Backed out 2 changesets (bug 1470510) for build bustage on /build/src/widget/cocoa/nsChildView.mm. CLOSED TREE
Backed out changeset 5967bf633574 (bug 1470510)
Backed out changeset 067a556bb614 (bug 1470510)
2019-11-04 19:18:56 +02:00
Brendan Dahl
4f87b88cc6 Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

Differential Revision: https://phabricator.services.mozilla.com/D51486
2019-11-04 16:52:35 +00:00
gfmcknight
7733076174 Bug 1405031 - Add middle-click and click modifiers to browserAction r=robwu,Gijs
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
2019-10-28 15:33:11 +00:00
Sean Feng
db379eddc5 Bug 1590526 - Temporarily allow node adoption across different docGroups for the content/content case r=smaug,zombie
As web extensions rely on this node adoption between content to content
documents, we want to continue allowing this capability to work for now.

Differential Revision: https://phabricator.services.mozilla.com/D50348
2019-10-24 20:56:43 +00:00
Tomislav Jovanovic
362cba2f6c Bug 1574926 - Enable two browser_ext_browserAction_popup* tests with fission+debug r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D49862
2019-10-22 14:49:19 +00:00
Harry Twyford
e58fba1911 Bug 1582339 - Let tip results hide the help button and remove the details object from onResultPicked. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D49779
2019-10-23 15:26:08 +00:00
Tomislav Jovanovic
94e4262d29 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
2019-10-22 15:54:32 +00:00
Dão Gottwald
7071d834ef Bug 1589923 - Strip https:// instead of http:// from URLs in the results view. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49842
2019-10-22 07:22:55 +00:00
Dão Gottwald
d0cebc26c6 Bug 1589836 - Add permanent search icon in front of the megabar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D49826
2019-10-21 23:06:06 +00:00
Mihai Alexandru Michis
41b665edb9 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
fb226f9c11 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
2019-10-16 22:07:14 +00:00
Mark Banner
3358293a8f 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
2019-10-11 07:22:23 +00:00
Tomislav Jovanovic
c98108282e Bug 1587914 - Fix browser_ext_tabs_readerMode.js with Fission r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D48896
2019-10-10 22:42:41 +00:00
Alexander Surkov
19eabb6750 Bug 1397876 - Replace panel and arrowpanel bindings with a custom element r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D35040
2019-10-07 21:57:04 +00:00
Mark Banner
acbaedb306 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
2019-10-07 17:05:16 +00:00
Neil Deakin
c32e251e76 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
2019-10-07 08:51:52 +00:00
Tomislav Jovanovic
6a5b2a6727 Bug 1465520 - Remove deprecated isarticle filter for tabs.onUpdated r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D48263
2019-10-05 21:19:08 +00:00
Luca Greco
e7a7e4b9ab 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
2019-10-02 15:08:39 +00:00
Marco Bonardo
32ad78de63 Bug 1579923 - WebExt API: Add suggestedIndex property to Result type. r=adw,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D46941
2019-09-30 17:14:20 +00:00
Anny Gakhokidze
9dd233aa38 Bug 1582531 - Update fission annotations for skipped tests that are now passing succesfully, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47347
2019-09-27 14:25:10 +00:00
Julian Descottes
8e5f84ebd1 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
2019-09-27 09:53:55 +00:00
Kris Maglione
3fffc768c7 Bug 1583386: Part 2 - Enable DocumentChannel in mochitest Fission runs. r=mattwoodrow,ahal
Differential Revision: https://phabricator.services.mozilla.com/D47009
2019-09-26 20:02:44 +00:00
Drew Willcoxon
a08ef6e3f5 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
2019-09-26 13:53:14 +00:00
Ciure Andrei
16074362a9 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
b7c7ba56c5 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
2019-09-26 02:47:29 +00:00
Drew Willcoxon
cc60bbcc0c 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
2019-09-26 01:20:07 +00:00
Ciure Andrei
4e94325542 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
0a4aeb30f1 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
2019-09-26 01:20:07 +00:00
Ciure Andrei
47a0cb89d9 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
664e01d4ee 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
2019-09-19 23:48:12 +00:00
Kris Maglione
a79f157ec0 Bug 1553804: Part 4 - Make some evil tests less evil/failing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45329
2019-09-20 04:43:48 +00:00
Daniel Varga
58aaa6e957 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
60545ff76d Bug 1553804: Part 4 - Make some evil tests less evil/failing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45329
2019-09-20 04:43:48 +00:00
Drew Willcoxon
595081a203 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
2019-09-19 17:02:39 +00:00
Bogdan Tara
ce5d659eea 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
c50b0ea139 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
2019-09-19 17:06:22 +00:00
Neil Deakin
060f930cc1 Bug 1553384, update find extension api to support out-of-process iframes. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D41229
2019-09-17 23:31:34 +00:00
Paul Zuehlcke
7f8797527c Bug 1577480 - Fixed hideTab webRTC sharing state check. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45820
2019-09-17 15:00:49 +00:00
Johann Hofmann
6d06bd2b63 Bug 1579489 - Add tests for getUserMedia handling in WebExtensions. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45334
2019-09-17 12:55:30 +00:00
Mark Banner
b2267b3bdd Bug 1579420 - Fix ESLint no-async-promise-executor issues in extensions code. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45009
2019-09-17 13:03:24 +00:00
Bogdan Tara
6e18dc43a2 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
972332d638 Bug 1579489 - Add tests for getUserMedia handling in WebExtensions. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45334
2019-09-17 09:25:49 +00:00
Mihai Alexandru Michis
b73b68383d 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
026cf1185d Bug 1579489 - Add tests for getUserMedia handling in WebExtensions. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45334
2019-09-16 15:40:35 +00:00
Rob Wu
ba5caba6b4 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
2019-09-16 16:35:59 +00:00
Rob Wu
8257779f17 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
2019-09-15 22:18:27 +00:00
Narcis Beleuzu
03798647d0 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