Commit graph

120 commits

Author SHA1 Message Date
Razvan Maries
10425eddfc Backed out 7 changesets (bug 1658084, bug 1671983) for perma failures on browser_async_remove_tab.js and browser_e10s_chrome_process.js. CLOSED TREE
Backed out changeset 2e6309c1cdbd (bug 1658084)
Backed out changeset 99aafd9304ef (bug 1671983)
Backed out changeset 80280b85280a (bug 1671983)
Backed out changeset 008db2659002 (bug 1671983)
Backed out changeset 32bd45c7fe3a (bug 1671983)
Backed out changeset 56e227e6580c (bug 1671983)
Backed out changeset a404f809f79d (bug 1671983)
2020-11-04 04:23:47 +02:00
Nika Layzell
5f9c85da95 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-04 00:55:36 +00:00
Emilio Cobos Álvarez
4b4935794b Bug 140718 - Add a "Print selection only" entry to the context menu. r=Gijs,jwatt,fluent-reviewers
This allows to use the feature from the context menu and is very
straight-forward.

This has the benefit of working with fission (as print from the focused
frame) and so on.

Making a checkbox on the UI on top of this is doable, but it is a lot
more complex (requires a bunch of both front-end and platform work)
because undoing this implies restoring the DOM which "print selection"
removes.

I think the context menu entry is very useful regardless of whether we
add a checkbox to undo it, and other browsers (with smaller context
menus) seem to agree.

Differential Revision: https://phabricator.services.mozilla.com/D92205
2020-10-07 20:45:08 +00:00
Mark Banner
fcf7b37638 Bug 1567275 - Don't display the search related context items if the search service is not initialized yet. r=daleharvey.
This also moves gInitialised into SearchService, as it no longer needs to be separate, and it makes changing it for tests easier.

Depends on D88462

Differential Revision: https://phabricator.services.mozilla.com/D88622
2020-09-11 15:54:50 +00:00
Andrea Marchesini
6b8618a091 Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-17 09:55:56 +00:00
Bogdan Tara
694be205aa Backed out 4 changesets (bug 1658878) for blob related leaks CLOSED TREE
Backed out changeset 0288ef9ab65b (bug 1658878)
Backed out changeset a5af0e097560 (bug 1658878)
Backed out changeset 33c4b81f99a1 (bug 1658878)
Backed out changeset 16a33c7b4ff3 (bug 1658878)
2020-08-14 22:41:05 +03:00
Andrea Marchesini
8d8dfa8e36 Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-14 17:39:14 +00:00
Mihai Alexandru Michis
33c1daa575 Backed out 4 changesets (bug 1658878) for causing failures in browser_blobURLIsolation.js
CLOSED TREE

Backed out changeset f69f80e5659f (bug 1658878)
Backed out changeset 20401a2adaa6 (bug 1658878)
Backed out changeset a8620aecc29f (bug 1658878)
Backed out changeset 3609760c1e5d (bug 1658878)
2020-08-14 19:55:25 +03:00
Andrea Marchesini
2175d60f4a Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-14 15:57:02 +00:00
Sebastian Streich
bf58055b03 Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-08-04 11:10:41 +00:00
Noemi Erli
5cebe61c77 Backed out changeset 4ed7b13fb7a5 (bug 1633710) for causing failures in browser_amosigned_url.js CLOSED TREE 2020-07-29 22:34:42 +03:00
Sebastian Streich
ea482d8e73 Bug 1633710 - Move uri.spec calls to nsIPrincipal r=necko-reviewers,geckoview-reviewers,preferences-reviewers,ckerschb,ntim,snorp,valentin
Differential Revision: https://phabricator.services.mozilla.com/D82911
2020-07-29 17:33:10 +00:00
Joel Maher
2f2dc70492 Bug 1654553 - fix browser chrome tests to support Object.is instead of ==. r=gbrown,preferences-reviewers,Gijs,rpl
fix browser chrome tests to support Object.is instead of ==

