Commit graph

2145 commits

Author SHA1 Message Date
Drew Willcoxon
bc2e6501df Bug 1699227 - Support negative suggestedIndex values to allow indexes to be specified from the end of the list of urlbar results. r=mak
Given the result span problem described in bug 1699211 and bug 1699607,
currently there's no way for quick suggest to accurately specify the last index
as its suggested index.

Differential Revision: https://phabricator.services.mozilla.com/D109571
2021-03-25 20:32:52 +00:00
Kris Maglione
28f9b0d638 Bug 1581859: Part 4f - Migrate to the native WebNavigation implementation. r=zombie
This migrates WebNavigation.jsm to use messages from PExtensionsParent
generated by the native WebNavigationContent class, and removes the now-unused
WebNavigationContent.js frame script.

Differential Revision: https://phabricator.services.mozilla.com/D103217
2021-03-25 19:47:04 +00:00
Csoregi Natalia
024e0b2323 Backed out 10 changesets (bug 1581859) for causing hazard failures. CLOSED TREE
Backed out changeset 93fe6801a5e2 (bug 1581859)
Backed out changeset 0a33cb185fb3 (bug 1581859)
Backed out changeset 9ceaad6dab5b (bug 1581859)
Backed out changeset ee611f0839ca (bug 1581859)
Backed out changeset 4199963fe477 (bug 1581859)
Backed out changeset b4c5ace21b9e (bug 1581859)
Backed out changeset 6003469dc449 (bug 1581859)
Backed out changeset 826c62b783c0 (bug 1581859)
Backed out changeset e1d7851295fd (bug 1581859)
Backed out changeset 9796577af27a (bug 1581859)
2021-03-24 08:48:00 +02:00
Kris Maglione
ff1b1ae970 Bug 1581859: Part 4f - Migrate to the native WebNavigation implementation. r=zombie
This migrates WebNavigation.jsm to use messages from PExtensionsParent
generated by the native WebNavigationContent class, and removes the now-unused
WebNavigationContent.js frame script.

Differential Revision: https://phabricator.services.mozilla.com/D103217
2021-03-23 23:57:13 +00:00
Gijs Kruitbosch
26156d0573 Bug 1699828 - put extension items at the top of the content menu on macOS, r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D109367
2021-03-23 11:40:24 +00:00
Cosmin Sabou
7eba371387 Backed out 10 changesets (bug 1581859) for causing hazard failures on ExtensionsParent.cpp.
Backed out changeset 6020ec7d7f32 (bug 1581859)
Backed out changeset 07901e457839 (bug 1581859)
Backed out changeset e23389fc98b5 (bug 1581859)
Backed out changeset 4287eebc2c77 (bug 1581859)
Backed out changeset eeff6f501cfc (bug 1581859)
Backed out changeset 22db36f7d16d (bug 1581859)
Backed out changeset 16831d45d0ed (bug 1581859)
Backed out changeset 816643de7694 (bug 1581859)
Backed out changeset 6fd5aa7895e3 (bug 1581859)
Backed out changeset 2b68d2eee18e (bug 1581859)
2021-03-23 05:48:27 +02:00
Bogdan Tara
393125c6c4 Backed out changeset c0c671865b2e (bug 1699828) for browser_ext_menus_replace_menu_context.js mochitest failures CLOSED TREE 2021-03-23 02:11:07 +02:00
Hiroyuki Ikezoe
16cc3d1669 Bug 1699367 - Skip browser_ext_popup_select_in_oopif.js without Fission. r=kmag
The test basically was written for Fission, but unfortunately it fails
intermittently without Fission becasue, I assume, there was a pre-existing race
condition causing the failure without Fission, so we are going to skip the
test without Fission for now.

Differential Revision: https://phabricator.services.mozilla.com/D109250
2021-03-22 22:59:08 +00:00
Gijs Kruitbosch
cd3973b64b Bug 1699828 - put extension items at the top of the content menu on macOS, r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D109367
2021-03-22 22:42:26 +00:00
Kris Maglione
c2ee3d4cb3 Bug 1581859: Part 4f - Migrate to the native WebNavigation implementation. r=zombie
This migrates WebNavigation.jsm to use messages from PExtensionsParent
generated by the native WebNavigationContent class, and removes the now-unused
WebNavigationContent.js frame script.

