Commit graph

870 commits

Author SHA1 Message Date
Neil Deakin
c5eff66205 Bug 1649843, remove now unused legacy actor code, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D95206
2020-11-06 15:46:11 +00:00
Kartikaya Gupta
facbc561d9 Bug 1673071 - Update some test expectations for macOS+WR configuration. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95427
2020-11-04 03:14:38 +00:00
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
Nika Layzell
9949bf008c Bug 1671983 - Part 3: E10SUtils.jsm isn't loaded in content anymore, r=annyG
Previously this component was loaded in content due to shouldLoadURI requiring
it, but it is no longer required for that, so can be removed from content
processes.

Differential Revision: https://phabricator.services.mozilla.com/D94640
2020-11-04 00:55:25 +00:00
Razvan Maries
156298851f Backed out 4 changesets (bug 1673071) for perma failures on grid-minimum-contribution-baseline-shim-vertical-lr.html. CLOSED TREE
Backed out changeset a8ad01797ee0 (bug 1673071)
Backed out changeset f2ed8ed80bf2 (bug 1673071)
Backed out changeset 34d6c0fbfeef (bug 1673071)
Backed out changeset d6857ecf3c81 (bug 1673071)
2020-11-04 00:56:16 +02:00
Kartikaya Gupta
0d4ef6acde Bug 1673071 - Update some test expectations for macOS+WR configuration. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95427
2020-11-03 14:59:31 +00:00
Greg Tatum
6451405048 Bug 1671701 - Migrated FileIO markers to the Markers 2.0 API; r=gerald,julienw
This commit uses the new Markers 2.0 API for FileIO Markers. I had to
create another option for the MarkerStack class in order to conditionally
capture a backtrace inside of the Macro. Otherwise the macro invocation
failed.

Differential Revision: https://phabricator.services.mozilla.com/D93848
2020-10-27 14:04:04 +00:00
Jared Wein
3d2a8005c8 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers,marionette-reviewers,whimboo
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-26 02:32:07 +00:00
Jed Davis
f7967e4a30 Bug 1440203 - Prelude: ignore memfd for the "main thread I/O" test. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90604
2020-10-22 21:23:32 +00:00
Kris Maglione
11382660dc Bug 1588503: Don't load AutoCompleteChild.jsm before necessary. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D93834
2020-10-22 19:26:58 +00:00
Mihai Alexandru Michis
f11e661f24 Backed out changeset ba261cf25651 (bug 727668) for causing marionette failures in test_screenshot.py
CLOSED TREE
2020-10-22 06:13:54 +03:00
Dorel Luca
5d3bd01bca Backed out 2 changesets (bug 1440203) for Backout conflicts with Bug 1654103. CLOSED TREE
Backed out changeset 6e44c037b2dc (bug 1440203)
Backed out changeset ab11665d8607 (bug 1440203)
2020-10-22 03:47:17 +03:00
Jed Davis
db70ad65d6 Bug 1440203 - Prelude: ignore memfd for the "main thread I/O" test. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90604
2020-10-21 23:33:35 +00:00
Jared Wein
e0e5f6bba3 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-21 19:20:20 +00:00
Narcis Beleuzu
8945877156 Backed out 1 changesets (bug 727668) for bc failures on browser_aboutNewTab_bookmarksToolbar.js . CLOSED TREE
Backed out changeset 5b6a14b4e16e (bug 727668)
2020-10-19 21:19:17 +03:00
Jared Wein
0e83701c0c Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-19 16:38:17 +00:00
Razvan Maries
5fa72e54df Backed out 2 changesets (bug 1440203) for causing bug 1670277. CLOSED TREE
Backed out changeset 0b10bf76fe35 (bug 1440203)
Backed out changeset 468878422866 (bug 1440203)
2020-10-10 03:39:33 +03:00
Jed Davis
24165de225 Bug 1440203 - Prelude: ignore memfd for the "main thread I/O" test. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90604
2020-10-07 20:22:40 +00:00
Razvan Maries
75a5750a87 Backed out 5 changesets (bug 1662564, bug 1664922, bug 1440203) for Valgrind bustages. CLOSED TREE
Backed out changeset 9366b15ee97c (bug 1440203)
Backed out changeset bb512f5fdeda (bug 1440203)
Backed out changeset be90d6aec690 (bug 1664922)
Backed out changeset f6527a1d0f14 (bug 1662564)
Backed out changeset 3a2941fa7d4b (bug 1662564)
2020-10-07 08:38:13 +03:00
Jed Davis
8d4ba1a2ad Bug 1440203 - Prelude: ignore memfd for the "main thread I/O" test. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90604
2020-10-05 22:34:07 +00:00
Emilio Cobos Álvarez
4ad501e86f Bug 1666497 - Don't flush layout from popuppositioned events. r=mconley,Gijs,smaug
We don't need to flush before dispatching the event because we know that
if the values we cared about changed, then we'd get another event.