Differential Revision: https://phabricator.services.mozilla.com/D84539
2020-07-27 17:02:35 +00:00
Yura Zenevich
20d5203a82 Bug 1640778 - remove auto-init experiment code. r=mtigley,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D77057
2020-07-03 23:52:16 +00:00
Mark Banner
9751545bb2 Bug 1618465 - Update references to pdf.js for the move to toolkit. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D72533
2020-07-02 07:14:45 +00:00
Cosmin Sabou
4a382d7801 Backed out 4 changesets (bug 1640338, bug 1640778) for devtools failures on browser_dbg-toolbox-unselected-pause.js.
Backed out changeset 92cb02f03119 (bug 1640778)
Backed out changeset 6401dd804f28 (bug 1640338)
Backed out changeset cb4edb2627bb (bug 1640338)
Backed out changeset b2394d79f48f (bug 1640338)
2020-06-30 19:59:10 +03:00
Yura Zenevich
17dc33c60a Bug 1640778 - remove auto-init experiment code. r=mtigley,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D77057
2020-06-30 14:53:07 +00:00
Gijs Kruitbosch
d523471eac Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Gijs Kruitbosch
6fa5c7eb3e Bug 1635106 - fix spellchecker lifetime handling vs. the context menu, r=nika
This changes both the spellchecker parent code that interfaces with the
InlineSpellCheckerParent actor, and the child code interfacing with the
ContextMenuChild actor, to ensure they get notified when either actor
goes away.

It maintains the "uninit" messages to clear out spellcheck data when the
context menu goes away (while the window / actors remain intact).

It also adds some belts-and-suspenders type checks that allow us to
recover if we ever get in a bad state again, instead of stubbornly
throwing exceptions and breaking the UI for users.

Differential Revision: https://phabricator.services.mozilla.com/D75228
2020-05-22 08:35:57 +00:00
Csoregi Natalia
cf7c236c65 Backed out changeset d75769547bb8 (bug 1635106) for failures on browser_contextmenu_input.js. CLOSED TREE 2020-05-21 01:50:22 +03:00
Gijs Kruitbosch
461e96206a Bug 1635106 - fix spellchecker lifetime handling vs. the context menu, r=nika
This changes both the spellchecker parent code that interfaces with the
InlineSpellCheckerParent actor, and the child code interfacing with the
ContextMenuChild actor, to ensure they get notified when either actor
goes away.

It maintains the "uninit" messages to clear out spellcheck data when the
context menu goes away (while the window / actors remain intact).

It also adds some belts-and-suspenders type checks that allow us to
recover if we ever get in a bad state again, instead of stubbornly
throwing exceptions and breaking the UI for users.

Differential Revision: https://phabricator.services.mozilla.com/D75228
2020-05-20 21:20:10 +00:00
Yura Zenevich
cb4a73bb88 Bug 1636831 - change the order of inspect element and inspect accessibility properties context menu items to preserve the former as the last item in the menu. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D76005
2020-05-20 15:26:22 +00:00
Yura Zenevich
5b6b095fcf Bug 1602075 - display Inspect Accessibility Properties menu item if devtools.accessibility.auto-init.enabled pref is set to true. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71586
2020-05-06 15:54:58 +00:00
Andreea Pavel
26c02e4ad0 Backed out 7 changesets (bug 1602075, bug 1551574) for failing multiple dt e.g. browser_accessibility_context_menu_inspector.js on a CLOSED TREE
Backed out changeset d878be5e1884 (bug 1551574)
Backed out changeset 2b11feb2473d (bug 1602075)
Backed out changeset 1406b19b25e9 (bug 1602075)
Backed out changeset 0aa8307788b6 (bug 1602075)
Backed out changeset 418dbded9752 (bug 1602075)
Backed out changeset 2c19213df4d7 (bug 1602075)
Backed out changeset 98a4b4e8fda3 (bug 1602075)
2020-04-27 20:23:42 +03:00
Yura Zenevich
f25cf1bb96 Bug 1602075 - display Inspect Accessibility Properties menu item if devtools.accessibility.auto-init.enabled pref is set to true. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71586
2020-04-27 14:00:18 +00:00
ssengupta
0254684859 Bug 1628608 - P2 - Browser Mochitests added to test if loading a blob URL in a new foreground tab works r=baku
Two cases have been tested:

  1. Loading a blob URL, which points to a blob of type text
  2. Loading a blob URL, which points to a blob of type html, which fetches another blob URL

