Commit Graph

10254 Commits

Author SHA1 Message Date
Andre Natal
e29222b4be Bug 1710546 - Firefox Translations integration r=mossop,mixedpuppy,mhoye
Bundle Firefox Translation as a builtin pref'd off addon in Nightly only

Differential Revision: https://phabricator.services.mozilla.com/D114810
2021-05-28 18:38:59 +00:00
Alexandru Michis
2ac8e9c4fa Backed out 9 changesets (bug 1695817) for causing bc failures in content/aboutThirdParty.js
CLOSED TREE

Backed out changeset 6b7f451e911e (bug 1695817)
Backed out changeset ad3ea67b3d70 (bug 1695817)
Backed out changeset b4f971059f3f (bug 1695817)
Backed out changeset 9c9a928d4a70 (bug 1695817)
Backed out changeset 4a9bcb38fddf (bug 1695817)
Backed out changeset 48c0eed38628 (bug 1695817)
Backed out changeset 7583675dccb1 (bug 1695817)
Backed out changeset e3f2bed63c33 (bug 1695817)
Backed out changeset 1c45ba4fba61 (bug 1695817)
2021-05-28 21:53:41 +03:00
Toshihito Kikuchi
0b9256aade Bug 1695817 - Part 2: Introduce a blank page about:third-party r=Gijs,fluent-reviewers,xpcom-reviewers,kmag
This patch adds a blank page about:third-party along with a skeleton XPCOM
object AboutThirdParty which has a method to invoke a background task in C++.

Differential Revision: https://phabricator.services.mozilla.com/D109303
2021-05-28 15:32:29 +00:00
Emilio Cobos Alvarez
33b5b3ec17 Bug 1708735 - Make the arrowpanel code more generic. r=dao,zombie
Share the concept of a panel content with all other menupopups / panels.

This avoids importing global.css in the shadow tree, and renames the
arrowcontent part to just "content", since we want to introduce a
"content" part for other panels.

This shouldn't change behavior but makes bug 1708136 a matter of
tweaking a couple CSS rules and fixing up test failures.

Differential Revision: https://phabricator.services.mozilla.com/D113990
2021-05-28 11:56:07 +00:00
Butkovits Atila
a65f9b1de0 Backed out 9 changesets (bug 1695817) for causing build bustages. CLOSED TREE
Backed out changeset 49be1caf6501 (bug 1695817)
Backed out changeset 30f1382d6058 (bug 1695817)
Backed out changeset ab9fa7f3b633 (bug 1695817)
Backed out changeset b03b122438cc (bug 1695817)
Backed out changeset 812a6bbfbe0e (bug 1695817)
Backed out changeset 3551230a7522 (bug 1695817)
Backed out changeset c7354b48fbee (bug 1695817)
Backed out changeset 4860450c2e23 (bug 1695817)
Backed out changeset 29dee289f866 (bug 1695817)
2021-05-28 07:52:30 +03:00
Toshihito Kikuchi
d6a845aca8 Bug 1695817 - Part 2: Introduce a blank page about:third-party r=Gijs,fluent-reviewers,xpcom-reviewers,kmag
This patch adds a blank page about:third-party along with a skeleton XPCOM
object AboutThirdParty which has a method to invoke a background task in C++.

Differential Revision: https://phabricator.services.mozilla.com/D109303
2021-05-28 04:19:06 +00:00
Butkovits Atila
e50e922f07 Backed out changeset f6aae19033a0 (bug 1710546) for causing Bug 1713225. CLOSED TREE 2021-05-28 05:56:23 +03:00
Andre Natal
58fecbefcd Bug 1710546 - Firefox Translations integration r=mossop,mixedpuppy,mhoye
Bundle Firefox Translation as a builtin pref'd off addon in Nightly only