Differential Revision: https://phabricator.services.mozilla.com/D103217
2021-03-22 20:12:18 +00:00
Jared Wein
7ba3580f2e Bug 1692669 - Replace icon group navigation on macOS page context menu with 'normal' menuitems. r=flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D108475
2021-03-22 14:43:32 +00:00
Mark Banner
5e786e8b26 Bug 1687932 - Remove use of nsISearchEngine.addEngineWithDetails from other xpcshell-tests. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D108462
2021-03-19 14:06:06 +00:00
Narcis Beleuzu
ffb77b2d9a Backed out 9 changesets (bug 1581859) for bustages jsapi.h . CLOSED TREE
Backed out changeset 2a3a77ae1eae (bug 1581859)
Backed out changeset 181c3f29f222 (bug 1581859)
Backed out changeset f7c39feb502e (bug 1581859)
Backed out changeset 9c7d0015c616 (bug 1581859)
Backed out changeset d2b8ee78745d (bug 1581859)
Backed out changeset 92359266d420 (bug 1581859)
Backed out changeset 98ba6b96c900 (bug 1581859)
Backed out changeset 0eb043b5c904 (bug 1581859)
Backed out changeset 55a4c2fc561d (bug 1581859)
2021-03-18 08:26:57 +02:00
Kris Maglione
b2455f7432 Bug 1581859: Part 4f - Migrate to the native WebNavigation implementation. r=zombie
This migrates WebNavigation.jsm to use messages from PExtensionsParent
generated by the native WebNavigationContent class, and removes the now-unused
WebNavigationContent.js frame script.

Differential Revision: https://phabricator.services.mozilla.com/D103217
2021-03-18 05:51:09 +00:00
Hiroyuki Ikezoe
9a4563134c Bug 1696718 - Propagate popup window position update to descendants documents. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D108559
2021-03-18 03:11:23 +00:00
Tom Schuster
3da7d94f22 Bug 1698296 - Make 2nd parameter of test.assertRejects non-optional and fix tests. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D108328
2021-03-17 21:04:39 +00:00
Florian Quèze
ea952e9605 Bug 1680289 - disable bookmarks toolbar animation for browser/components/extensions tests, r=mixedpuppy.
Depends on D108014

Differential Revision: https://phabricator.services.mozilla.com/D108015
2021-03-17 17:39:32 +00:00
Brindusan Cristian
54442351e5 Backed out changeset 01d98e7b02c8 (bug 1696718) for casusing failures in browser_ext_popup_select_in_oopif.js. CLOSED TREE 2021-03-17 14:32:54 +02:00
Hiroyuki Ikezoe
7f0f25eb52 Bug 1696718 - Propagate popup window position update to descendants documents. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D108559
2021-03-17 08:05:32 +00:00
Tomislav Jovanovic
985553b2c4 Bug 1698398 - Support OOP iframes in webNavigation.getAllFrames r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D108359
2021-03-16 13:50:02 +00:00
Tim Nguyen
ad5b1fde34 Bug 1698237 - Backed out changeset 18909220355a (bug 1697806).
Differential Revision: https://phabricator.services.mozilla.com/D108316
2021-03-13 16:06:33 +00:00
Tomislav Jovanovic
fdbb88c4cf Bug 1646817 - Support DocumentChannel process switching in sidebars and popups r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D100396
2021-03-12 22:58:29 +00:00
Mark Striemer
8b9967d92d Bug 1694817 - Fix tests that fail with browser.proton.toolbar.enabled r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D107294
2021-03-12 20:01:04 +00:00
Tim Nguyen
64c00bef7b Bug 1697806 - De-duplicate colored extension SVG icons. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D108008
2021-03-12 10:06:18 +00:00
Erik Nordin
af61d50e5e Bug 1693050 - Update extension removal warning content. r=Gijs,fluent-reviewers,mixedpuppy
- Add a question mark to the prompt title.
- Remove redundant promp message.
- Pass window to prompt to use new tab-modal format.

