Commit graph

399 commits

Author SHA1 Message Date
Mélanie Chauvel (ariasuni)
9632cae262 Bug 1560218 - browser.tabs.duplicate() can now specify index and active property r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D67782
2020-05-04 01:11:32 +00:00
Shane Caraveo
c6bf5854a2 Bug 1606862 support devtools as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71829
2020-04-30 18:39:23 +00:00
Daniel Varga
63b9840733 Backed out changeset 8a0b81f6263e (bug 1606862) for causing devtools failures at devtools/client/framework/test/browser_toolbox_toolbar_reorder_with_extension.js
CLOSED TREE
2020-04-30 06:05:20 +03:00
Shane Caraveo
257084d3fa Bug 1606862 support devtools as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71829
2020-04-30 01:50:34 +00:00
Dorel Luca
964d69b146 Backed out changeset 74dce6390e5e (bug 1606862) for Xpcshell failures in extensions/test/xpcshell/test_ext_startup_perf.js. CLOSED TREE 2020-04-30 04:17:57 +03:00
Shane Caraveo
327dcc3d53 Bug 1606862 support devtools as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71829
2020-04-29 23:28:27 +00:00
Shane Caraveo
774da1b8c9 Bug 1630418 support pkcs11 as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71123
2020-04-26 22:03:09 +00:00
Shane Caraveo
fff008fcaa Bug 1630414 support sessions as an optional permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71121
2020-04-26 22:03:12 +00:00
Shane Caraveo
cbd0fc6587 Bug 1630417 support browsingData as an optional permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71119
2020-04-26 22:03:14 +00:00
Cosmin Sabou
58b8c2e82b Backed out 5 changesets (bug 1630414, bug 1444294, bug 1630417, bug 1630418, bug 1548011) for failures on test_ext_all_apis.html. CLOSED TREE
Backed out changeset 1dde649fe4e0 (bug 1548011)
Backed out changeset 87d571004699 (bug 1630418)
Backed out changeset 0a2dafa70692 (bug 1630414)
Backed out changeset a127af3c4cd1 (bug 1630417)
Backed out changeset b35022051d3d (bug 1444294)
2020-04-27 00:52:27 +03:00
Shane Caraveo
987fe115e1 Bug 1630418 support pkcs11 as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71123
2020-04-26 18:37:32 +00:00
Shane Caraveo
1c02178fbe Bug 1630414 support sessions as an optional permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71121
2020-04-17 00:26:13 +00:00
Shane Caraveo
c7ac624b25 Bug 1630417 support browsingData as an optional permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71119
2020-04-21 10:05:44 +00:00
Atique Ahmed Ziad
44b1afb64a Bug 1603796 - support tabs.goForward and tabs.goBack r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D62964
2020-04-26 11:24:47 +00:00
Shane Caraveo
871d0aad0e Bug 1622917 add schema support to determine permissions that do not require prompting r=zombie,agi
Differential Revision: https://phabricator.services.mozilla.com/D70137

--HG--
extra : moz-landing-system : lando
2020-04-11 20:35:59 +00:00
Brindusan Cristian
2432095238 Backed out changeset 4fd31338db03 (bug 1603796) for mochitest failures at test_ext_all_apis.html. CLOSED TREE
--HG--
extra : rebase_source : a5bcc9871620ac1b2dd9de6e6d53b0f0171b6c2b
2020-04-13 20:36:19 +03:00
Atique Ahmed Ziad
a782826390 Bug 1603796 - support tabs.goForward and tabs.goBack r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D62964

--HG--
extra : moz-landing-system : lando
2020-04-13 15:43:53 +00:00
dw-dev
3ad6458b99 Bug 1483590 support passing a filename to saveAsPDF r=mixedpuppy
Add optional 'toFileName' property to the 'pageSettings' object
passed into tabs.saveAsPDF().

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

--HG--
extra : moz-landing-system : lando
2020-03-03 09:14:54 +00:00
Rob Wu
2b587393c5 Bug 1475043 - Allow "" as shortcut in commands.update r=rpl
- Allow empty string ("") as a value for "shortcut" in the
  commands.update API.

- Use an empty string instead of null for an unset shortcut in
  `commands.getAll`, to match the documented behavior (and for
  consistency with Chrome).

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

