Commit Graph

2255 Commits

Author SHA1 Message Date
Butkovits Atila
704b42a2a2 Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE
Backed out changeset 2ee1091dd20d (bug 1613705)
Backed out changeset d377afc0b09f (bug 1613705)
Backed out changeset de9d4378f0ac (bug 1613705)
Backed out changeset 9843372abb6e (bug 1613705)
Backed out changeset 5fc5918e5905 (bug 1613705)
Backed out changeset a7aeae7afd49 (bug 1613705)
Backed out changeset 5d61617a5402 (bug 1613705)
Backed out changeset 85bf98573899 (bug 1613705)
Backed out changeset 175af8a1b8c2 (bug 1613705)
Backed out changeset 93fcb23d7898 (bug 1613705)
Backed out changeset 595529cd906f (bug 1613705)
Backed out changeset 9f3e2963d925 (bug 1613705)
Backed out changeset 442289058933 (bug 1613705)
Backed out changeset fc3b9acb0e81 (bug 1613705)
Backed out changeset 408983c64f7f (bug 1613705)
Backed out changeset 08b637fc3fcd (bug 1613705)
Backed out changeset 6ef0aafd2db0 (bug 1613705)
Backed out changeset d88b294e0a5e (bug 1613705)
Backed out changeset e6bebff87544 (bug 1613705)
2021-08-03 12:36:01 +03:00
Zibi Braniecki
55af7be6e7 Bug 1613705 - [localization] part17: Fix racy tests to wait for l10n frame. r=platform-i18n-reviewers,dminor,application-update-reviewers,nalexander
Depends on D116791

Differential Revision: https://phabricator.services.mozilla.com/D116792
2021-08-03 05:52:06 +00:00
Tomislav Jovanovic
e592a043b5 Bug 1722966 - Warn and ignore new MV3 keys in existing MV2 extensions r=mixedpuppy,robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D121242
2021-07-30 13:35:29 +00:00
Noemi Erli
2516c2bf21 Backed out changeset cbf0b6867654 (bug 1722966) for causing failures in test_ext_schemas_versioned.js CLOSED TREE 2021-07-30 04:01:36 +03:00
Tomislav Jovanovic
39416e9b77 Bug 1722966 - Warn and ignore new MV3 keys in existing MV2 extensions r=mixedpuppy,robwu
Differential Revision: https://phabricator.services.mozilla.com/D121242
2021-07-29 23:50:29 +00:00
Iulian Moraru
8706cc45c3 Bug 1722749 - fix eslint failures. a=lint-fix CLOSED TREE 2021-07-29 11:26:56 +03:00
Alexandre Poirot
50b5212e5b Bug 1722749 - [devtools] Fix browser_ext_devtools_inspectedWindow_targetSwitch.js with server targets. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D121107
2021-07-29 07:41:49 +00:00
Christoph Kerschbaumer
5ee0a6a910 Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 19:16:16 +00:00
Sandor Molnar
5e383dfda4 Backed out changeset 7eb8945dd8e3 (bug 1719272) for causing bustages in gecko decision task. CLOSED TREE 2021-07-28 19:47:06 +03:00
Christoph Kerschbaumer
8fef13ba13 Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 16:08:07 +00:00
Andrew Osmond
c2bb6740bf Bug 1721945 - Move Linux mochitest-browser-chrome tests to Software WebRender. r=jmaher
autoland

--- target_task_set@27882dfe84fb
+++ target_task_set@ao_ci_linux_browser_chrome_swr
+test-linux1804-64-asan-qr/opt-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-asan-qr/opt-mochitest-browser-chrome-swr-fis-e10s
-test-linux1804-64-asan/opt-mochitest-browser-chrome-e10s
-test-linux1804-64-asan/opt-mochitest-browser-chrome-fis-e10s
+test-linux1804-64-qr/debug-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-qr/debug-mochitest-browser-chrome-swr-fis-e10s
+test-linux1804-64-qr/opt-mochitest-browser-chrome-swr-a11y-checks-e10s
+test-linux1804-64-qr/opt-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-qr/opt-mochitest-browser-chrome-swr-fis-e10s
+test-linux1804-64-qr/opt-mochitest-devtools-chrome-a11y-checks-e10s
-test-linux1804-64/debug-mochitest-browser-chrome-e10s
-test-linux1804-64/debug-mochitest-browser-chrome-fis-e10s
-test-linux1804-64/opt-mochitest-browser-chrome-a11y-checks-e10s
-test-linux1804-64/opt-mochitest-browser-chrome-e10s
-test-linux1804-64/opt-mochitest-browser-chrome-fis-e10s

mozilla-central