Differential Revision: https://phabricator.services.mozilla.com/D107539
2021-03-11 23:07:20 +00:00
Noemi Erli
62639374c4 Backed out changeset 8dd76087ff2b (bug 1694817) for causing failures in browser_UITour.js 2021-03-11 21:56:07 +02:00
Mark Striemer
570cccef25 Bug 1694817 - Fix tests that fail with browser.proton.toolbar.enabled r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D107294
2021-03-11 15:09:21 +00:00
Alexandre Poirot
4a9e835d61 Bug 1693491 - [devtools] Migrate TargetList to be a command r=nchevobbe,rpl
This changeset is incomplete and focus on places where we instantiate TargetList constructor

Differential Revision: https://phabricator.services.mozilla.com/D105611
2021-03-11 12:53:18 +00:00
Julian Descottes
9def83a8fd Bug 1695046 - [devtools] Use the same signature for showToolbox and showToolboxForTab r=ochameau,nchevobbe,rpl
Depends on D107100

Differential Revision: https://phabricator.services.mozilla.com/D106539
2021-03-11 06:32:15 +00:00
Julian Descottes
82f5189067 Bug 1694906 - [devtools] Fix race conditions in various devtools webextensions tests r=rpl
Depends on D107099

With the previous patch, we are waiting for toolbox open before creating contexts.
This makes some tests a bit racy if they are only waiting for toolbox open. They should also wait for the context to be ready.
Firing an event from the devtools_page seems to work fine for this but don't hesitate to suggest a better approach.

Differential Revision: https://phabricator.services.mozilla.com/D107100
2021-03-10 18:22:04 +00:00
Julian Descottes
01718819b8 Bug 1694906 - [devtools] Use descriptors instead of targets in all toolbox APIs r=ochameau,nchevobbe,rpl,perftest-reviewers,sparky
Depends on D107051

Differential Revision: https://phabricator.services.mozilla.com/D106426
2021-03-10 18:22:02 +00:00
Julian Descottes
72754c526d Bug 1694906 - [devtools] Remove remaining call sites for showToolbox in extension tests r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D107051
2021-03-10 18:22:02 +00:00
Narcis Beleuzu
e783ef6d6e Backed out 5 changesets (bug 1694906) for dt failures on browser_target_list_frames.js . CLOSED TREE
Backed out changeset bd5cb6f8b41f (bug 1694906)
Backed out changeset c23343373584 (bug 1694906)
Backed out changeset 02428006de51 (bug 1694906)
Backed out changeset 284e000deded (bug 1694906)
Backed out changeset 3b5269fe0113 (bug 1694906)
2021-03-10 04:52:56 +02:00
Julian Descottes
6fed1559e0 Bug 1694906 - [devtools] Fix race conditions in various devtools webextensions tests r=rpl
Depends on D107099

With the previous patch, we are waiting for toolbox open before creating contexts.
This makes some tests a bit racy if they are only waiting for toolbox open. They should also wait for the context to be ready.
Firing an event from the devtools_page seems to work fine for this but don't hesitate to suggest a better approach.

Differential Revision: https://phabricator.services.mozilla.com/D107100
2021-03-09 20:50:43 +00:00
Julian Descottes
0f66091841 Bug 1694906 - [devtools] Use descriptors instead of targets in all toolbox APIs r=ochameau,nchevobbe,rpl
Depends on D107051

Differential Revision: https://phabricator.services.mozilla.com/D106426
2021-03-09 20:50:42 +00:00
Julian Descottes
4b70107605 Bug 1694906 - [devtools] Remove remaining call sites for showToolbox in extension tests r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D107051
2021-03-09 20:50:41 +00:00
Doug Thayer
d9e6ea9ffe Bug 1696978 - Require user input for slow extension warning r=smaug,extension-reviewers,kmag
Per conversations with Bas, we want the behavior for slow extensions to match
that of slow content scripts WRT requiring user input. The test change is less
than great, but I don't think we have the ability to simulate input in
mochitests without running JS in the content process? But correct me if I'm
wrong.

Differential Revision: https://phabricator.services.mozilla.com/D107521
2021-03-09 01:35:03 +00:00
Alex Henrie
0686831376 Bug 1649187 - Use a fallback table to strip diacritics from non-decomposable characters. r=jfkthame
Implement the design suggested at
https://bugzilla.mozilla.org/show_bug.cgi?id=1652910#c5

