Commit Graph

725546 Commits

Author SHA1 Message Date
Sean Feng
787c7f4ce9 Bug 1661166 - Don't record paint timings if it is a print context r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D88908
2020-09-09 17:30:05 +00:00
Razvan Maries
8b0e87a2ce Backed out changeset 5194d31bb88d (bug 1613054) for perma failures on browser_abort_visibility.js. CLOSED TREE 2020-09-09 21:11:25 +03:00
Razvan Maries
c20f78dd7e Backed out 2 changesets (bug 1663690) for build bustages on mozJSComponentLoader.cpp. CLOSED TREE
Backed out changeset 04236fadb4cc (bug 1663690)
Backed out changeset 3def11143e6c (bug 1663690)
2020-09-09 21:05:54 +03:00
Andrew McCreight
dbaf62267d Bug 1663690, part 2 - Inline mozJSComponentLoader::ReallyInit(). r=kmag
This method only asserts that mInitialized is false, then sets
mInitialized to true. All call sites check that the flag is false,
so the assertion is redundant, so this method can be inlined
and simplified.

Differential Revision: https://phabricator.services.mozilla.com/D89480
2020-09-08 18:43:22 +00:00
Andrew McCreight
02d01fc48b Bug 1663690, part 1 - Remove ComponentLoaderInfo::EnsureKey(). r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D89479
2020-09-08 18:41:39 +00:00
Nicolas Silva
b95d39dd98 Bug 1612440 - Send some messages directly to the scene builder thread. r=gw
This change allows the api to talk directly to the scene builder thread. This avoids unpredictable and sometimes large latency caused by scene builder requests sitting in a busy render backend's event loop.

Differential Revision: https://phabricator.services.mozilla.com/D74055
2020-09-09 17:07:01 +00:00
Julian Descottes
fde673f31c Bug 1635461 - Remove watcher logic from Walker Actor r=ochameau,devtools-backward-compat-reviewers
Depends on D86163

Differential Revision: https://phabricator.services.mozilla.com/D86549
2020-09-09 17:14:07 +00:00
Julian Descottes
7909e64490 Bug 1635461 - Remove watcher logic from WalkerFront in favor of ResourceWatcher r=ochameau
Depends on D86162
The resource watcher already guarantees that listeners are only called once, caches resources etc.
Consequently, the client side logic currently implemented in the WalkerFront is redundant and should be removed.

Differential Revision: https://phabricator.services.mozilla.com/D86163
2020-09-09 16:08:56 +00:00
Julian Descottes
2eb6d9ccce Bug 1635461 - Use ResourceWatcher for root-node resources in tests r=ochameau
Depends on D86160

Differential Revision: https://phabricator.services.mozilla.com/D86162
2020-09-09 16:08:38 +00:00
Julian Descottes
7c18c7b9c9 Bug 1635461 - Use ResourceWatcher for root-node resources in MarkupView and HighlightersOverlay r=ochameau
Depends on D83311

Differential Revision: https://phabricator.services.mozilla.com/D86160
2020-09-09 16:08:21 +00:00
Julian Descottes
20769b1457 Bug 1635461 - Retrieve root NodeFront from Inspector::onResourceAvailable r=rcaliman
Depends on D83310

Differential Revision: https://phabricator.services.mozilla.com/D83311
2020-09-09 16:08:05 +00:00
Julian Descottes
a034fbc33c Bug 1635461 - Rewrite Inspector::_getDefaultNodeForSelection as an async method r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D83310
2020-09-09 16:07:19 +00:00
Peter Van der Beken
3038ffdea7 Bug 1663977 - Null out the parent pointer of SessionHistoryEntry objects if their parent dies. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D89629
2020-09-09 16:49:59 +00:00
Peter Van der Beken
bce06045ad Bug 1663492 - Make nsDocShell::OnNewURI use mActiveEntry instead of mOSHE if session history in the parent is enabled. r=smaug
Depends on D89423

Differential Revision: https://phabricator.services.mozilla.com/D89424
2020-09-08 12:52:02 +00:00
Peter Van der Beken
5389d9504c Bug 1663491 - Fix assert in SessionHistoryEntry::AddChild to deal with adding null. r=smaug
Depends on D89422

