Commit Graph

754202 Commits

Author SHA1 Message Date
Peter Van der Beken
a1306f8324 Bug 1696158 - Move CanSavePresentation to the parent process. Keep track of various flags for deciding whether to put a page in BFCache. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D110231
2021-04-19 12:39:19 +00:00
Peter Van der Beken
aa27eac480 Bug 1696158 - Move CanSavePresentation to the parent process. Actually implement cycle collection for VR test objects. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D111605
2021-04-19 12:39:18 +00:00
Andrei Oprea
a5faf63dd9 Bug 1692448 - about:studies doesn't load on session restore r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D110079
2021-04-19 11:59:12 +00:00
Hubert Boma Manilla
951aac078f Bug 1704116 - [devtools] Cache emitted update events until listeners are available r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D111569
2021-04-19 11:22:18 +00:00
Cosmin Sabou
62670a3baf Backed out changeset 3b729f0fb230 (bug 1705826) for reftest failures on skip-ink-multiline-position.html. 2021-04-19 13:36:30 +03:00
Sebastian Hengst
d5f60d0b9f Bug 1705787 - add exemption rule for icon-refresh.svg in browser_all_files_referenced.js test. r=Gijs DONTBUILD
The file gets referenced by Firefox Reality which only gets included in
Nightly builds.

Differential Revision: https://phabricator.services.mozilla.com/D112476
2021-04-19 10:29:18 +00:00
Emilio Cobos Álvarez
b063ff13cb Bug 1706027 - Perform readability check immediately when coming from the BFCache. r=Gijs
Pages that come from the BFCache are already laid out and so a
main-thread paint is not guaranteed to happen.

Before the Fission+BFCache implementation, browser_readerMode.js didn't
trigger the bfcache codepath, so we were getting a paint fast enough
when leaving reader mode.

Differential Revision: https://phabricator.services.mozilla.com/D112527
2021-04-19 10:27:13 +00:00
Sarah Ukoha
468eca32ee Bug 1704078 - Remove striped background [Proton] When ETP is disabled r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D112468
2021-04-19 10:24:34 +00:00
smolnar
81811c374d Backed out 9 changesets (bug 1705777) for causing multiple mochitest failures. DONTBUILD CLOSED TREE
Backed out changeset 0b87e36e899f (bug 1705777)
Backed out changeset 0f2f2be13e03 (bug 1705777)
Backed out changeset 7bd9513c661a (bug 1705777)
Backed out changeset a0bca47b08bf (bug 1705777)
Backed out changeset b4118eb87e2a (bug 1705777)
Backed out changeset 8c1078f3f43c (bug 1705777)
Backed out changeset a4ccc315540c (bug 1705777)
Backed out changeset 420b8e7515ec (bug 1705777)
Backed out changeset db751afb6234 (bug 1705777)
2021-04-19 12:17:15 +03:00
Gabriele Svelto
db169d3685 Bug 1704992 - Update the comment about crash annotations to reflect the current state of things r=gerald DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D112521
2021-04-19 09:02:13 +00:00
Butkovits Atila
5eb3469dc2 Bug 1705193 - set text-overflow-022.html as failing on Mac debug due to frequent failures. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D112482
2021-04-19 09:00:02 +00:00
Jon Coppeard
3b8fa4cdc1 Bug 1705777 - Replace bufferIfNursery with tenured checks r=jandem
This ends up doing the same thing but is easer to follow IMO.

Differential Revision: https://phabricator.services.mozilla.com/D112394
2021-04-19 08:44:46 +00:00
Jon Coppeard
c34d1d2778 Bug 1705777 - Rearrange finish_node so the function exit is at the end of the function r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D112393
2021-04-19 08:44:45 +00:00
Jon Coppeard
75ead5d3ef Bug 1705777 - Factor out a function to check whether we can reuse the buffer of the leftmost leaf node r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D112392
2021-04-19 08:44:45 +00:00
Jon Coppeard
63a32b8c33 Bug 1705777 - Move simulated traversal part of algorithm into the main loop r=jandem
Currently when resuing the leftmost leaf's buffer we have duplicate code to run
the traversal up until we reach the leftmost rope, because the left child has
been already been processed as a sepcial case. This removes this and checks a
flag in the main traversal code to handle this situation.

Differential Revision: https://phabricator.services.mozilla.com/D112391
2021-04-19 08:44:44 +00:00
Jon Coppeard
06eb932710 Bug 1705777 - Factor out a function to update the list of buffers associated with nursery cells when we transfer a buffer between cells r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D112390
2021-04-19 08:44:44 +00:00
Jon Coppeard
87db0d57ef Bug 1705777 - Make the main flattenInternal method static r=jandem
I found it confusing using |this| in a method that operated on a many different
nodes. This makes it static and passes the root as a named parameter so it's
clearer what's going on.