Differential Revision: https://phabricator.services.mozilla.com/D106674
2021-03-07 16:17:41 +00:00
Rob Wu
f7a790dd78 Bug 1498432 - Correctly delete _cachedCurrentURI r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106734
2021-03-07 16:16:36 +00:00
Rob Wu
ca5b342494 Bug 1680279 - Support "url" properties in filter r=rpl
The patch for bug 1498432 will include a unit test that uses
tabs.onUpdated with the "url" filter for "properties".

The updated test here verifies that the tabs.onUpdated event does not
include other properties in changeInfo when filtering by "status".

Differential Revision: https://phabricator.services.mozilla.com/D106733
2021-03-07 16:16:36 +00:00
Alexandru Michis
7b98a02461 Backed out 2 changesets (bug 1498432, bug 1680279) for causing bc failures in browser_ext_tabs_discard_reversed.js
CLOSED TREE

Backed out changeset 9ce142e600af (bug 1498432)
Backed out changeset 4c8c60ac262a (bug 1680279)
2021-03-05 02:50:58 +02:00
Rob Wu
2112c7380a Bug 1498432 - Correctly delete _cachedCurrentURI r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106734
2021-03-04 20:50:35 +00:00
Rob Wu
a328d739f1 Bug 1680279 - Support "url" properties in filter r=rpl
The patch for bug 1498432 will include a unit test that uses
tabs.onUpdated with the "url" filter for "properties".

The updated test here verifies that the tabs.onUpdated event does not
include other properties in changeInfo when filtering by "status".

Differential Revision: https://phabricator.services.mozilla.com/D106733
2021-03-04 20:50:35 +00:00
Neil Deakin
0a6f2c6e96 Bug 1691860, move code that hides separators in the content area context menu into a single place that just hides duplicates, r=Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D104615
2021-03-04 00:16:16 +00:00
Harry Twyford
1633d63446 Bug 1694734 - Reapply background-color rule to :root on Windows 7/8. r=desktop-theme-reviewers,ntim,mixedpuppy
While using -moz-os-version selectors in a shared CSS file isn't ideal, I think it's the best approach here. These selectors will hopefully be temporary, and will be removed when bug 1695280 is fixed. I considered a creating a ruleset like
```
@media (-moz-os-version: windows-win7),
       (-moz-os-version: windows-win8) {
  #navigator-toolbox:-moz-lwtheme {
    background-color: unset;
  }
  :root:-moz-lwtheme {
    background-color: var(--lwt-accent-color);
  }
}
```
in browser/themes/windows/browser.css, but I think unsetting the background-color could become a headache if we need to make any other changes to the #navigator-toolbox background. We could also move these background rules to platform-specific stylesheets, but that way they're defined much later in the CSS despite being fairly foundational rules. It would also create more code to remove in bug 1695280.

Differential Revision: https://phabricator.services.mozilla.com/D106670
2021-03-02 14:12:49 +00:00
Cosmin Sabou
3532e78cdc Backed out changeset 6a75d5ea4301 (bug 1646817) for causing macOS nightly crashes. a=backout 2021-02-28 12:36:09 +02:00
Doug Thayer
db50f52ea7 Bug 1694229 - Update slow script warning visuals r=florian
This patch removes the wait button on the slow script warning, on the suspicion
that it is confusing to the user since it's redundant with the close button. It
also changes the text of the notification to blame the hanging tab.

Differential Revision: https://phabricator.services.mozilla.com/D106015
2021-02-27 18:22:32 +00:00
Tomislav Jovanovic
8c3b8b951b Bug 1646817 - Part 1: Support DocumentChannel process switching in sidebars r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D100396
2021-02-26 22:56:17 +00:00
Rob Wu
252ef583b9 Bug 1694699 - Minimize access to tab.hasTabPermission r=rpl,geckoview-reviewers,agi
tab.hasTabPermission indirectly triggers an access to
browser.currentURI, which for lazy tab browsers causes an incorrect
value to be cached. To avoid this, skip the call to hasTabPermission.

Differential Revision: https://phabricator.services.mozilla.com/D106622
2021-02-26 21:34:54 +00:00
Paul Zuehlcke
d69fac75b0 Bug 1680066 - Fall back to window prompts for webextension sidebar. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106513
2021-02-26 10:31:25 +00:00