Differential Revision: https://phabricator.services.mozilla.com/D114810
2021-05-27 17:56:02 +00:00
Joel Maher
4b914afbb8 Bug 1704640 - Move mochitest browser-chrome / media from osx 10.14 to osx 10.15. r=ahal,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D115951
2021-05-27 16:06:03 +00:00
Christoph Kerschbaumer
772a3b602d Bug 1711422: Update PBM tests within browser/base to work with https-first-mode enabled r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D116014
2021-05-27 14:16:15 +00:00
Michelle Goossens
016a67749a Bug 1711991 - Remove -proton from pageActions-proton and browser-proton directory names r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D116034
2021-05-26 20:36:52 +00:00
Paul Zuehlcke
67ecc25d3d Bug 1705029 - Added CookieCleaner deleteByBaseDomain. r=johannh,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113496
2021-05-26 13:49:37 +00:00
Andreas Farre
8a5b55cac9 Part 10: Bug 1700623 - Wait for history navigation in browser_history_menu.js r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D115898
2021-05-26 07:14:07 +00:00
Andreea Pavel
c98ffa45de Bug 1616418 - update disabling condition for windows r=intermittent-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D115860
2021-05-25 14:15:59 +00:00
Henrik Skupin
e193bc7644 Bug 1695031 - Combine build flags --disable-marionette and --enable-cdp as --disable-webdriver. r=firefox-build-system-reviewers,Gijs,smaug,keeler,jdescottes,glandium
Differential Revision: https://phabricator.services.mozilla.com/D115583
2021-05-25 09:13:28 +00:00
Michelle Goossens
e79b25342d Bug 1711500 - Remove checks for gProton and gProtonDoorhangers smart pref getters from tests r=Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D115748
2021-05-24 13:46:39 +00:00
Mike Conley
81b37a519c Bug 1709050 - Suppress the focus ring in the upgrade dialog and some about: pages when they first load. r=Mardak,Gijs
Using autofocus="true" or programmatically calling .focus() when there is no pre-existing focused
element causes the :focus-visible to match.

This patch avoids using autofocus="true" on some of our about: pages, and uses
Element.focus({ preventFocusRing: true }) to avoid that when these pages and dialog
first load. Note that this doesn't prevent the focus ring from _ever_ appear, it just
stops it from appearing on first load.

Differential Revision: https://phabricator.services.mozilla.com/D115062
2021-05-21 18:13:29 +00:00
Gijs Kruitbosch
efc34c725e Bug 1706487 - honour browser.tabs.loadInBackground for 'Open Image/Video/Audio in New Tab', r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D115545
2021-05-21 17:58:05 +00:00
Michelle Goossens
6cb6ba7640 Bug 1711498 - Remove checks for protonAppMenuEnabled or protonToolbarEnabled smart pref getters from tests r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D115651
2021-05-21 15:51:13 +00:00
Alexandru Michis
2d20f1dd01 Backed out changeset 3ef9ef49563a (bug 1706487) for causing bc failures in browser_bug734076.js
CLOSED TREE
2021-05-21 15:11:49 +03:00
Gijs Kruitbosch
8cc10fc39b Bug 1706487 - honour browser.tabs.loadInBackground for 'Open Image/Video/Audio in New Tab', r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D115545
2021-05-21 10:13:47 +00:00
Michelle Goossens
692ff0bb41 Bug 1711497 - Remove browser.proton.enabled checks/setters from tests r=Gijs,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D115539
2021-05-20 13:03:51 +00:00
Harry Twyford
9753dc1d02 Bug 1706479 - Part 2 - Stop overriding tooltiptext on bookmark icon. r=adw
This resolves a failure in browser/base/content/test/pageActions-proton/browser_PageActions_bookmark.js. That test checks the tooltiptext on the bookmark button hbox. Before part 1 of this patch, the hbox always had one of the generic tooltiptexts "Bookmark Current Tab"/"Edit This Bookmark". This tooltiptext was set in updateBookmarkPageMenuItem. Then, in __updateStar, we set the tooltiptext on the <image> contained in the hbox to be "Bookmark this page ([shortcut])"/"Edit this bookmark ([shortcut])". Since the <image> filled the entire hbox, the tooltiptext on the hbox underneath was never seen. Since Part 1 of this patch moved the semantic meaning of the page action buttons from the <image> to the hbox, the tooltiptext containing the shortcut was also moved to the hbox. However, updateBookmarkPageMenuItem was overriding the shortcut tooltiptext with the generic text and thus browser_PageActions_bookmark.js was failing intermittently. The timing of when the tooltiptext was overridden was variable.

This patch stops setting the generic tooltiptext on the hbox altogether. I'm splitting this out into its own patch since I think it needs its own review. With Part 1 applied, when actually using the browser, the hbox had the tooltiptext with the shortcut. I'm not totally clear on why that was working despite updateBookmarkPageMenuItem overriding it, so I'd like to make sure this change is okay.

Depends on D114131