--- target_task_set@27882dfe84fb
+++ target_task_set@ao_ci_linux_browser_chrome_swr
+test-linux1804-64-asan-qr/opt-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-asan-qr/opt-mochitest-browser-chrome-swr-fis-e10s
-test-linux1804-64-asan/opt-mochitest-browser-chrome-e10s
-test-linux1804-64-asan/opt-mochitest-browser-chrome-fis-e10s
+test-linux1804-64-ccov-qr/opt-mochitest-browser-chrome-swr-e10s
-test-linux1804-64-ccov/opt-mochitest-browser-chrome-e10s
+test-linux1804-64-qr/debug-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-qr/debug-mochitest-browser-chrome-swr-fis-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-browser-chrome-swr-a11y-checks-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-browser-chrome-swr-fis-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-devtools-chrome-a11y-checks-e10s
-test-linux1804-64-shippable/opt-mochitest-browser-chrome-a11y-checks-e10s
-test-linux1804-64-shippable/opt-mochitest-browser-chrome-e10s
-test-linux1804-64-shippable/opt-mochitest-browser-chrome-fis-e10s
-test-linux1804-64/debug-mochitest-browser-chrome-e10s
-test-linux1804-64/debug-mochitest-browser-chrome-fis-e10s

mozilla-release

--- target_task_set@27882dfe84fb
+++ target_task_set@ao_ci_linux_browser_chrome_swr
+test-linux1804-64-asan-qr/opt-mochitest-browser-chrome-swr-e10s
-test-linux1804-64-asan/opt-mochitest-browser-chrome-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-browser-chrome-swr-e10s
-test-linux1804-64-shippable/opt-mochitest-browser-chrome-e10s
-test-linux1804-64/debug-mochitest-browser-chrome-e10s

Differential Revision: https://phabricator.services.mozilla.com/D120977
2021-07-27 19:22:36 +00:00
Tomislav Jovanovic
78839621be Bug 1717872 - Fix browser_ext_tabs_discard_reversed test with Fission and SHIP r=robwu
Since this is testing undesired but previously consistent behavior, I'm just
relaxing the (sometimes) expected results with Fission SHIP.

Differential Revision: https://phabricator.services.mozilla.com/D120798
2021-07-27 17:56:01 +00:00
Luca Greco
230cdc7b64 Bug 1722145 - extension devtools page and panels should not be enabled/disabled when unrelated optional permissions are granted/revoked. r=mixedpuppy,robwu
Differential Revision: https://phabricator.services.mozilla.com/D120846
2021-07-27 13:56:36 +00:00
Nicolas Chevobbe
488883f936 Bug 1691575 - [devtools] Don't rely on webconsole fronts to fetch longStrings fullText. r=bomsy.
The Netmonitor used to call the WebConsoleFront `getString` method to get the full
text of a long string. This could make some test to fail with Fission and target
switching.
Since the webconsole actor is not even involved in the webconsole method, there's
no reason to keep using it. A similar function is added into a util file; the only
difference is that it doesn't cache the front it creates, which does not matter
as the netmonitor only calls this once and then put the full text in its redux
store.
This allows us to re-enable `browser_ext_devtools_network.js` with Fission.

Differential Revision: https://phabricator.services.mozilla.com/D120333
2021-07-20 15:20:11 +00:00
Nicolas Chevobbe
ac50af1b83 Bug 1691575 - [devtools] Don't explicitly destroy target front in head_devtools.js closeToolboxForTab. r=ochameau,rpl.
The helper is already calling `gDevTools.closeToolboxForTab`, which does take care
of destroying its associated descriptor.
This makes some extension test to pass with server side target switching enabled.

Differential Revision: https://phabricator.services.mozilla.com/D120332
2021-07-20 15:20:11 +00:00
Sam Foster
c920c4f341 Bug 1708008 - Remove browser's extension icon, always use extensionGeneric as default extension icon. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D119931
2021-07-19 16:58:11 +00:00
Luca Greco
78b6e7daa1 Bug 1570478 - Re-enabled browser_ext_devtools_network.js on all jobs besides fission. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D119115
2021-07-14 14:02:41 +00:00
Karim Rahal
ee161952b3 Bug 1690613 - Allow access to url/title/favIconUrl with extension host permission in Tab.convertFromSessionStoreClosedData; add unit test. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D119735
2021-07-13 18:07:43 +00:00
Harry Twyford
079579c0fb Bug 1717509 - Part 5 - Replace references to UnifiedComplete with references to UrlbarProviderPlaces. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D119310
2021-07-09 23:52:39 +00:00
Anny Gakhokidze
33a3d37016 Bug 1692749 - Skip superfluous about:blank load when duplicating a tab, r=kashav,extension-reviewers,kmag
When we duplicate a tab, we don't need to have about:blank load in it, because
we are going to use restore mechanism to copy data into the new tab. If we
don't skip the superfluous load, the restoring process might race with the
loading of about:blank, and sometimes we might try to destroy the
WindowGlobalChild actor just as SessionStore is trying to restore docshell
capabilities for that tab resulting in a rejected promise in _restoreHistory
and `_restoreHistoryComplete` not getting called.