Differential Revision: https://phabricator.services.mozilla.com/D89423
2020-09-08 12:52:40 +00:00
Peter Van der Beken
8f72952fc3 Bug 1663488 - Fix CanonicalBrowsingContext::NotifyOnHistoryReload. r=smaug
Depends on D89421

Differential Revision: https://phabricator.services.mozilla.com/D89422
2020-09-08 14:04:33 +00:00
Peter Van der Beken
f5c5e66824 Bug 1663488 - Forward ChildSHistory::Reload to the parent process with session history in the parent. r=smaug
Depends on D89420

Differential Revision: https://phabricator.services.mozilla.com/D89421
2020-09-08 14:10:31 +00:00
Peter Van der Beken
709c5edefe Bug 1663487 - Set loading history entry for loads in the parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D89420
2020-09-09 00:40:38 +00:00
Peter Van der Beken
fe3f64a907 Bug 1663486 - Synchronize ChildSHistory state when sending a browsing context to a new process. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D89419
2020-09-08 15:24:13 +00:00
Peter Van der Beken
7720088b5c Bug 1663485 - Make RemoteWebNavigation::canGoBack/Forward use history in the parent if it's enabled. r=mconley
When session history is in the parent we can read state directly from it,
instead of waiting for the child process to send a message with the updated
state. The old mechanism (BrowserParent::RecvOnLocationChange calling
UpdateWebNavigationForLocationChange) is still needed for when session history
in the parent is turned off. We'll remove it eventually, once session history in
the parent sticks.

Differential Revision: https://phabricator.services.mozilla.com/D89418
2020-09-09 17:00:40 +00:00
Gijs Kruitbosch
c41e7cb2ef Bug 1663852 - fix identical code in both branches in the preferences, r=emalysz,preferences-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D89556
2020-09-09 16:54:51 +00:00
Sebastian Hengst
a331186a1d Bug 1592459 - Set a step of the-autofocus-attribute/first-when-later.html as intermittent on Windows 10 opt. r=jmaher DONTBUILD
Depends on D89631

Differential Revision: https://phabricator.services.mozilla.com/D89632
2020-09-09 16:48:41 +00:00
moz-wptsync-bot
16a0eff2a9 Bug 1663892 - [wpt-sync] Update web-platform-tests to 15ea2bb29faf54d1da7ff7781825a0c4ef7d6715, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 15ea2bb29faf54d1da7ff7781825a0c4ef7d6715
wpt-type: landing
2020-09-09 16:52:18 +00:00
moz-wptsync-bot
41cbcab12a Bug 1663098 [wpt PR 25401] - webrtc wpt: fix wrong assert description, a=testonly
Automatic update from web-platform-tests
webrtc wpt: fix wrong assert description

copy-paste probably

BUG=chromium:1124967

Change-Id: Iba5fc35c093489724fb3bf6759e8417bb212a550
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2391076
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#804747}

--

