Commit Graph

3136 Commits

Author SHA1 Message Date
Dana Keeler
a13bccff29 Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika,jschanck
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).

Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-12-01 18:10:34 +00:00
Butkovits Atila
d8a40645d2 Bug 1722607 - disable browser_ext_tabs_discard_reversed.js on Mac_64 for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131998
2021-12-01 12:32:21 +00:00
Narcis Beleuzu
6e9d812757 Backed out 12 changesets (bug 1721217) for bc failures on browser_TopLevelNavigationDelegate.js
Backed out changeset 5fe3c617d521 (bug 1721217)
Backed out changeset c131e4a6d9d5 (bug 1721217)
Backed out changeset a59210a5b400 (bug 1721217)
Backed out changeset 74362b0c39c0 (bug 1721217)
Backed out changeset c8075b91d660 (bug 1721217)
Backed out changeset 46512deaf0e5 (bug 1721217)
Backed out changeset b38bc569d227 (bug 1721217)
Backed out changeset ee9bd012fda8 (bug 1721217)
Backed out changeset 7aa2726a0982 (bug 1721217)
Backed out changeset 885ced5f4bb4 (bug 1721217)
Backed out changeset 7d3f99ca3f44 (bug 1721217)
Backed out changeset 2f5a0164679a (bug 1721217)
2021-12-01 03:38:10 +02:00
Anny Gakhokidze
05c0899220 Bug 1721217 - Part 9: Write tests for making sure that parent initiated network requests get cancelled after we remove the tab or cancel the load, r=nika,robwu,zombie
Differential Revision: https://phabricator.services.mozilla.com/D130197
2021-11-30 16:31:37 +00:00
Emilio Cobos Álvarez
cedd537861 Bug 1743010 - Prefer toolbar background to toolbar text to determine color-scheme, when available and opaque. r=desktop-theme-reviewers,dao
As that can't be obscured by an image.

Differential Revision: https://phabricator.services.mozilla.com/D132172
2021-11-26 09:34:35 +00:00
Narcis Beleuzu
96c4882d22 Backed out 11 changesets (bug 1721217) for bc failures on browser_scrollPositions.js . CLOSED TREE
Backed out changeset 750f4a84b30e (bug 1721217)
Backed out changeset c4eb4ad769ad (bug 1721217)
Backed out changeset 81af11d67439 (bug 1721217)
Backed out changeset 548f2441b7c6 (bug 1721217)
Backed out changeset cd584129321a (bug 1721217)
Backed out changeset f5f5291d1da8 (bug 1721217)
Backed out changeset 9ad66ceec1e2 (bug 1721217)
Backed out changeset 10b53a21bb23 (bug 1721217)
Backed out changeset 3755cfbe22fe (bug 1721217)
Backed out changeset 71436dc6c4c4 (bug 1721217)
Backed out changeset ecf33b73ae60 (bug 1721217)
2021-11-26 01:51:03 +02:00
Anny Gakhokidze
b74c716d24 Bug 1721217 - Part 9: Write tests for making sure that parent initiated network requests get cancelled after we remove the tab or cancel the load, r=nika,robwu,zombie
Differential Revision: https://phabricator.services.mozilla.com/D130197
2021-11-25 20:41:00 +00:00
Rob Wu
dd5538c3e4 Bug 1742368 - Add http cases in browser_ext_tabs_create.js with https-first r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D131951
2021-11-23 18:35:25 +00:00
lamoure6
6ef1e5005d Bug 1719938 - Removed remaining (non-negated) -moz-proton media queries. r=mhowell,mtigley,emilio
Differential Revision: https://phabricator.services.mozilla.com/D125328
2021-11-22 22:10:33 +00:00
Christoph Kerschbaumer
c78a87d7c0 Bug 1742351: Update more browser/ tests to be compliant with https-first mode r=extension-reviewers,Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D131773
2021-11-22 14:26:32 +00:00
Iulian Moraru
43773e005d Backed out changeset 7d9cd61d95ce (bug 1742351) for causing bc failures on browser_paste_event_at_middle_click_on_link.js. CLOSED TREE 2021-11-22 14:14:16 +02:00
Christoph Kerschbaumer
5c4ef2e2bd Bug 1742351: Update more browser/ tests to be compliant with https-first mode r=extension-reviewers,Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D131773
2021-11-22 10:49:45 +00:00
Dão Gottwald
8e2dd34f81 Bug 1734835 - Remove the arrow and arrowbox elements from "arrow" panels. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131616
2021-11-19 19:58:50 +00:00
Emilio Cobos Álvarez
2f647509b0 Bug 1741931 - Use text color rather than background color to determine theme color scheme. r=harry,dao
It's easy for themes that have image backgrounds to have bogus
background colors.

Text color should give a better indication of the color-scheme since
it's always used, even with image backgrounds.