Differential Revision: https://phabricator.services.mozilla.com/D115485
2021-05-19 20:37:19 +00:00
Harry Twyford
f6588ee7ec Bug 1706479 - Wrap page action icons in an hbox. r=morgan,adw
To resolve this bug, we need page action icons and semantic page action nodes to be separate. That way, we can apply filters to the icons without also filtering the nodes' outlines. This means the semantic meaning of the page action button must move up a level, to the enclosing hbox. This means reverting bug 1482025, so I'd like a11y review on this patch.

Differential Revision: https://phabricator.services.mozilla.com/D114131
2021-05-19 20:37:19 +00:00
Mark Banner
46ef3a17f5 Bug 1702858 - Update node modules for latest versions, remove obsolete. r=mossop
@babel/transform-flow-strip-types and eslint-plugin-flowtype are no longer required as devtools removed the uses of them in bug 1690742.

Differential Revision: https://phabricator.services.mozilla.com/D115402
2021-05-19 16:53:53 +00:00
Gijs Kruitbosch
e1e27eb604 Bug 1711466 - do not open window-internal modal prompts if the window is in a modal state through some other code, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D115349
2021-05-19 10:53:11 +00:00
Gijs Kruitbosch
c74f4b1ddf Bug 1711381 - correctly handle the browser no longer being present for content and tabmodal prompts, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D115244
2021-05-18 18:30:07 +00:00
Csoregi Natalia
103b1ef19e Backed out changeset e90263d64998 (bug 1706479) for failures on browser_parsable_css.js. CLOSED TREE 2021-05-18 18:21:47 +03:00
Harry Twyford
db22da1a9c Bug 1706479 - Wrap page action icons in an hbox. r=morgan,adw
To resolve this bug, we need page action icons and semantic page action nodes to be separate. That way, we can apply filters to the icons without also filtering the nodes' outlines. This means the semantic meaning of the page action button must move up a level, to the enclosing hbox. This means reverting bug 1482025, so I'd like a11y review on this patch.

Differential Revision: https://phabricator.services.mozilla.com/D114131
2021-05-18 13:33:06 +00:00
Csoregi Natalia
4ea52be526 Backed out changeset 39c32384d7a9 (bug 1711381) for failures on tabPrompts. CLOSED TREE 2021-05-18 14:27:02 +03:00
Gijs Kruitbosch
4a3d5bfbfd Bug 1711381 - correctly handle the browser no longer being present for content and tabmodal prompts, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D115244
2021-05-18 10:47:43 +00:00
Paul Zuehlcke
a75810f15b Bug 1710857 - Fixed protections panel cookie state label and button. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D114990
2021-05-18 09:51:06 +00:00
Michelle Goossens
768388d608 Bug 1711480 - Remove proton doorhanger and modal pref changes from tests r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D115248
2021-05-17 23:04:49 +00:00
Andrew Osmond
6459aac9f1 Bug 1711164 - Ensure we never use cached surfaces with blob recordings. r=gfx-reviewers,nical
We don't support storing blob recordings in the surface cache at this
time so we should never look at it. It is possible that one may request
a blob recording, and have a previous rasterization available in the
cache because it was used in canvas or as a repeating background image.
We want to explicitly avoid the cache in that case.

Differential Revision: https://phabricator.services.mozilla.com/D115136
2021-05-17 18:45:02 +00:00
Butkovits Atila
6fd223c2ec Backed out changeset ec36559d6b92 (bug 1709050) for causing failure at browser_aboutNetError.js. CLOSED TREE 2021-05-17 21:49:03 +03:00
Mike Conley
5fea93c5a7 Bug 1709050 - Suppress the focus ring in the upgrade dialog and some about: pages when they first load. r=Mardak,Gijs
Using autofocus="true" or programmatically calling .focus() when there is no pre-existing focused
element causes the :focus-visible to match.

This patch avoids using autofocus="true" on some of our about: pages, and uses
Element.focus({ preventFocusRing: true }) to avoid that when these pages and dialog
first load. Note that this doesn't prevent the focus ring from _ever_ appear, it just
stops it from appearing on first load.

Differential Revision: https://phabricator.services.mozilla.com/D115062
2021-05-17 17:44:09 +00:00
Butkovits Atila
56f0c15424 Backed out changeset 7811b10f32a1 (bug 1711164) for causing failures at browser_preferences_usage.js. CLOSED TREE 2021-05-17 20:42:05 +03:00
Andrew Osmond
33e1373844 Bug 1711164 - Ensure we never use cached surfaces with blob recordings. r=gfx-reviewers,nical
We don't support storing blob recordings in the surface cache at this
time so we should never look at it. It is possible that one may request
a blob recording, and have a previous rasterization available in the
cache because it was used in canvas or as a repeating background image.
We want to explicitly avoid the cache in that case.