Differential Revision: https://phabricator.services.mozilla.com/D112389
2021-04-19 08:44:44 +00:00
Jon Coppeard
68cda7d0a9 Bug 1705777 - Handle allocation failure in one place and remove maybecx parameter from flattening methods r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D112388
2021-04-19 08:44:43 +00:00
Jon Coppeard
47ee356f18 Bug 1705777 - Factor out rope pre-barrier into a separate method and tidy up r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D112387
2021-04-19 08:44:43 +00:00
Jon Coppeard
f872437ef1 Bug 1705777 - Factor out a function to set the JSString::LATIN1_CHARS_BIT flag based on the character type r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D112386
2021-04-19 08:44:42 +00:00
Alexandre Poirot
749d880c14 Bug 1704811 - [devtools] Set dom-loading's shouldBeIgnoredAsRedundantWithTargetAvailable to true when doing a server side target switching. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D111832
2021-04-19 08:34:53 +00:00
Alexandre Poirot
d12961cb92 Bug 1704806 - [devtools] Fix duplicated dom-loading event in case of server side target switching. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D111830
2021-04-19 08:34:53 +00:00
Alexandre Poirot
eccf0c2d1c Bug 1704805 - [devtools] Avoid processing erronous or empty data entries. r=nchevobbe
We were, for example, processing empty breakpoints list,
which forced to attach the target actor for no reason.

Differential Revision: https://phabricator.services.mozilla.com/D111829
2021-04-19 08:34:52 +00:00
Sebastian Hengst
b83d54b1ae Bug 1705775 - Set a step in update-module-request-mode.https.html as failing outside Nightly. r=ckerschb
update-module-request-mode.https.html depends on Sec-Fetch which is only enabled
in Nightly (behind preference dom.security.secFetch.enabled added bug 1508292).
Shipping Sec-Fetch-* is tracked by bug 1695911. The test got added in
bug 1702610.

Differential Revision: https://phabricator.services.mozilla.com/D112395
2021-04-19 08:06:01 +00:00
Edgar Chen
c5f9c366a9 Bug 1704741 - Wait for iframe's layer flushed before starting the test; r=hsivonen
promiseApzFlushedRepaints() and waitUntilApzStable() only flush the layer
that makes the request and also parent-process layer tree. And since test tries
to dispatch mouse events to oop iframe, so call promiseApzFlushedRepaints()
in oop iframe to flush its layer and wait it done as well.

Differential Revision: https://phabricator.services.mozilla.com/D112049
2021-04-19 07:45:23 +00:00
smolnar
46a67b8656 Backed out 4 changesets (bug 1705622) for causing dt failures in browser_touch_simulation.js CLOSED TREE
Backed out changeset 44277989aa32 (bug 1705622)
Backed out changeset 5a374b87bffb (bug 1705622)
Backed out changeset 8eab73ad3b4b (bug 1705622)
Backed out changeset dfcbcfbe0e47 (bug 1705622)
2021-04-19 10:21:09 +03:00
Asif Youssuff
868a23c527 Bug 1705810 - Sync the View Image Info visibility preference r=markh
Differential Revision: https://phabricator.services.mozilla.com/D112498
2021-04-19 02:32:14 +00:00
Jan de Mooij
4ca75e2057 Bug 1705665 part 5 - Remove dead code in AddLengthProperty. r=jonco
This probably became dead code when shapes started implying a realm.

Depends on D112331

Differential Revision: https://phabricator.services.mozilla.com/D112332
2021-04-19 07:03:04 +00:00
Jan de Mooij
1ce626ef2b Bug 1705665 part 4 - Use ShapePropertyIter instead of manually walking over the shape list in a few places. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D112331
2021-04-19 07:03:04 +00:00
Jan de Mooij
923e887650 Bug 1705665 part 3 - Use ShapePropertyIter in more places. r=jonco
These uses are a bit more complicated because they collect the properties in a Vector.

Differential Revision: https://phabricator.services.mozilla.com/D112330
2021-04-19 07:03:03 +00:00
Jan de Mooij
21daa3010d Bug 1705665 part 2 - Add ShapePropertyIter and start using it. r=jonco
The iterator is based on Shape::Range, but is a bit more ergonomic and doesn't expose
the property's Shape. This means when we change the shape's property representation
later on we only have to change the iterator implementation.

Also start using `shape()` instead of `lastProperty()` because `lastProperty` will
either be removed or changed in the future, to decouple shapes and properties more.

The code generated by Clang for some of these functions looks good: the compiler
is able to optimize away the iterator and ShapePropertyWithKey code.