Depends on D71889

Differential Revision: https://phabricator.services.mozilla.com/D72026
2020-04-23 13:57:25 +00:00
Csoregi Natalia
230cef6455 Backed out 6 changesets (bug 1602075) for devtools failures caused by markup-context-menu.js. CLOSED TREE
Backed out changeset cf06e30be068 (bug 1602075)
Backed out changeset 51f01135d82f (bug 1602075)
Backed out changeset fbb30bd09d66 (bug 1602075)
Backed out changeset e1e570497527 (bug 1602075)
Backed out changeset 3aa7f4f31934 (bug 1602075)
Backed out changeset 7d568f0fa1e4 (bug 1602075)
2020-04-23 19:03:05 +03:00
Yura Zenevich
cfeeac415d Bug 1602075 - display Inspect Accessibility Properties menu item if devtools.accessibility.auto-init.enabled pref is set to true. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71586
2020-04-23 14:40:17 +00:00
Emilio Cobos Álvarez
603de7bc14 Bug 1625786 - Un-skip some tests now that the underlying issue is fixed.
Differential Revision: https://phabricator.services.mozilla.com/D72094
2020-04-23 03:34:54 +00:00
ssengupta
7fdab10142 Bug 1631802 - Browser mochitests revised to prevent intermittent failure r=baku
BrowserTestUtils.browserLoaded() sometimes resolves too early (already at `about:blank`) when used without explicit URL as 'wantLoad'.

The tests were added as a part of Bug 1626573.

Differential Revision: https://phabricator.services.mozilla.com/D71887
2020-04-22 08:47:36 +00:00
Subhamoy Sengupta
baa0b14253 Bug 1626573 - P2 - Browser Mochitests added to test if opening blob URL in a new tab by right clicking works r=baku
Two cases have been tested:

  1. Right-click opening a blob URL
  2. Right-click opening a blob URL, which points to a blob of type html, which fetches another blob URL

Depends on D69717

# Conflicts:
#	browser/base/content/test/contextMenu/browser.ini

Differential Revision: https://phabricator.services.mozilla.com/D70197
2020-04-21 12:37:09 +00:00
Emilio Cobos Álvarez
782b4f85cf Bug 1625786 - Make context menu for images properly check for revoked blob URIs. r=Gijs
This fixes the user-facing issue. This skips the "open in window" and "open in
tab" tests because they're broken due to bug 1626573.

Differential Revision: https://phabricator.services.mozilla.com/D70937

--HG--
rename : browser/base/content/test/contextMenu/browser_canvas_view_image.js => browser/base/content/test/contextMenu/browser_view_image.js
extra : moz-landing-system : lando
2020-04-15 14:46:58 +00:00
Stefan Hindli
c0c31630e6 Backed out 2 changesets (bug 1626573) for perma bc failures in browser/base/content/test/contextMenu/browser_contextmenu_loadblobinnewtab.js CLOSED TREE
Backed out changeset d2ee826f13fa (bug 1626573)
Backed out changeset cd9de3c507ff (bug 1626573)
2020-04-15 15:08:08 +03:00
Subhamoy Sengupta
258bf85876 Bug 1626573 - P2 - Browser Mochitests added to test if opening blob URL in a new tab by right clicking works r=baku
Two cases have been tested:

  1. Right-click opening a blob URL
  2. Right-click opening a blob URL, which points to a blob of type html, which fetches another blob URL

Depends on D69717

Differential Revision: https://phabricator.services.mozilla.com/D70197