Differential Revision: https://phabricator.services.mozilla.com/D131522
2021-11-19 14:03:06 +00:00
Emilio Cobos Álvarez
ba5a5f860b Bug 1740089 - Fall back to frame (accentcolor) to determine toolbar theme. r=desktop-theme-reviewers,harry
Depends on D130669

Differential Revision: https://phabricator.services.mozilla.com/D130670
2021-11-17 18:05:19 +00:00
William Durand
db8bf03e26 Bug 1740601 - Initial implementation of scripting.executeScript(). r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D128339
2021-11-17 15:11:00 +00:00
Julian Descottes
62d7925d62 Bug 1741369 - [devtools] Update paths to loader files outside devtools/ r=perftest-reviewers,preferences-reviewers,sparky,Gijs
Depends on D131217

Differential Revision: https://phabricator.services.mozilla.com/D131218
2021-11-17 12:43:27 +00:00
Norisz Fay
6e984d9ba0 Backed out changeset 69dee748c290 (bug 1740601) for causing mochitest plain leaks CLOSED TREE 2021-11-16 20:58:39 +02:00
William Durand
f516726cab Bug 1740601 - Initial implementation of scripting.executeScript(). r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D128339
2021-11-16 17:29:16 +00:00
Emilio Cobos Álvarez
3923930d3b Bug 1737131 - Make sure to show the overflow menu in browser_ext_browserAction_theme_icons.js. r=extension-reviewers,zombie
I dug into the test failures above and this is because we return wrong
styles, because the overflow panel was never opened and thus the styles
we were querying are disconnected from the document.

Bug 1483798 covers not returning a style for these elements (patch there
incoming).

Differential Revision: https://phabricator.services.mozilla.com/D131075
2021-11-14 12:40:43 +00:00
Emilio Cobos Álvarez
bf87703670 Bug 1737131 - Enable more async stacks in webextension tests. r=extension-reviewers,zombie
This made debugging this a bit more tractable.

Differential Revision: https://phabricator.services.mozilla.com/D131076
2021-11-14 12:34:35 +00:00
Marian-Vasile Laza
fcac4f0656 Backed out 2 changesets (bug 1712837) for causing mochitest and marionette test failures. CLOSED TREE
Backed out changeset ecfd23a7ef69 (bug 1712837)
Backed out changeset 51529cb4682e (bug 1712837)
2021-11-11 01:52:57 +02:00
Dana Keeler
48d475aa56 Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).

Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-11-10 21:48:47 +00:00
Andreea Pavel
c0a0697295 Bug 1730374 - disable browser_ext_tabs_move_window.js on win10 fission debug r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D130546
2021-11-09 15:53:46 +00:00
Iulian Moraru
4739d10c05 Backed out 3 changesets (bug 1740089) for causing bc failures on browser_ext_browserAction_theme_icons.js. CLOSED TREE
Backed out changeset a4546a4b8991 (bug 1740089)
Backed out changeset ac810bf14fd5 (bug 1740089)
Backed out changeset 9c9f35164a4f (bug 1740089)
2021-11-09 07:18:44 +02:00
Emilio Cobos Álvarez
1afe04e622 Bug 1740089 - Fall back to frame (accentcolor) to determine toolbar theme. r=desktop-theme-reviewers,harry
Depends on D130669

Differential Revision: https://phabricator.services.mozilla.com/D130670
2021-11-09 03:58:02 +00:00
raquelvargas
5fa50e2698 Bug 1738245 - Remove OS.File usage from various browser/ tests. r=Standard8,robwu
Differential Revision: https://phabricator.services.mozilla.com/D129972
2021-11-05 16:49:48 +00:00
Marian-Vasile Laza
88c0f2b93d Backed out changeset a045ce98e572 (bug 1738245) for causing xpcshell failures on test_MigrationUtils_timedRetry.js. CLOSED TREE 2021-11-03 17:17:12 +02:00
raquelvargas
92388a5506 Bug 1738245 - Remove OS.File usage from various browser/ tests. r=Standard8,robwu
Differential Revision: https://phabricator.services.mozilla.com/D129972
2021-11-03 08:05:31 +00:00
Alexandre Poirot
4362650ed8 Bug 1735825 - [devtools] Pass watcher context down to TargetActorRegistry. r=jdescottes,rpl
Differential Revision: https://phabricator.services.mozilla.com/D128897
2021-11-02 10:57:24 +00:00
Sebastian Hengst
837ed90df2 Bug 1737131 - skip browser_tabclose.js and browser_ext_browserAction_theme_icons.js on Linux DevEdition. r=emilio DONTBUILD
Failures started after bug 1736141 (prefers-color-scheme should not default to
dark for Elemental Balanced).