Differential Revision: https://phabricator.services.mozilla.com/D112329
2021-04-19 07:03:03 +00:00
Jan de Mooij
d0d1be6432 Bug 1705665 part 1 - Remove CX template parameter from FakeRooted constructors. r=jonco
This was probably needed for ExclusiveContext back then.

Differential Revision: https://phabricator.services.mozilla.com/D112328
2021-04-19 07:03:03 +00:00
Nicolas Chevobbe
2a663be51d Bug 1705737 - [devtools] Refactor browser_page_redirection. r=jdescottes.
The test was using netmonitor to be able to check request headers.
This feels quite heavy and we can avoid involving the toolbox by
doing additional work in the sjs document: store the user-agent header
value for the request that triggers a redirect and then put that
value in the document global so we can check it from the test.
This way the test should be fastest to run.

Depends on D111989

Differential Revision: https://phabricator.services.mozilla.com/D112362
2021-04-19 05:38:10 +00:00
Matt Woodrow
0405a7b508 Bug 1653902 - Allocate a buffer for BuildSurfaceDescriptorBuffer using the computed destination layout. r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D111595
2021-04-19 04:24:43 +00:00
Alexandru Michis
14d6c0e87d Backed out changeset f0136cf33e9f (bug 1705810) for causing dt failures in browser_touch_simulation.js
CLOSED TREE
2021-04-19 06:58:23 +03:00
Lee Salzman
a2ff3c9c3f Bug 1705979 - Add support for nearest filtered scaled composites to SWGL. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D112493
2021-04-19 03:34:42 +00:00
Asif Youssuff
865cdabece Bug 1705810 - Sync the View Image Info visibility preference r=markh
Differential Revision: https://phabricator.services.mozilla.com/D112498
2021-04-19 02:32:14 +00:00
Timothy Nikkel
3ba349dc36 Bug 1705622. Add test. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D112352
2021-04-19 01:14:10 +00:00
Timothy Nikkel
a3e7cf4e01 Bug 1705622. When building the hit testing tree use async zoom containers to keep track of which zoom constraints to apply. r=botond
This also fixes a bug where root content xul docs had zoom constraints that allowed them to be zoomed. This would cause a crash because we would ask for a repaint request and it would get routed to APZCCallbackHelper::UpdateRootFrame (because it has the id of the document element), which assumes the existance of a root scroll frame.

Differential Revision: https://phabricator.services.mozilla.com/D112486
2021-04-19 01:14:10 +00:00
Timothy Nikkel
524d771d22 Bug 1705622. When we get new zoom constraints look for the associated async zoom container and propagate them to all descendants. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D112485
2021-04-19 01:14:09 +00:00
Timothy Nikkel
ffe0958b33 Bug 1705622. Make sure the async zoom container id gets passed all the way through to the HitTestingTreeNode. r=botond
Also rename IsAsyncZoomContainer to GetAsyncZoomContainerId, since it returns a maybe this serves both purposes.

We need this for the next patches.

Differential Revision: https://phabricator.services.mozilla.com/D112484
2021-04-19 01:14:09 +00:00
Brindusan Cristian
f72f68fddd Backed out changeset 7f8d1b667187 (bug 1705193) for causing wpt failures in text-overflow-022.html. CLOSED TREE 2021-04-19 02:43:14 +03:00
Mark Striemer
b66fadd487 Bug 1701691 - webrtc indicator -moz-toolbar-prefers-color-scheme support r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D111978
2021-04-18 22:22:52 +00:00
Mark Striemer
82d0424628 Bug 1701691 - about:protections -moz-toolbar-prefers-color-scheme support r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D111977
2021-04-18 22:22:52 +00:00
Mark Striemer
41a28c2d74 Bug 1701691 - pdfjs -moz-toolbar-prefers-color-scheme support r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D111975
2021-04-18 22:22:51 +00:00
Mark Striemer
0664884d22 Bug 1701691 - print modal -moz-toolbar-prefers-color-scheme support r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D111974
2021-04-18 22:22:51 +00:00
Mark Striemer
06953434c0 Bug 1701691 - about:logins -moz-toolbar-prefers-color-scheme support r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D111973
2021-04-18 22:22:50 +00:00
Mark Striemer
3ad0b8f92c Bug 1701691 - about:newinstall -moz-toolbar-prefers-color-scheme support r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D111972
2021-04-18 22:22:50 +00:00
Mark Striemer
9224e9aaf9 Bug 1701691 - message-bar/infobar -moz-toolbar-prefers-color-scheme support r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D111971
2021-04-18 22:22:50 +00:00
Mark Striemer
5ed75dad70 Bug 1701691 - common/global -moz-toolbar-prefers-color-scheme support r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D111970
2021-04-18 22:22:49 +00:00