Differential Revision: https://phabricator.services.mozilla.com/D115136
2021-05-17 15:59:40 +00:00
Andrei Oprea
15f028df3d Bug 1709938 - about:support should list Nimbus experiments and remote defaults r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D114976
2021-05-17 13:37:43 +00:00
Emilio Cobos Álvarez
66309279b7 Bug 1708384 - Properly hide -moz-context-properties from content. r=dholbert
Depends on D114481

Differential Revision: https://phabricator.services.mozilla.com/D114482
2021-05-12 21:45:18 +00:00
Mike Conley
67629f2ea8 Bug 1703494 - Use CSS box for FxA CTA item to avoid need for descriptionHeightWorkaround. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D114770
2021-05-10 23:49:55 +00:00
Gijs Kruitbosch
71ebc9493a Bug 1708985 - enforce the default background colour on the ContentSelect menulist's menupopup when custom option foreground colours are used, r=emilio,jaws
Broadly, this patch does 2 things:

- it mirrors the logic bug 1702258 introduced for <select> styling for <option> styling
- it enforces that if the website specifies custom foreground colours for options,
  we use the website-specified colour for the option background, too (even if it
  matches the UA/select style).

I also added automated testing for 3 cases:
1. the default dark mode situation (where we expect dark mode styles),
2. the case from the bug where the website specifies `#fff` for the background
of the select and the background of the options, but specifies a custom
foreground colour for the option (but not the select).
3. a very similar case where the website only specifies the background on the
select, and only the foreground on the option.

Differential Revision: https://phabricator.services.mozilla.com/D114382
2021-05-06 21:16:12 +00:00
sanketh
e283ae5568 Bug 1635603 - Patch ShouldRFP(Document) and ShouldRFP(WorkerPrivate) to use ShouldRFP(Channel) r=tjr
Allows for finer control of RFP. Adds browser_canvas_rfp_exclusion.js to test
this control for canvas extractions.

Differential Revision: https://phabricator.services.mozilla.com/D100360
2021-05-06 03:43:05 +00:00
Emma Malysz
36f6145123 Bug 1709160, net error pages should have security panel view available in the control center r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D114134
2021-05-04 19:25:43 +00:00
Florian Quèze
ce6d829478 Bug 1708576 - ignore memfd for the content process startup main thread I/O test. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D114077
2021-05-04 12:56:34 +00:00
Gijs Kruitbosch
13ac629b10 Bug 1707208 - ensure that file: dialogs display something in the focus permission checkbox label and add a test, r=jaws
Now that I finally wrote a test, I also noticed that we were trying to write the
checkbox permission value when the dialog gets aborted (ie removed because the
page disappears due to another page loading or the tab/window being closed),
which then threw an exception because the event target is the window rather than
the dialog element, and dialog.querySelector in maybeSetAllowTabSwitchPermission
fails.

Differential Revision: https://phabricator.services.mozilla.com/D114023
2021-05-04 12:02:08 +00:00
Sebastian Hengst
454d2180d7 Bug 1708932 - disable more tabcrashed tests on macOS 11 because crash reporting is not working properly. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D114107
2021-05-03 16:59:02 +00:00
Anshul Sahai
2a913386b4 Bug 1575080 - Changing the identity icon and the string inside the identity panel for net error pages. r=fluent-reviewers,johannh
Differential Revision: https://phabricator.services.mozilla.com/D112384
2021-05-03 07:51:14 +00:00
Luca Greco
af75a213e1 Bug 1701152 - Use a browser element for the pocket customizable widget panel. r=Gijs,thecount
Differential Revision: https://phabricator.services.mozilla.com/D113960
2021-05-01 12:32:42 +00:00
Sebastian Hengst
8bf4a8a2ea Bug 1707840 - disable browser_multipleCrashedTabs.js on macOS 11. r=intermittent-reviewers,jmaher DONTBUILD
Similar to bug 1707182 (browser_autoSubmitRequest.js) tests using the
crashreporter on Apple Silicon fail to execute properly.

Differential Revision: https://phabricator.services.mozilla.com/D113928
2021-05-01 11:17:07 +00:00