Commit Graph

2668 Commits

Author SHA1 Message Date
Kris Maglione
487c4fe9c7 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741
2019-12-06 22:14:22 +00:00
Kris Maglione
e59706f08a Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740
2019-12-06 22:14:14 +00:00
Luca Greco
15869025c6 Bug 1598079 - Turn abuseReport.openDialog on by default on all channels. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D54026
2019-11-25 17:35:48 +00:00
Marco Bonardo
9918983f83 Bug 1599839 - Merge sources and acceptableSources in UrlbarQueryContext. r=adw,mixedpuppy
Rename acceptableSources to just sources, merge it with the existing sources property.

Differential Revision: https://phabricator.services.mozilla.com/D55082
2019-12-02 17:20:39 +00:00
Shane Caraveo
82889634a5 Bug 1578513 make disable/enable during safe mode update extension settings r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D44595
2019-11-27 20:00:08 +00:00
Shane Caraveo
f559d8e729 Bug 1578513 make uninstall during safemode remove extension settings r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D44594
2019-11-27 22:19:15 +00:00
Shane Caraveo
4e7733502e Bug 1599708 fix setting newtab when setting is updated r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D55022
2019-11-27 21:51:51 +00:00
Drew Willcoxon
9e15f780fb Bug 1599406 - Fix permafailing browser/components/extensions/test/browser/browser_ext_urlbar.js on beta r=mixedpuppy
The `onEngagement` task fails on beta due to how the mock extension is created with `useAddonManager: "temporary"`, which prevents the extension from being able to use `browser.urlbar`. That's the only task in the file that does that. I think I copied it from another test file. Not sure why I just didn't use the pattern in this file.

This also removes `incognitoOverride: "spanning"`. It's not necessary and none of the other tasks do that either.

Differential Revision: https://phabricator.services.mozilla.com/D54795
2019-11-26 19:38:41 +00:00
Harry Twyford
b44681bd25 Bug 1599123 - Rename instances of "search icon" to "search button". r=mak
Differential Revision: https://phabricator.services.mozilla.com/D54539
2019-11-26 09:38:02 +00:00
Harry Twyford
46e835b4a6 Bug 1597698 - Move all megabar prefs under a urlbar.update1 branch. r=mak,dao
Differential Revision: https://phabricator.services.mozilla.com/D54146
2019-11-26 17:15:31 +00:00
Drew Willcoxon
411091c60b Bug 1597610 - Add browser.urlbar.onEngagement WebExtensions API. r=mak,mixedpuppy
Adds a `browser.urlbar.onEngagement` event. Listeners are passed the current engagement state: start, engagement, abandonment, or discard. The extension could use this to record its own parallel telemetry (scalars, event telemetry, etc.) per engagement.

Differential Revision: https://phabricator.services.mozilla.com/D53897
2019-11-25 23:52:56 +00:00
Zibi Braniecki
d441077c48 Bug 1591328 - Migrate the window title to Fluent. r=fluent-reviewers,Gijs,mixedpuppy
Depends on D53775

Differential Revision: https://phabricator.services.mozilla.com/D53776
2019-11-21 19:16:15 +00:00
Matthew Noorenberghe
109be48583 Bug 1595656 - Only clear user-facing passwords with the browsingData API. r=rpl
FxA/Sync stores a credential in login storage but this is no longer user-facing so users shouldn't expect it to be cleared. Users can still diconnect Sync properly from about:preferences.

Differential Revision: https://phabricator.services.mozilla.com/D53834
2019-11-21 14:42:57 +00:00
Narcis Beleuzu
3793f89eb9 Backed out 2 changesets (bug 1595656) for xpcshell failures on test_load_all_api_modules.js . CLOSED TREE
Backed out changeset 061c92c4b95c (bug 1595656)
Backed out changeset ef8d5090979a (bug 1595656)
2019-11-21 03:22:06 +02:00
Matthew Noorenberghe
d09f92f3c0 Bug 1595656 - Only clear user-facing passwords with the browsingData API. r=rpl
FxA/Sync stores a credential in login storage but this is no longer user-facing so users shouldn't expect it to be cleared. Users can still diconnect Sync properly from about:preferences.