Differential Revision: https://phabricator.services.mozilla.com/D92444
2020-10-06 16:28:41 +00:00
Narcis Beleuzu
55d91af3b8 Backed out 2 changesets (bug 1666497, bug 1489259) for bc failure on browser_appmenu.js
Backed out changeset aa49cdc20ff4 (bug 1489259)
Backed out changeset 368f054779b2 (bug 1666497)
2020-10-05 21:38:08 +03:00
Emilio Cobos Álvarez
b8e0db6e7f Bug 1489259 - Increase the number of allowed reflows in browser_appmenu.js.
Before my patch we were skipping some popuppositioned events, so it's
not unexpected that this count can go up as a result.

MANUAL PUSH: Bustage on a CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D92444
2020-10-05 17:13:34 +02:00
Emilio Cobos Álvarez
13f858ff1a Bug 1666497 - Fix various issues with anchored popups. r=NeilDeakin
The patch in bug 1666497 (which makes regular <window>-based XUL
documents with other the XHTML-based ones) uncovers an issue in the
anchored popup tests, which starts timing out.

The underlying issue is that it changes the reflow order from popups in
XUL-only documents with respect to their anchors. Note that Firefox
already uses the "broken" code, because we moved to xhtml and
browser.xhtml doesn't use a XUL <window> anymore.

Since we reflow now the popup _after_ the anchor rather than before, we
don't need to rely on CheckForAnchorChange() to deal with changes. This
means that we need to notify on the positioning changes that happen
during reflow though.

We should be able to simplify a bit the CheckForAnchorChange() stuff
now, but it also takes care of hiding popups and such so I don't plan to
do it on this bug to minimize risk.

Differential Revision: https://phabricator.services.mozilla.com/D91012
2020-10-05 13:34:59 +00:00
Robert Mader
700c9a4115 Bug 1667116 - Request to stay unredirected on WR/OGL, too. r=stransky
Until bug 1617002 Firefox would unintendedly not get unredirected on X11
when used with WR and OpenGL as it didn't fullfill the requirements -
not being transparent.

Now that this is fixed, fullscreen unredirection can happen on certain
compositors. For the basic compositor we already explicitely ask to not
get unredirected - do that for all backends.

Also adapt tests accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D92180
2020-10-05 02:19:10 +00:00
Razvan Maries
2be9c4503e Backed out changeset c3362c39bb7b (bug 1667116) for perma failures on browser_startup_syncIPC.js. 2020-10-05 02:04:41 +03:00
Robert Mader
1add6e5c9b Bug 1667116 - Request to stay unredirected on WR/OGL, too. r=stransky
Until bug 1617002 Firefox would unintendedly not get unredirected on X11
when used with WR and OpenGL as it didn't fullfill the requirements -
not being transparent.

Now that this is fixed, fullscreen unredirection can happen on certain
compositors. For the basic compositor we already explicitely ask to not
get unredirected - do that for all backends.

Also adapt tests accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D92180
2020-10-04 21:12:52 +00:00
Anny G
b6286bd455 Bug 1662671 - Remove css for adding an unused resize property for Windows, r=NeilDeakin,remote-protocol-reviewers,maja_zf
Before Quantum, we needed resizer icon on Windows, because when the
add-on statusbar was hidden, we could not resize the window. This is not
needed anymore and is dead code. Consequentially, this also helps reduce
unused images loaded at startup time.

Differential Revision: https://phabricator.services.mozilla.com/D91196
2020-09-25 00:10:23 +00:00
Kris Maglione
bbfbd2f113 Bug 1660057: Add preferences for Fission rollout Normandy experiment. r=nika,marionette-reviewers,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91066
2020-09-25 02:01:15 +00:00
Razvan Maries
8de1e9f262 Backed out changeset 737f0e3e2f94 (bug 1660057) for xpcshell perma failures. CLOSED TREE 2020-09-24 23:25:54 +03:00
Kris Maglione
04dc79653a Bug 1660057: Add preferences for Fission rollout Normandy experiment. r=nika,marionette-reviewers,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91066
2020-09-24 18:35:58 +00:00
Bryce Seager van Dyk
a90a447c1c Bug 1649532 - Port DecoderDoctor notifications to fission. r=Gijs
Port handling of DecoderDoctor notifications for fission. This is done by moving
the observing of 'decoder-doctor-notification' from browser-media.js to fission
friendly actors.

As browser-media.js had only code related to this patch left it is removed along
with references to it. Same with ContentObservers.js.

Differential Revision: https://phabricator.services.mozilla.com/D88322
2020-08-28 18:34:24 +00:00
Jonathan Kew
755977bdb4 Bug 1533462 - Update expectations in mainthreadio.js for behavior when shared fontlist is enabled. r=jwatt
Depends on D87177