--HG--
extra : moz-landing-system : lando
2020-04-15 08:39:28 +00:00
Ciure Andrei
130b66d511 Backed out 2 changesets (bug 1626573) for causing lint failures CLOSED TREE
Backed out changeset 0d461e174640 (bug 1626573)
Backed out changeset 00443a958bbc (bug 1626573)
2020-04-09 15:54:59 +03:00
Subhamoy Sengupta
8db691de33 Bug 1626573 - P2 - Browser Mochitests added to test if opening blob URL in a new tab by right clicking works r=baku
Two cases have been tested:

  1. Right-click opening a blob URL
  2. Right-click opening a blob URL, which points to a blob of type html, which fetches another blob URL

Differential Revision: https://phabricator.services.mozilla.com/D70197

--HG--
extra : moz-landing-system : lando
2020-04-09 11:55:58 +00:00
Matthew Noorenberghe
327ceb732f Bug 1551730 - Use hasBeenTypePassword for login filling. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D68324

--HG--
extra : moz-landing-system : lando
2020-03-28 04:50:35 +00:00
Gijs Kruitbosch
84f6c5cca3 Bug 1620921 - restart broadcasting system principal blob URIs to ensure 'view image' works correctly, r=baku CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D67348

--HG--
extra : source : 0f0839c074a25a1f4ed4efe78f2a1ca9fdefca59
extra : histedit_source : 9b577f144ebfeda6984e4718dc1b0d2c44774733
2020-03-18 17:47:34 +00:00
Stefan Hindli
11960d15cc Backed out changeset 0f0839c074a2 (bug 1620921) for windows 2012 build bustage CLOSED TREE 2020-03-18 21:34:02 +02:00
Gijs Kruitbosch
69a8d0e8d8 Bug 1620921 - restart broadcasting system principal blob URIs to ensure 'view image' works correctly, r=baku
Differential Revision: https://phabricator.services.mozilla.com/D67348

--HG--
extra : moz-landing-system : lando
2020-03-18 17:47:34 +00:00
jayati
a37404713d Bug 1620805 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser_contextmenu_touch.js. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D65891

--HG--
extra : moz-landing-system : lando
2020-03-09 09:57:51 +00:00
Mark Banner
15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Gijs Kruitbosch
b4bd642603 Bug 1613932 - fix context menu handling of SVG images so it works in e10s, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D62662

--HG--
extra : moz-landing-system : lando
2020-02-14 17:33:18 +00:00
Jonas Jenwald
601789bfbc Bug 1593235 - Hide the "View Background Image" context menu option in the PDF Viewer. r=bdahl
Given that the "View Background Image" option never makes sense in the PDF Viewer, it's simply always removed from the context menu.

Differential Revision: https://phabricator.services.mozilla.com/D52599

--HG--
extra : moz-landing-system : lando
2020-02-12 09:40:37 +00:00
Jared Wein
4c27f9fc7d Bug 1613731 - Move the 'fill login' menuitem up to the top of the context menu. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D61919

--HG--
extra : moz-landing-system : lando
2020-02-07 21:02:09 +00:00
Razvan Maries
fb4e88935e Backed out changeset f15513c3ad0e (bug 1613731) for Mochitest perma failures. CLOSED TREE 2020-02-07 21:12:16 +02:00
Jared Wein
10c19a0f81 Bug 1613731 - Move the 'fill login' menuitem up to the top of the context menu. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D61919

--HG--
extra : moz-landing-system : lando
2020-02-06 20:15:00 +00:00
Dão Gottwald
3225b46d32 Bug 1607170 - Remove openNewTabWith, openNewWindowWith. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58754

--HG--
extra : moz-landing-system : lando
2020-01-07 11:00:30 +00:00
Andreea Pavel
c4508fa4ad Backed out changeset 564b928b0203 (bug 1607170) for crashing browser_newWindowDrop.js on a CLOSED TREE 2020-01-06 16:31:37 +02:00
Dão Gottwald
3baab4766b Bug 1607170 - Remove openNewTabWith, openNewWindowWith. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58754

--HG--
extra : moz-landing-system : lando
2020-01-06 12:41:19 +00:00