Differential Revision: https://phabricator.services.mozilla.com/D53834
2019-11-20 15:07:32 +00:00
Tomislav Jovanovic
aeeaab99c2 Bug 1577498 - Part 1: ExtensionsActor and Conduits design for Fission IPC r=rpl,kmag
Differential Revision: https://phabricator.services.mozilla.com/D44368
2019-11-17 10:18:34 +00:00
Mihai Alexandru Michis
5cfcf0c8ac Bug 1597673 - Revert expectations for browser_ext_devtools_network.js r=kashav
Differential Revision: https://phabricator.services.mozilla.com/D53821
2019-11-19 15:41:39 +00:00
Kashav Madan
2f131c9366 Bug 1595183 - Unskip tests that are failing cleanly or no longer timing out, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D53090
2019-11-19 03:44:07 +00:00
Luca Greco
e5073385d7 Bug 1596542 - Skip test_browserData_should_not_remove_extension_data if LSNG is disabled. r=mixedpuppy
When LSNG is disabled, the browsingData API does clear the localStorage data by notify a "extension:purge-localStorage"
message over the observer service, when the browserData API call doesn't specify a list of specific origins to clear,
the code that handles "extension:purge-localStorage" will clear all the localStorage data, including the one stored by extensions:

- https://searchfox.org/mozilla-central/rev/e7c61f4a68b974d5fecd216dc7407b631a24eb8f/browser/components/extensions/parent/ext-browsingData.js#172
- https://searchfox.org/mozilla-central/rev/e7c61f4a68b974d5fecd216dc7407b631a24eb8f/dom/storage/StorageObserver.cpp#292-295,323,326

Differential Revision: https://phabricator.services.mozilla.com/D53071
2019-11-18 16:14:20 +00:00
Myeongjun Go
eeae9f2f52 Bug 1571110 - Change chrome_settings_overrides.search_provider.favicon_url from "url" to "relativeUrl" r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D52782
2019-11-15 16:30:08 +00:00
Drew Willcoxon
b675728c2a Bug 1595985 - Add browser.urlbar.closeView webextension API. r=mak,mixedpuppy
This is based on D52612

Differential Revision: https://phabricator.services.mozilla.com/D52792
2019-11-13 17:59:08 +00:00
Drew Willcoxon
2c8f573e0c Bug 1595641 - Add a focus option to browser.urlbar.search and add a browser.urlbar.focus function. r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D52612
2019-11-13 14:36:56 +00:00
Drew Willcoxon
4565a3926d Bug 1594622 - Quantumbar: Remove the context.preselected property and rely on result.heuristic instead r=mak
Please see bug 1594622 for a description.

Differential Revision: https://phabricator.services.mozilla.com/D52120
2019-11-08 18:50:00 +00:00
Drew Willcoxon
530a3a5400 Bug 1590461 - Add browser.urlbar.search() to the webextensions API r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D52127
2019-11-08 09:39:54 +00:00
Luca Greco
b07dbb8b0c Bug 1575891 - browsingData API should not clear nextGen localStorage data stored by browser components and extensions. r=mixedpuppy,asuth,johannh
Differential Revision: https://phabricator.services.mozilla.com/D48535
2019-11-07 17:00:42 +00:00
Andrew McCreight
dd81732c5b Bug 1580212, part 2 - Make dom.ipc.keepProcessesAlive.webIsolated work for Fission content processes. r=kmag
Also, enable it for the extensions test directory. Without this pref,
it gets frequent intermittent leaks and shutdown hangs when Fission is
enabled.

Differential Revision: https://phabricator.services.mozilla.com/D51752
2019-11-06 23:14:27 +00:00
Mélanie Chauvel (ariasuni)
356c32df7b Bug 1563380 - Fix tabs.duplicate() having a different behavior than duplicate in UI r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D48471
2019-11-05 23:41:56 +00:00
Brendan Dahl
ef30c33394 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-05 17:56:28 +00:00
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