Commit Graph

2253 Commits

Author SHA1 Message Date
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
monikamaheshwari
edb30ffaec Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629
2019-09-14 09:39:26 +00:00
Rob Wu
5b549126d7 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
2019-09-12 21:39:51 +00:00
Coroiu Cristina
fefeba975d 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
gfmcknight
24a36c3701 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-12 20:41:24 +00:00
Shane Caraveo
721bd437df Bug 1537982 fix intermittent in browser_ext_pageAction_show_matches.js r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D45442
2019-09-12 18:22:49 +00:00
Shane Caraveo
d1ef597b01 Bug 1411046 fix emiting uninstall events on startup if extensions were removed r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D43551
2019-09-11 14:00:20 +00:00
Shane Caraveo
9267f4d288 Bug 1580049 fix clearing newtab prefs used by extensions r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D45279
2019-09-11 13:59:30 +00:00
Peter Van der Beken
7391fe8731 Bug 1578716 - Make browser_ext_contextMenus_targetUrlPatterns.js wait for end of load of about:reader before sending mouse event. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44663
2019-09-05 14:36:46 +00:00
Luca Greco
501a5353ce Bug 1570645 - devtools panels registered by extension should provide an aria-label. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D44677
2019-09-05 15:19:50 +00:00
Dorel Luca
233650fa6f Backed out changeset 0b809df52f3f (bug 1578716) for Eslint failure. CLOSED TREE 2019-09-05 15:53:25 +03:00
Peter Van der Beken
f48bc3e13d Bug 1578716 - Make browser_ext_contextMenus_targetUrlPatterns.js wait for end of load of about:reader before sending mouse event. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44663
2019-09-05 12:15:15 +00:00
Gijs Kruitbosch
fd6d8b81af Bug 1578709 - Only set flash only pref for those tests that need it, r=mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44648
2019-09-04 22:12:39 +00:00
Gurzau Raul
dc069995b6 Backed out changeset 887d125d7f59 (bug 1578709) for failing at test_bug427744.html on a CLOSED TREE. 2019-09-04 21:34:11 +03:00
Gijs Kruitbosch
9eb3049380 Bug 1578709 - Only set flash only pref for those tests that need it, r=mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44648
2019-09-04 17:28:02 +00:00
myeongjun
f50444280b Bug 1495908 - Label unexpected WebExtension manifest.json properties as a Warning r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D40413
2019-09-02 15:50:26 +00:00
Andreea Pavel
ac1bdeedee Bug 1575369 - disabled browser_ext_sidebarAction_incognito.js on all platforms r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D43972
2019-08-29 16:02:40 +00:00
Luca Greco
99de27e9c5 Bug 1562117 - Fix race in test_ext_normandyAddonStudy test cases. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D43742
2019-08-28 17:32:28 +00:00
Paul Bone
2ad1a8da96 Bug 1576814 - Skip tests that timeout r=kmag
Depends on D43572

Differential Revision: https://phabricator.services.mozilla.com/D43573
2019-08-27 19:07:43 +00:00
Tomislav Jovanovic
cf4fb3c8f5 Bug 1573045 - Use {restrictedSchemes: false} for tabs.query MatchPattern r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D43602
2019-08-27 20:12:22 +00:00
Shane Caraveo
dd2a44a3fd Bug 1576267 move "Message manager disconnected" whitelist into head files r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D43294
2019-08-26 18:15:25 +00:00
Shane Caraveo
7dda2b1664 Bug 1513705 remove non-oop tests from extension browser tests r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D42941
2019-08-26 18:04:03 +00:00
Coroiu Cristina
90270999c1 Backed out changeset 5a6df778cbae (bug 1575369) becasuse fix already landed 2019-08-24 02:52:42 +03:00
Coroiu Cristina
e42c86f230 Bug 1575369 - disabled browser/test-oop-extensions/browser_ext_sidebarAction_incognito.js on mac r=me on a CLOSED TREE 2019-08-24 01:10:22 +03:00
Kris Maglione
f6d65e8798 Bug 1576247: Re-enable WebExtensions browser mochitests on fission debug. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D43287
2019-08-23 19:20:31 +00:00
Kris Maglione
3175fc1387 Bug 1575369: Fix test race. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D43288
2019-08-23 19:19:59 +00:00
Narcis Beleuzu
276df60a1b Bug 1575369 - Disable browser_ext_sidebarAction_incognito.js on Mac and Win10. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D43176
2019-08-23 17:42:52 +00:00
Omkar Konaraddi
8c43e60d04 Bug 1575972 - Support favicon for defaultIcon on contextual tip r=adw
Differential Revision: https://phabricator.services.mozilla.com/D43153
2019-08-23 04:22:33 +00:00
Peter Van der Beken
7c2665df12 Bug 1570330 - Make test_doorhanger_homepage_button (in browser_ext_chrome_settings_overrides_home.js) wait on page load before moving to next task. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D43088
2019-08-23 10:05:19 +00:00
Kris Maglione
adf85e7260 Bug 1561705: Part 2 - Use regular SpecialPowers actor for browser chrome tests. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D42179
2019-08-14 16:14:02 -07:00
Razvan Maries
ed9e0d339d Bug 1570478 - Disabled browser_ext_devtools_network.js on Windows, Linux and MacOS. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D42456
2019-08-19 09:22:20 +00:00
Mark Banner
e161f18782 Bug 1571466 - Cleanup unnecessary ESLint global definitions. r=mossop
These are raised as redeclares or unused variables by ESLint 6.

Differential Revision: https://phabricator.services.mozilla.com/D37268
2019-08-19 07:11:56 +00:00
Abdoulaye O. Ly
2943eea2bf Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780
2019-08-15 19:51:42 +00:00
Oana Pop Rus
cfafc2c7fc Backed out 3 changesets (bug 1559244) for browser chrome failure in browser_background_tab_crash.js on a CLOSED TREE
Backed out changeset 1ce7d9bbe7a1 (bug 1559244)
Backed out changeset dced8cea7b23 (bug 1559244)
Backed out changeset dabda4e90259 (bug 1559244)
2019-08-15 22:21:26 +03:00
Abdoulaye O. Ly
d0473c5187 Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780
2019-08-15 17:16:26 +00:00
Omkar Konaraddi
fa9fbefd3c Bug 1559501 - Implement icon support through setContextualTip r=adw,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D39820
2019-08-12 19:43:42 +00:00
Omkar Konaraddi
b5602b6323 Bug 1559508 - Implement onButtonClicked and onLinkClicked events r=adw,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D39538
2019-08-12 17:55:50 +00:00
Omkar Konaraddi
7816ff6946 Bug 1568708 - Set contextual tip's texts, remove tip during onShutdown, require urlbar permission r=adw,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D39521
2019-08-09 17:50:06 +00:00