Differential Revision: https://phabricator.services.mozilla.com/D129844
2021-10-31 09:09:58 +00:00
Emilio Cobos Álvarez
4eafd34070 Bug 1738265 - Teach some popup tests to deal with popups having margins by default. r=NeilDeakin
For tests that actually test margin handling I've just removed the default
margin by adding:

  <?xml-stylesheet href="data:text/css,menupopup{margin: 0}" type="text/css"?>

The other tests I've just fixed by accounting for the margins.

Differential Revision: https://phabricator.services.mozilla.com/D129866
2021-10-29 19:26:37 +00:00
Mathew Hodson
19fb7d0c8f Bug 1531368 - Use ChromeUtils.import with one parameter in extensions code. r=robwu
Simplify some instances where modules were lazy loaded.

Differential Revision: https://phabricator.services.mozilla.com/D118569
2021-10-25 14:42:59 +00:00
Evgenia Kotovich
7448532331 Bug 1576768 [eslint] Turn on JavaScript linting and formatting rules for .sjs files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128483
2021-10-25 11:12:41 +00:00
OnuohaOluebube
97028c52e9 Bug 1733422 - SessionStore.getClosedWindowData always returns an object r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D129147
2021-10-25 08:18:27 +00:00
criss
a5fc03df24 Backed out changeset b60f98f26664 (bug 1576768) for causing mochitest failures. CLOSED TREE 2021-10-22 15:55:50 +03:00
Mathew Hodson
baaee0dd27 Bug 1733871 - Allow tests to use computeHash from ProductAddonChecker.jsm. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D127387
2021-10-22 12:28:09 +00:00
Mathew Hodson
5fa92fa901 Bug 1733886 - Don't import DocumentManager in extensions tests. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D127389
2021-10-22 12:28:08 +00:00
Evgenia Kotovich
c1afa649ca Bug 1576768 [eslint] Turn on JavaScript linting and formatting rules for .sjs files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128483
2021-10-22 11:39:46 +00:00
Emilio Cobos Álvarez
c71035c8a0 Bug 1736141 - Derive a content theme from newtab page background, and use it for non-chrome docshells. r=mstange,dao
We use "is-in-chrome-docshell" rather than "is a chrome doc" so that about:
pages that are loaded in the content area (like about:addons etc) follow the
general content theme as well.

Cache the relevant color schemes since having that many branches on the default
system theme made me a bit uncomfortable, and this code can be called quite a
lot... Though it probably isn't such a huge deal. This makes us initialize the
theme right away, so make sure subclasses do the right thing. This in practice
was only an issue for GTK, which does cache the "system theme is dark" bit.

Differential Revision: https://phabricator.services.mozilla.com/D128674
2021-10-20 08:25:57 +00:00
Joel Maher
f72bcee13e Bug 1727943 - turn on mochitest* tests that were skipped on win10-ccov and now pass. r=MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D128817
2021-10-19 20:01:29 +00:00
Luca Greco
c7346084b3 Bug 1681049 - Fix browser_ext_persistent_storage_permission_indication.js intermittent failures. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D128889
2021-10-19 18:49:52 +00:00
Tomislav Jovanovic
0b90e9cfa6 Bug 1734984 - Use WindowGlobalParent.documentURI for sender.url r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D128536
2021-10-19 18:35:27 +00:00
Narcis Beleuzu
95a3d8e33e Backed out changeset 6961dc913ccb (bug 1734984) for bc failures on browser_ext_contentscript_sender_url.js . CLOSED TREE 2021-10-19 19:19:07 +03:00
Andrei Oprea
b23ab630d2 Bug 1731796 - Add ability to support extraParams via search Nimbus Feature r=k88hudson,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D127580
2021-10-19 15:40:54 +00:00
Tomislav Jovanovic
41ccec890e Bug 1734984 - Use WindowGlobalParent.documentURI for sender.url r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D128536
2021-10-19 14:50:04 +00:00
criss
956c31b69f Backed out changeset 6353bdbe1604 (bug 1731796) for causing failures on browser_search_nimbus_reload.js. CLOSED TREE 2021-10-19 16:49:45 +03:00
Andrei Oprea
acb9bc5ff2 Bug 1731796 - Add ability to support extraParams via search Nimbus Feature r=k88hudson,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D127580
2021-10-19 12:57:32 +00:00
Luca Greco
10bc94e1b5 Bug 1705244 - Fix browser_ext_incognito_popup.js intermittent failures. r=mixedpuppy
Depends on D128729

Differential Revision: https://phabricator.services.mozilla.com/D128730
2021-10-18 18:26:33 +00:00
Luca Greco
35f48fa0bb Bug 1580875 - Fix browser_ext_sidebarAction_contextMenu.js intermittent failures. r=mixedpuppy
Depends on D128728

Differential Revision: https://phabricator.services.mozilla.com/D128729
2021-10-18 18:26:33 +00:00