Differential Revision: https://phabricator.services.mozilla.com/D119313
2021-07-08 22:31:52 +00:00
Mark Striemer
aefaad96af Bug 1666247 - Part 1: Add a simplify page checkbox r=emalysz,flod
Differential Revision: https://phabricator.services.mozilla.com/D102356
2021-07-08 03:54:19 +00:00
Marian-Vasile Laza
f6e8cad90d Backed out changeset 41171ae56f5e (bug 1692749) for causing bc failures on browser_searchMode_sessionStore.js. CLOSED TREE 2021-07-08 02:37:31 +03:00
Anny Gakhokidze
fc48a089ea Bug 1692749 - Skip superfluous about:blank load when duplicating a tab, r=kashav,extension-reviewers,kmag
When we duplicate a tab, we don't need to have about:blank load in it, because
we are going to use restore mechanism to copy data into the new tab. If we
don't skip the superfluous load, the restoring process might race with the
loading of about:blank, and sometimes we might try to destroy the
WindowGlobalChild actor just as SessionStore is trying to restore docshell
capabilities for that tab resulting in a rejected promise in _restoreHistory
and `_restoreHistoryComplete` not getting called.

Differential Revision: https://phabricator.services.mozilla.com/D119313
2021-07-07 22:08:46 +00:00
Luca Greco
85fd966cc9 Bug 1642444 - Fix intermittent failures triggered by browser_ext_tabs_executeScript.js. r=mixedpuppy CLOSED TREE
I was unable to reproduce this locally, but looking to the logs from the failures tracked by this bug
I did notice this logged error which suspiciously point in the direction of a race between registering
a browser.runtime.onMessage listener and sending a message to that listner from the content script "script.js":

```
Console message: [JavaScript Error: "Error: Could not establish connection. Receiving end does not exist."
                 {file: "moz-extension://f0d0d3ec-6815-4d78-aa83-3516814353a2/script.js" line: 2}]
```

This patch just change the order of those two promise, making sure that the browser.runtime.onMessage will be registered by the time the content script is going to be executed.

Differential Revision: https://phabricator.services.mozilla.com/D119175
2021-07-07 18:42:18 +00:00
Narcis Beleuzu
992c31cd0e Backed out changeset 77f16565a279 (bug 1642444) for WP failures on iframe-cross-origin-print.sub.html CLOSED TREE 2021-07-07 23:15:46 +03:00
Luca Greco
bbdc4fc2e7 Bug 1642444 - Fix intermittent failures triggered by browser_ext_tabs_executeScript.js. r=mixedpuppy
I was unable to reproduce this locally, but looking to the logs from the failures tracked by this bug
I did notice this logged error which suspiciously point in the direction of a race between registering
a browser.runtime.onMessage listener and sending a message to that listner from the content script "script.js":

```
Console message: [JavaScript Error: "Error: Could not establish connection. Receiving end does not exist."
                 {file: "moz-extension://f0d0d3ec-6815-4d78-aa83-3516814353a2/script.js" line: 2}]
```

This patch just change the order of those two promise, making sure that the browser.runtime.onMessage will be registered by the time the content script is going to be executed.

Differential Revision: https://phabricator.services.mozilla.com/D119175
2021-07-07 18:42:18 +00:00
Shane Caraveo
f263dad260 Bug 1717006 support choice+string enumeration injection to fix access to menus.ContextType r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D118856
2021-06-26 15:07:37 +00:00
Sam Foster
d3fd7ac161 Bug 1699586 - De-duplicate default down arrow icons, rename as arrow-down.svg. r=harry,desktop-theme-reviewers,Itiel,extension-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D117576
2021-06-25 00:03:21 +00:00
Jasleen
95e398ca26 Bug 1716642 - Replaced calls to GlobalManager.extensionMap.get() with WebExtensionPolicy.getByID(). r=Standard8,kmag,robwu
Differential Revision: https://phabricator.services.mozilla.com/D118407
2021-06-24 15:06:17 +00:00
Dorel Luca
6df8d65dc2 Backed out 6 changesets (bug 1699586) for Browser-chrome failures in browser/base/content/test/performance/browser_startup_images.js. CLOSED TREE
Backed out changeset 8d42246a3ee8 (bug 1699586)
Backed out changeset e492a3c410b1 (bug 1699586)
Backed out changeset 621c35b393a2 (bug 1699586)
Backed out changeset 91f70d7ff2b1 (bug 1699586)
Backed out changeset 25a77358d2bc (bug 1699586)
Backed out changeset 1d3c1fe20fe9 (bug 1699586)
2021-06-24 02:03:18 +03:00
Sam Foster
04400d2227 Bug 1699586 - De-duplicate default down arrow icons, rename as arrow-down.svg. r=harry,desktop-theme-reviewers,Itiel,extension-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D117576
2021-06-23 18:49:42 +00:00
Kashav Madan
0795de2ffe Bug 1696815 - Handle browser.loadURI() calls that happen before the browser is fully restored, r=annyG,nika,zombie
Differential Revision: https://phabricator.services.mozilla.com/D118101
2021-06-23 16:15:51 +00:00
Alexandru Michis
8d8a297193 Backed out 2 changesets (bug 1696815) for causing bc failures in browser_ext_tabs_discard_reversed.js
CLOSED TREE