--HG--
extra : moz-landing-system : lando
2020-01-22 13:18:16 +00:00
Harry Twyford
189cfa08b7 Bug 1605958 - Disable openViewOnFocus WebExt API. r=mikedeboer
This API is no longer needed, seeing as the Top Sites experiment is over. Dao suggested in bug 1605958 comment 1 that it be removed.

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

--HG--
extra : moz-landing-system : lando
2019-12-30 16:30:35 +00:00
Harry Twyford
2adf41645c Bug 1590450 - Remove the contextual tip API. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D57133

--HG--
extra : moz-landing-system : lando
2019-12-13 22:58:21 +00:00
Mélanie Chauvel (ariasuni)
6180dbb2e7 Bug 1453355 - Add sidebarAction.toggle() to WebExtensions API r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D54005

--HG--
extra : moz-landing-system : lando
2019-12-09 14:52:45 +00:00
Marco Bonardo
4b9e5194b2 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

--HG--
extra : moz-landing-system : lando
2019-12-02 17:20:39 +00:00
Drew Willcoxon
63a154b6a0 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

--HG--
extra : moz-landing-system : lando
2019-11-25 23:52:56 +00:00
Mark Banner
d0a29268be Bug 1597727 - Preference based MozParams should be able to have a localised preference name. r=mixedpuppy,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D54112

--HG--
extra : moz-landing-system : lando
2019-11-21 21:54:06 +00:00
Shane Caraveo
f4195627c7 Bug 1595081 remove documentation about quoted phrases in bookmark search r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D54006

--HG--
extra : moz-landing-system : lando
2019-11-20 18:43:23 +00:00
Agi Sferro
84be57762d Bug 1530402 - Implement {Browser,Page}Action for GeckoView. r=snorp,mixedpuppy,esawin
Design doc: https://docs.google.com/document/d/1XJuKk9Hm_2RNbX8KRcyUOXTaELBWYMyXBUchz15OElY

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