wpt-commits: 8561786ac4f527e5ca2249934bcb1479856825bf
wpt-pr: 25401
2020-09-09 16:52:17 +00:00
Stephen McGruer
a0b803b390 Bug 1663358 [wpt PR 25418] - [Safari Tech Preview] Skip web-share test that makes STP crash, a=testonly
Automatic update from web-platform-tests
[Safari Tech Preview] Skip web-share test that makes STP crash (#25418)

Fixes https://github.com/web-platform-tests/wpt/issues/25417
--

wpt-commits: 40ced81e61a70172447cfe892c1f15c85ec07ecb
wpt-pr: 25418
2020-09-09 16:52:17 +00:00
Marco Bonardo
a8c141c472 Bug 1660778 - Improve urlbar search mode history results by properly filtering on host and redirect sources. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D89610
2020-09-09 16:07:11 +00:00
Christoph Kerschbaumer
d29c3dd45d Bug 1654258: Package all activity-stream css files and load them using the internal chrome: protocol. r=mconley,k88hudson,perftest-reviewers,zombie,sparky
Differential Revision: https://phabricator.services.mozilla.com/D85022
2020-09-09 16:11:28 +00:00
Eitan Isaacson
80bafc6677 Bug 1663442 - Check markers are valid in get range from unordered markers. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D89482
2020-09-09 16:20:46 +00:00
Kashav Madan
3a55fcf792 Bug 1663792 - Remove stale fission intermittent annotations, r=jgraham
These tests haven't failed in the past 6 months according to ActiveData[1], so
it's probably fine to remove their fission-specific annotations.

The data was collected with [2].

[1] https://docs.google.com/spreadsheets/d/1ocuISt4aRCdu4v5x_bqYDNYbqBI73FyuQNuYziUOu0A/
[2] https://git.io/JUnhs

Differential Revision: https://phabricator.services.mozilla.com/D89526
2020-09-09 16:25:34 +00:00
Tooru Fujisawa
be755138c7 Bug 1660940 - Part 3: Use stencil-specific frontend API in JS shell. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D88616
2020-09-09 15:33:20 +00:00
Tooru Fujisawa
c1bea42ce9 Bug 1660940 - Part 2: Add Smoosh::compileGlobalScriptToStencil with ReadOnlyCompileOptions. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D88615
2020-09-09 15:33:12 +00:00
Tooru Fujisawa
85e77b918f Bug 1660940 - Part 1: Add frontend API that allocates CompilationInfo. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D88614
2020-09-09 15:33:05 +00:00
Andrew Osmond
fe2bf67e1b Bug 1654271 - Ship WebRender on < OSX 10.16 and Intel Gen 6 GT2 and Gen 7 to release. r=nical
Also ship to release if the Intel driver is 21.20.16.4550 or later.

Add Intel Gen 6 GT1 (Sandybridge) and allow it to ride to early beta.

Differential Revision: https://phabricator.services.mozilla.com/D89613
2020-09-09 15:54:18 +00:00
Andrew Osmond
221455cf7a Bug 1663923 - Cover more WebRender initialization failure paths with explicit reasons. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D89596
2020-09-09 15:47:46 +00:00
Stefan Zabka
ad4b2fd4e0 Bug 1663946 - Changed link to nsCOMPtr manual. r=froydnj DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89616
2020-09-09 15:37:58 +00:00
Emilio Cobos Álvarez
e146795f9e Bug 1663819 - Loosen the styling restrictions on meter and input[type=range] pseudo-elements. r=jwatt
These were there to prevent crashes because when the type of the frame
changes dynamically we would mess up and fail to find the right
insertion point.

We deal with this correctly nowadays:

  https://searchfox.org/mozilla-central/rev/b2716c233e9b4398fc5923cbe150e7f83c7c6c5b/layout/base/nsCSSFrameConstructor.cpp#8521-8536

And the list was never exhaustive in the first place (e.g., writing-mode
can also cause us to reframe, and so do a bunch of other properties). So
there's no real reason to be so strict anymore.

Also change ::-moz-complex-control-wrapper while at it too, because it's
not web exposed so there's no need for those declarations in the first
place.

Differential Revision: https://phabricator.services.mozilla.com/D89586
2020-09-09 14:24:17 +00:00
Henri Sivonen
dc1acec1a6 Bug 1649099 - Add WPTs for testing the effect on activeElement of the containing doc when calling .focus() and .blur() on an OOP iframe. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D81497
2020-09-09 15:26:13 +00:00
Daniel Holbert
874485ce72 Bug 1662940: Add back assertion to ensure we don't create printed sheets with no pages on them (softened for the first sheet). r=hiro
Per the comment in the patch: if we're given a bogus range, we can technically
end up with a single PrintedSheetFrame that contains no displayable
pages. Luckily, that's a situation that the frontend should detect & recover
from quickly & gracefully, so it's not really a problem. So: in that scenario,
we'll now spam a non-fatal warning; and we'll fatally assert if any sheet
*beyond* the first page has zero displayable pages. (That still shouldn't be
possible.)

Differential Revision: https://phabricator.services.mozilla.com/D89537
2020-09-09 02:30:59 +00:00
Henri Sivonen
4e1c684e21 Bug 1613054 part 2 - On iframe.focus() create the initial about:blank for in-process case and treat the iframe as focusable for OOP case. r=nika
Test cases in https://bugzilla.mozilla.org/show_bug.cgi?id=1649099

Differential Revision: https://phabricator.services.mozilla.com/D88978
2020-09-09 15:08:24 +00:00
Cristina Coroiu
d2a4bc510d Backed out changeset 5349493670b9 (bug 1663159) for mass failures on a CLOSED TREE 2020-09-09 17:58:56 +03:00
Jonathan Kew
b1bb2ba171 Bug 1659527 - Correct scaling for Save to PDF output on Windows to reflect DPI setting. r=jwatt,emilio
Differential Revision: https://phabricator.services.mozilla.com/D89605
2020-09-09 14:12:58 +00:00
Bob Owen
1cd21daff6 Bug 1662938: Notify RemotePrintJobParent's listeners of the error when we fail to initialize the print. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D89490
2020-09-08 20:50:02 +00:00
Andreea Pavel
c0b3b8be6a Bug 1660723 - skip browser_aboutNewTab_defaultBrowserNotification.js on ccov r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D89305
2020-09-08 13:52:25 +00:00
Doug Thayer
2b194eb9d0 Bug 1656261 - Ensure we clean up after WriteToDisk r=froydnj
Given all of the MOZ_TRYs in WriteToDisk, it's entirely possible that
we occasionally exit it before writing everything out. WriteToDisk
additionally adds guards to try to ensure that we do not call it twice,
and that we do not try to read things out of the file via the memmapped
buffer after it has written to it. The latter should not generally be
a problem, since we write to a temp file and move that over at the end.
However, writing twice could be a problem as we modify our values'
mOffsets to keep track of their offsets within the resulting file.

Accordingly, this change simply moves the cleanup and guards into an
RAII helper to ensure they survive all of the early returns.

Differential Revision: https://phabricator.services.mozilla.com/D89253
2020-09-09 13:42:27 +00:00
stransky
bfa4d94201 Bug 1663159 [Linux] Add Wayland config to test-linux.sh, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D89287
2020-09-09 13:34:02 +00:00
Mihai Alexandru Michis
30e80990a0 Backed out changeset 73f6874cb3dd (bug 1613054) for causing bc failures in browser_abort_visibility.js
CLOSED TREE
2020-09-09 16:40:24 +03:00
Dmitry Bezhetskov
937a3b8b6e Bug 1639153 - Part 6.1: Untie callWithAbi from Frame::tls for Baseline. r=lth
We have a tls dependency in callWithABI for wasm because we call builtins via BuiltinThunk.
Last one requires that tls to be loaded. In this patch I gradually extend callWithABI interface to
pass offset to tls. This allows us to preserve tls and load it by offset in callWithABI and frees us from
the Frame::tls dependency.

Differential Revision: https://phabricator.services.mozilla.com/D88426
2020-09-09 09:22:39 +00:00
pbz
98c3983762 Bug 1663750 - blocklists.xhtml: Fixed accessing undefined window.arguments. r=Gijs,preferences-reviewers
Bug 1661030 refactored SubDialog to support passing multiple window arguments.
Before that window.arguments was always an array with one element, even if the
caller did not pass any data.

window.arguments should be null checked before accessing it.
However, in this case the arguments were unused, so I removed the assignment.

Differential Revision: https://phabricator.services.mozilla.com/D89584
2020-09-09 12:34:23 +00:00
pbz
52c5943305 Bug 1663750 - Removed duplicate click event listener for 'changeBlockListLink'. r=Gijs,preferences-reviewers
The 'allowDuplicateDialogs' option covered up a bug where we had two click event listeners for the
changeBlockListLink. This should fix the duplicate dialog.
However, there seem to be timing issues with the 'allowDuplicateDialogs' option we should look
into as follow up work.

Differential Revision: https://phabricator.services.mozilla.com/D89585
2020-09-09 12:53:18 +00:00
Nicolas Silva
8d1da7b895 Bug 1662827 - Use a single channel on the scene builder thread. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D89183
2020-09-09 12:45:12 +00:00