Backed out changeset b52bf621dbe4 (bug 1696815)
Backed out changeset ca4535b8d3aa (bug 1696815)
2021-06-23 02:09:45 +03:00
Kashav Madan
d6c17ef6fa Bug 1696815 - Handle browser.loadURI() calls that happen before the browser is fully restored, r=annyG,nika,zombie
Differential Revision: https://phabricator.services.mozilla.com/D118101
2021-06-22 19:58:42 +00:00
Anny Gakhokidze
2ff9c173d4 Bug 1682361 - Make test wait for SessionStore.getLastClosedTabCount to be correct to give it time to update, r=kashav,robwu
Differential Revision: https://phabricator.services.mozilla.com/D118423
2021-06-22 16:50:44 +00:00
Andrew Osmond
2132be6846 Bug 1715515 - Part 1. Switch Windows 32 and mingwclang tests to WebRender. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117287
2021-06-21 12:46:32 +00:00
Brindusan Cristian
9b2519a5d8 Backed out 2 changesets (bug 1715515) for breaking the decision task.
CLOSED TREE

Backed out changeset 2e674ac39f8f (bug 1715515)
Backed out changeset 39580a1b4188 (bug 1715515)
2021-06-18 03:20:07 +03:00
Andrew Osmond
c0874182a4 Bug 1715515 - Part 1. Switch Windows 32 and mingwclang tests to WebRender. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117287
2021-06-17 23:53:39 +00:00
Shane Caraveo
6105a0cf3a Bug 1706398 support action context type for context menus r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D116858
2021-06-15 14:51:13 +00:00
Shane Caraveo
582b330975 Bug 1706398 support internal command _execute_action r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D114028
2021-06-15 14:51:12 +00:00
Shane Caraveo
647348a86c Bug 1706398 implement action support and alias browser_action to action. r=robwu,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D113461
2021-06-15 14:51:12 +00:00
Kris Maglione
6f088a3c1c Bug 1646560: Part 1 - Move some XPCShell content helpers to generic shared module. r=nika
They were originally written for the extension framework, but have been used
more and more widely ever since.

Differential Revision: https://phabricator.services.mozilla.com/D114898
2021-06-15 04:40:10 +00:00
Andrew Halberstadt
1bc15a59d9 Bug 1713895 - Remove fission skip-if annotations from browser/components/extensions/test/browser/browser.ini, r=intermittent-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D117076
2021-06-08 18:25:17 +00:00
Luca Greco
41481baf6a Bug 1707644 - Allow in browser_ext_devtools_inspectedWindow_reload rejections triggered by devtools requests sent on a closing RDP connection. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D116999
2021-06-07 16:43:55 +00:00
Harry Twyford
73746decdd Bug 1677126 - Part 4 - Port remote tab tests and update them to expect result flex. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D114895
2021-06-02 22:43:29 +00:00
Sonia Singla
d4569b4c00 Bug 1661517 - Removed extensions.allowPrivateBrowsingByDefault preference. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D97094
2021-06-02 21:48:05 +00:00
Andrew Halberstadt
cbd804bdc5 Bug 1694824 - [ci] Annotate browser-chrome manifests for new fission failures, r=jmaher,extension-reviewers,preferences-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D116276
2021-06-02 19:22:25 +00:00
Nicolas Chevobbe
47081cbc29 Bug 1712739 - [devtools] Fold custom WebConsoleFront#evaluateJSAsync method into scriptCommand#execute. r=ochameau.
Tests that were using `evaluateJSAsync` are updated, either by using the new command,
or by awaiting for the `evaluationResult` event.
A couple chrome tests were moved to devtools/shared/commands/js/tests/ and turned
into browser tests, and some of them were completely removed as we tested the
features in mochitests as well.

Differential Revision: https://phabricator.services.mozilla.com/D116248
2021-06-02 13:15:06 +00:00
Mark Banner
8156e83bee Bug 1641913 - Change browser_ext_settings_overrides_default_search.js to use a custom search engine list. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D115826
2021-06-01 20:17:44 +00:00
Luca Greco
0baa19612c Bug 1438663 - Fix browserAction focus test intermittency in browser_ext_popup_focus.js and renable it. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D116019
2021-06-01 16:54:14 +00:00