--HG--
rename : browser/components/extensions/schemas/browser_action.json => toolkit/components/extensions/schemas/browser_action.json
rename : browser/components/extensions/schemas/page_action.json => toolkit/components/extensions/schemas/page_action.json
extra : moz-landing-system : lando
2019-11-18 16:49:02 +00:00
Noemi Erli
9548dd980a Backed out 13 changesets (bug 1530402, bug 1533156) for causing raptor failures CLOSED TREE
Backed out changeset 6d7b7d22b0c6 (bug 1530402)
Backed out changeset acea32ec5975 (bug 1530402)
Backed out changeset 597e32ad2f5b (bug 1530402)
Backed out changeset 352068fe68bc (bug 1530402)
Backed out changeset e0ae4f16f7ed (bug 1530402)
Backed out changeset 282b033c7daa (bug 1530402)
Backed out changeset 72274a5a821b (bug 1530402)
Backed out changeset 3d3366fe476f (bug 1530402)
Backed out changeset 7400c3fd2b5f (bug 1530402)
Backed out changeset 23d43a425641 (bug 1530402)
Backed out changeset 83b9603f5fa1 (bug 1530402)
Backed out changeset 50c50a80e881 (bug 1533156)
Backed out changeset 5975264fd34b (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
extra : rebase_source : 551e88b6719692756499387e93f797454a336180
2019-11-15 18:57:20 +02:00
Agi Sferro
55147a9528 Bug 1530402 - Implement {Browser,Page}Action for GeckoView. r=snorp,mixedpuppy,esawin
Design doc: https://docs.google.com/document/d/1XJuKk9Hm_2RNbX8KRcyUOXTaELBWYMyXBUchz15OElY

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

--HG--
rename : browser/components/extensions/schemas/browser_action.json => toolkit/components/extensions/schemas/browser_action.json
rename : browser/components/extensions/schemas/page_action.json => toolkit/components/extensions/schemas/page_action.json
extra : moz-landing-system : lando
2019-11-15 16:33:57 +00:00
Myeongjun Go
ae4ad56aab Bug 1571110 - Change chrome_settings_overrides.search_provider.favicon_url from "url" to "relativeUrl" r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D52782

--HG--
extra : moz-landing-system : lando
2019-11-15 16:30:08 +00:00
Andreea Pavel
30f5e9486a Backed out 13 changesets (bug 1530402, bug 1533156) for failing test_ext_tabs_query.html on a CLOSED TREE
Backed out changeset aa9499a196e3 (bug 1530402)
Backed out changeset ce12e494a189 (bug 1530402)
Backed out changeset 1b053a203af9 (bug 1530402)
Backed out changeset f57bc0ee284b (bug 1530402)
Backed out changeset 701de7bcb484 (bug 1530402)
Backed out changeset ab7b21969769 (bug 1530402)
Backed out changeset c7b8cc91f245 (bug 1530402)
Backed out changeset e2be10dbad5e (bug 1530402)
Backed out changeset f52a8fedcded (bug 1530402)
Backed out changeset 4fcca36d5b3e (bug 1530402)
Backed out changeset 82b28001164b (bug 1530402)
Backed out changeset 1dc6a4ebc9e1 (bug 1533156)
Backed out changeset ae5ead19921d (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
2019-11-15 05:48:23 +02:00
Agi Sferro
d39cf52795 Bug 1530402 - Implement {Browser,Page}Action for GeckoView. r=snorp,mixedpuppy,esawin
Design doc: https://docs.google.com/document/d/1XJuKk9Hm_2RNbX8KRcyUOXTaELBWYMyXBUchz15OElY

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

--HG--
rename : browser/components/extensions/schemas/browser_action.json => toolkit/components/extensions/schemas/browser_action.json
rename : browser/components/extensions/schemas/page_action.json => toolkit/components/extensions/schemas/page_action.json
extra : moz-landing-system : lando
2019-11-14 19:08:46 +00:00
Csoregi Natalia
4cf34e2666 Backed out 13 changesets (bug 1530402, bug 1533156) for multiple failures e.g columnrule-linestyles.html and test_composite.html. CLOSED TREE
Backed out changeset 9e55fee783ff (bug 1530402)
Backed out changeset f6af9d6a5482 (bug 1530402)
Backed out changeset bf09025d6f98 (bug 1530402)
Backed out changeset 9717ba255826 (bug 1530402)
Backed out changeset e34768ee01db (bug 1530402)
Backed out changeset b540d7b34ef6 (bug 1530402)
Backed out changeset 126af041394b (bug 1530402)
Backed out changeset cf16e02e62cd (bug 1530402)
Backed out changeset 3638fcff5bed (bug 1530402)
Backed out changeset 9630bed0ca2c (bug 1530402)
Backed out changeset 1aa5898efa5f (bug 1530402)
Backed out changeset 7462bbe4e676 (bug 1533156)
Backed out changeset 536a4cac3ffe (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
2019-11-14 03:46:37 +02:00
Agi Sferro
644a663e7d Bug 1530402 - Implement {Browser,Page}Action for GeckoView. r=snorp,mixedpuppy,esawin
Design doc: https://docs.google.com/document/d/1XJuKk9Hm_2RNbX8KRcyUOXTaELBWYMyXBUchz15OElY

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

--HG--
rename : browser/components/extensions/schemas/browser_action.json => toolkit/components/extensions/schemas/browser_action.json
rename : browser/components/extensions/schemas/page_action.json => toolkit/components/extensions/schemas/page_action.json
extra : moz-landing-system : lando
2019-11-13 20:29:15 +00:00
Drew Willcoxon
28e518c9d3 Bug 1595985 - Add browser.urlbar.closeView webextension API. r=mak,mixedpuppy
This is based on D52612

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

--HG--
extra : moz-landing-system : lando
2019-11-13 17:59:08 +00:00
Drew Willcoxon
c7fdbd70eb 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

--HG--
extra : moz-landing-system : lando
2019-11-13 14:36:56 +00:00
Drew Willcoxon
b257252e66 Bug 1590461 - Add browser.urlbar.search() to the webextensions API r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D52127

--HG--
extra : moz-landing-system : lando
2019-11-08 09:39:54 +00:00
gfmcknight
79bcb52abe 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

--HG--
extra : moz-landing-system : lando
2019-10-28 15:33:11 +00:00
Harry Twyford
713e2a8e91 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

--HG--
extra : moz-landing-system : lando
2019-10-23 15:26:08 +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
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
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
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
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
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