Differential Revision: https://phabricator.services.mozilla.com/D87178
2020-08-21 14:25:41 +00:00
Andreea Pavel
2cb6eec082 Bug 1507900 - skip browser_startup_flicker.js on devedition on beta r#?intermittent-reviewers r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88587
2020-08-28 16:55:40 +00:00
Joel Maher
bbef58adcc Bug 1660590 - add expectations to browser_startup_syncIPC.js to work on windows10 hardware. r=Gijs
add expectations to browser_startup_syncIPC.js to pass on windows10 hardware.

Differential Revision: https://phabricator.services.mozilla.com/D87939
2020-08-24 11:39:12 +00:00
Joel Maher
66ed7f07fc Bug 1660582 - Add expected file access to browser_startup_mainthreadio.js while running on windows10 hardware. r=Gijs
Add expected file access to browser_startup_mainthreadio.js while running on windows10 hardware

Differential Revision: https://phabricator.services.mozilla.com/D87938
2020-08-24 11:38:58 +00:00
Joel Maher
b0af2e5f20 Bug 1660480 - Add expected read access for ShaderCache in browser_startup_content_mainthreadio.js. r=Gijs
Add expected read access for ShaderCache in browser_startup_content_mainthreadio.js

Differential Revision: https://phabricator.services.mozilla.com/D87929
2020-08-24 11:39:18 +00:00
Nika Layzell
8e7de09ca6 Bug 1656636 - Part 2: Load a real http URI in browser_startup_content, r=mconley,smacleod
This avoids missing scripts which are filtered to not load on about:blank
documents.

Differential Revision: https://phabricator.services.mozilla.com/D85649
2020-08-06 17:48:49 +00:00
Nika Layzell
031f857cfe Bug 1656636 - Part 1: Add a test for scripts loaded during subframe process startup, r=mconley,smacleod
This should help us catch loads of JSActors which may be necessary for toplevel
document loads, but which need not be loaded within a remote subframe.

Differential Revision: https://phabricator.services.mozilla.com/D85648
2020-08-07 16:24:50 +00:00
Jed Davis
32848c3a4f Bug 1651869 - Fix the browser_startup_mainthreadio allow lists for the non-sandboxed case on Linux. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84607
2020-08-03 15:08:18 +00:00
Dorel Luca
88828e1dc0 Backed out 2 changesets (bug 1654192) for Talos failures in \xulstore\data.safe.bin. CLOSED TREE
Backed out changeset bad6faf26935 (bug 1654192)
Backed out changeset 6657944c0b63 (bug 1654192)
2020-07-31 19:39:01 +03:00
Victor Porof
36be5b2aaa Bug 1654192 - Part 2: Update xulstore to use RKV in safe mode, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D85315
2020-07-31 10:41:33 +00:00
Kris Maglione
a0401cd185 Bug 1649554: Part 2 - Use static component registration for about:compat. r=twisniewski,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81750
2020-07-10 23:58:26 +00:00
Kris Maglione
b6be72f351 Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81749
2020-07-10 23:58:30 +00:00
Kris Maglione
9d78661f88 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Kris Maglione
4de3cc378a Bug 1651232: Unskip browser_startup_images.js in Fission now that non-QR warning has been removed. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D82978
2020-07-09 22:05:37 +00:00
Jed Davis
30edd06026 Bug 1644917 - Part 2: Cache as much of the content sandbox file policy as possible. r=gcp,Gijs
Now that filesystem broker policy entries that depend on prefs can be
cached in the "common" policy object, let's do this wherever possible.

Partially fixes bug 1600189.

Differential Revision: https://phabricator.services.mozilla.com/D81424
2020-07-02 11:26:11 +00:00
Jed Davis
c3572e2dda Bug 1644917 - Part 1: Construct content sandbox "common" policy lazily. r=gcp,Gijs
When the SandboxBrokerPolicyFactory is constructed, prefs aren't
available, which constrains the cached subset of the content process
policy to entries that don't depend on prefs.  Delaying the computation
until a content process is started removes that restriction.

(This also delays the reading of dynamic linker configuration to discover
library directories, so a test needs to be adjusted.)

Differential Revision: https://phabricator.services.mozilla.com/D81423
2020-07-02 11:27:21 +00:00
Gerald Squelart
9de7e9a9b5 Bug 1640325 - Implement IOInterposeObserver::Observation::FileType() on Windows - r=canaltinova
Use `GetFileType(HANDLE)` on Windows.
Unlike `HandleToFilename`, `GetFileType` is fast enough that we don't need to use a `SmallArrayLRUCache` for it.

The pipe I/Os should not be visible anymore in the startup tests.

Differential Revision: https://phabricator.services.mozilla.com/D82303
2020-07-06 23:43:18 +00:00