Commit Graph

728006 Commits

Author SHA1 Message Date
Botond Ballo
948cec1b06 Bug 1667594 - Avoid including nsLayoutUtils.h in nsContainerFrame.h. r=emilio
nsContainerFrame.h was only using the enum nsLayoutUtils::IntrinsicISizeType,
which this patch moves to LayoutConstants.h instead.

Depends on D91505

Differential Revision: https://phabricator.services.mozilla.com/D91506
2020-09-26 18:19:14 +00:00
Botond Ballo
4e4819d795 Bug 1667594 - Avoid including nsLayoutUtils.h in nsIFrame.h. r=emilio
The only thing in nsIFrame.h that was using it was the implementation
of a templated method, which could be moved to nsIFrameInlines.h.

Depends on D91504

Differential Revision: https://phabricator.services.mozilla.com/D91505
2020-09-26 18:18:11 +00:00
Botond Ballo
1976364433 Bug 1667594 - Avoid including nsLayoutUtils.h from various headers. r=kats
This patch covers thw low-hanging fruit: headers that either don't use
nsLayoutUtils.h at all, or where only method implementations that can
easily be moved to the .cpp file use it.

Differential Revision: https://phabricator.services.mozilla.com/D91504
2020-09-26 17:55:00 +00:00
Botond Ballo
4d6bf32e3a Bug 1667475 - Document that FrameMetrics::mDisplayPort is relative to GetLayoutScrollOffset(). r=kats
It stopped being relative to mScrollOffset in bug 1519285, when that
patched change the value stored in mScrollOffset to be the visual
scroll offset even for the Layers copy of the metrics.

Depends on D91479

Differential Revision: https://phabricator.services.mozilla.com/D91480
2020-09-26 17:44:31 +00:00
Botond Ballo
90420069cc Bug 1667475 - Remove FrameMetrics::mDisplayPortMargins. r=kats
The two existing uses were inconsistent in whether the margins
were relative to the visual viewport or the layout viewport.

We could fix this, but it turns out both uses are readily
refactored to not need the field, so this patch removes the
field.

Differential Revision: https://phabricator.services.mozilla.com/D91479
2020-09-26 17:44:03 +00:00
Sebastian Hengst
74059b06ea Bug 1642532 - update webaudio test expectations for Linux 32-bit. a=wpt-sync DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91502
2020-09-26 14:12:25 +00:00
Jon Coppeard
c9fa7a29ff Bug 1666853 - Part 5: Add a simpler gray unmarking interface that's easier to call from our read barrier r=sfink
Constructing a GCCellPtr means getting the trace kind from a lookup table based
on the alloc kind. We can move this out of line so that code's not included in
the barrier.

Differential Revision: https://phabricator.services.mozilla.com/D91312
2020-09-26 10:40:51 +00:00
Jon Coppeard
0bbf0e853e Bug 1666853 - Part 4: Remove use of ApplyGCThingTyped from Value barriers as this doesn't generate good code r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D91311
2020-09-26 10:40:48 +00:00
Jon Coppeard
14ae5786a0 Bug 1666853 - Part 3: Move barrier implementations out of derived cell tyes into standalone functions r=sfink
This moves barrier implementations out of derived cell types, with the types
supplying necessary information to a central implementation (e.g. with the
isPermanentAndMayBeShared() method).

Differential Revision: https://phabricator.services.mozilla.com/D91310
2020-09-26 10:39:39 +00:00
Jon Coppeard
5b206f3ba9 Bug 1666853 - Part 2: Inline preconditions for Value barriers r=sfink
Currently our Value barriers are all out-of-line. We can at least avoid a call
if the value isn't a GC thing.

Differential Revision: https://phabricator.services.mozilla.com/D91309
2020-09-26 10:38:20 +00:00
Jon Coppeard
a45bdca9ee Bug 1666853 - Part 1: Remove a redundant heap state check r=sfink
We've already asserted that we're not collecting if we're on the main thread in this method.

Differential Revision: https://phabricator.services.mozilla.com/D91308
2020-09-26 10:38:12 +00:00
Joel Maher
c7d6f9daba Bug 1660661 - adjust svg alpha reftest expectations for windows 10 on hardware. r=kats DONTBUILD
adjust svg alpha reftest expectations for windows 10 on hardware

Differential Revision: https://phabricator.services.mozilla.com/D87968
2020-08-23 16:04:52 +00:00
Bogdan Tara
1444728054 Backed out changeset 86ec8b287a67 (bug 166061) for landing with the wrong bug number 2020-09-26 13:17:23 +03:00
Jon Coppeard
2c926ec197 Bug 1666880 - Make VisitTraceList update expected compartment information r=sfink
Rather than calling GCMarker::traverseEdge directly, call do DoMarking because
this also handles checking/clearing the expected compartment information in
debug builds, the lack of which is causing this assertion failure.

Differential Revision: https://phabricator.services.mozilla.com/D91405
2020-09-25 17:24:50 +00:00
André Bargull
783a5cef94 Bug 1643948 - Part 4: Add missing JitSpew_Codegen calls. r=jandem
And remove calls from helper functions like `emitLoadTypedElementResult()`
and `emitStoreTypedElement()`.

Differential Revision: https://phabricator.services.mozilla.com/D91033
2020-09-26 09:21:46 +00:00
André Bargull
2eac7ec61d Bug 1643948 - Part 3: Transpile GuardArgumentsObjectNotOverriddenIterator. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D91032
2020-09-25 14:31:52 +00:00
André Bargull
d4284e06e5 Bug 1643948 - Part 2: Optimise arguments[Symbol.iterator] in CacheIR. r=jandem
This change allows to retrieve `arguments[Symbol.iterator]` without calling the
resolve hook and without actually adding the iterator function to the arguments
object.

Differential Revision: https://phabricator.services.mozilla.com/D91031
2020-09-25 14:30:38 +00:00
André Bargull
d6e7fff6a6 Bug 1643948 - Part 1: Reify the arguments object iterator in the resolve hook. r=jandem
Both arguments objects resolve hook were defining the iterator property, but
didn't set the corresponding `ITERATOR_OVERRIDDEN_BIT` flag. We don't need to
apply a similar change for the other resolved properties, because they're
using the `(Un)MappedArgGetter` and `(Un)MappedArgSetter` property functions.

In preparation for part two, the code to retrieve `ArrayValues` was already
moved into a separate function.

Differential Revision: https://phabricator.services.mozilla.com/D91030
2020-09-25 14:30:05 +00:00
Frederic Wang
0eebca3c33 Bug 1667118 - Rename -moz-math-script-level to math-depth. r=emilio
This renames the internal -moz-math-script-level property in order to
prepare for full math-depth support. Currently, the property is guarded
under a disabled-by-default flag, so there should be no observable
behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D91285
2020-09-26 03:04:56 +00:00
Jeff Muizelaar
82d85111c2 Bug 1667490 - Remove not recent win10 directcomposite blocking. r=aosmond
We haven't seen any problems on older win10

Differential Revision: https://phabricator.services.mozilla.com/D91484
2020-09-25 22:05:22 +00:00
Toshihito Kikuchi
abfd030f16 Bug 1666571 - Part 2. Support CALL [disp32] for Avast. r=handyman
The last Avast Antivirus's hook function contains `CALL [disp32]` instruction.
Our detour needs to be able to handle that pattern.

Differential Revision: https://phabricator.services.mozilla.com/D91155
2020-09-25 23:18:02 +00:00
Toshihito Kikuchi
05e886ea80 Bug 1666571 - Part 1. Support more patterns of OpCode 0xFF. r=handyman
This patch optimizes our detour's code handling Opcode 0xFF, expanding
its coverage to INC and DEC reg64 as well as PUSH and CALL.
Testcases for these scenarios are of course included.

Differential Revision: https://phabricator.services.mozilla.com/D91154
2020-09-25 23:18:15 +00:00
Steve Fink
1e220928f1 Bug 1666867 - Fix warning with imprecise integer conversion to double on clang 11. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D91213
2020-09-25 17:47:59 +00:00
Erik Nordin
572414569d Bug 1662946 - Fix Paper List Retrieval For Older Versions of Ubuntu r=emilio
- Rename EnsurePrinterInfo to TryEnsurePrinterInfo to reflect the fact that it can fail to populate the printer info.
- Add argument to TryEnsurePrinterInfo to accept a connection other than the default.
- Allow TryEnsurePrinterInfo to try once with the default connection and once with an established connection.
- Use an established connection to retrieve the paper list information.

Differential Revision: https://phabricator.services.mozilla.com/D91193
2020-09-24 22:01:43 +00:00
Jonathan Kew
2d346ebd7e Bug 1666110 - Add telemetry for paper size used when printing. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D91105
2020-09-25 22:19:40 +00:00
Jonathan Kew
ec35eabb53 Bug 1666473 - Update mPrintInfo in SetPaperWidth/Height overrides. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D91262
2020-09-25 19:53:42 +00:00
Jeff Muizelaar
60cf028f98 Bug 1667484 - Remove window jumping old driver blocking.
We're going to be a bit more aggressive in shipping
to older drivers in 82

Differential Revision: https://phabricator.services.mozilla.com/D91483
2020-09-25 21:28:20 +00:00
Harry Twyford
27650ea6ff Bug 1657414 - Support search mode in the Touch Bar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D91077
2020-09-25 20:45:48 +00:00
Harry Twyford
4515b74439 Bug 1665076 - Call setSearchMode directly from search(), fix search mode handoff, and introduce new search mode probes. r=adw
This patch calls setSearchMode directly from search(). This sets up a solution for the problem in the bug and also fixes the issue where a call to search() with a restriction token would flicker the token before it was replaced with the search mode indicator. I added new tabmenu and bookmarkmenu entry points to take advantage of this new functionality.

This also fixes the issues with handoff. Besides the problem of search() recording typed for handoff, `handoff` wasn't even registered as a Telemetry probe! That was my mistake. I added a test for handoff telemetry. It was only practical to test it in PBM since it uses a different implementation than about:home that's easier to test. I wrote a lengthy comment above the subtest about why I think this is okay.

Differential Revision: https://phabricator.services.mozilla.com/D91076
2020-09-25 20:45:33 +00:00
Markus Stange
fb91479c33 Bug 1667461 - Add a note about class name collisions. r=nika,xpcom-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91473
2020-09-25 20:35:13 +00:00
Sean Feng
f10ed9ceaa Bug 1666975 - Remove PENDING_CRITICAL_INPUT_WHEN_TIMEOUT telemetry probe r=smaug
This probe is no longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D91456
2020-09-25 20:57:51 +00:00
Markus Stange
9aa3b6a184 Bug 1667463 - Fix two typos in using_cxx_in_firefox_code.rst. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D91472
2020-09-25 20:25:23 +00:00
Dzmitry Malyshau
31aa932da0 Bug 1665371 - Switch WR reftests to llvmpipe and update the expectations r=gw,kats
This required some hacking on the CI side to convince Mesa to properly cross-compile...

Differential Revision: https://phabricator.services.mozilla.com/D90417
2020-09-25 19:54:32 +00:00
Gijs Kruitbosch
43276a9923 Bug 1667145 - update readability to git d5eea06a0095b3138dbd1f6233f656d690200509 to improve metadata and article parsing, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D91353
2020-09-25 20:06:52 +00:00
Narcis Beleuzu
679469fad8 Backed out changeset 239f29a99c4f (bug 1667118) for bc failure on browser_parsable_css.js . CLOSED TREE 2020-09-25 23:39:15 +03:00
Narcis Beleuzu
7cf9da23d5 Backed out 2 changesets (bug 1656414) for bc failure on browser_TabUnloader.js
Backed out changeset 210ab3a4f6d3 (bug 1656414)
Backed out changeset 576f1ac1fd81 (bug 1656414)
2020-09-25 23:38:38 +03:00
James Graham
61e09da070 Bug 1666759 - Add a target_tasks filter that enables scheduling uncommon tasks, r=jmaher
In particular this allows scheduling backlog tasks on try with --disable-target-task-filter

Differential Revision: https://phabricator.services.mozilla.com/D91135
2020-09-25 19:48:47 +00:00
moz-wptsync-bot
2367d63826 Bug 1667187 - [wpt-sync] Update web-platform-tests to 28bab3e887e6ea4e4398d8e069fd1f92421f1e95, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 28bab3e887e6ea4e4398d8e069fd1f92421f1e95
wpt-type: landing
2020-09-25 19:34:47 +00:00
Stephen McGruer
2c5a2b22a1 Bug 1666322 [wpt PR 25657] - [wpt] Check ChromeDriver version before accepting found binary, a=testonly
Automatic update from web-platform-tests
[wpt] Check ChromeDriver version before accepting found binary (#25657)

This fixes a long standing annoyance where we will blindly accept any
'chromedriver' binary, even if it isn't compatible with the Chrome
version under test. Instead, check that the versions of Chrome and
ChromeDriver mostly match. ChromeDriver is allowed to lag behind by a
release version, to allow for using a local build of Chromium.

See https://github.com/web-platform-tests/wpt/issues/10451
--

wpt-commits: 28bab3e887e6ea4e4398d8e069fd1f92421f1e95
wpt-pr: 25657
2020-09-25 19:29:50 +00:00
moz-wptsync-bot
f8b8ea3096 Bug 1666996 [wpt PR 25748] - Update wpt metadata, a=testonly
wpt-pr: 25748
wpt-type: metadata
2020-09-25 19:29:49 +00:00
Blink WPT Bot
e1065be2a1 Bug 1666996 [wpt PR 25748] - Refine crossOriginIsolated implementation for workers, a=testonly
Automatic update from web-platform-tests
Refine crossOriginIsolated implementation for workers (#25748)

- Fix WindowOrWorketGlobalScope.crossOriginIsolated behavior for
   workers.
   - For SharedWorkers and ServiceWorkers it always return false. See
     https://crbug.com/1131403 and https://crbug.com/1131404.
 - Rename ExecutionContext::IsCrossOriginIsolated to
   CrossOriginCapability. This is aligned with
   https://html.spec.whatwg.org/C/#concept-settings-object-cross-origin-isolated-capability.
 - Fix wpt/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/blob-data.https.html.
   I originally planned to do that in
   https://github.com/web-platform-tests/wpt/pull/24600 but I couldn't
   do that due to some flakiness.
 - Add more tests for workers in
   wpt/html/cross-origin-embedder-policy/cross-origin-isolated-permission.https.html.

Bug: 1115379, 1018680, 1131403, 1131404
Change-Id: I2afcb01403f67a11fd06aefde1238aba16b68f36
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2416428
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810130}

Co-authored-by: Yutaka Hirano <yhirano@chromium.org>
--

wpt-commits: ce281cc3f32d8e93ecbb33a51321d846ee2aae37
wpt-pr: 25748
2020-09-25 19:29:49 +00:00
moz-wptsync-bot
ddb53ac46c Bug 1667024 [wpt PR 25756] - Update wpt metadata, a=testonly
wpt-pr: 25756
wpt-type: metadata
2020-09-25 19:29:48 +00:00
Rune Lillesveen
df30943276 Bug 1667024 [wpt PR 25756] - Meta color-scheme is allowed in body., a=testonly
Automatic update from web-platform-tests
Meta color-scheme is allowed in body.

Per CSSWG resolution[1]. Also move the tests to wpt/html since the spec
is moving there per the same resolution.

Relevant spec pull requests are [2][3].

[1] https://github.com/w3c/csswg-drafts/issues/3846#issuecomment-648923121
[2] https://github.com/whatwg/html/pull/5938
[3] https://github.com/w3c/csswg-drafts/pull/5540

Bug: 1103669
Change-Id: I553c5ca8c1223cd746dc05471eb6d3c5d9d5f19b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2380654
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810183}

--

wpt-commits: a3921bb66b03e89253c7a9b6f84bd37990cfe0b9
wpt-pr: 25756
2020-09-25 19:29:48 +00:00
Eric Willigers
703cd2b421 Bug 1667023 [wpt PR 25755] - Web Share: restrict URL scheme to http and https, a=testonly
Automatic update from web-platform-tests
Web Share: restrict URL scheme to http and https

We now follow the recent spec change limiting the permitted scheme
for shared urls to http and https - see
https://github.com/w3c/web-share/issues/173
https://github.com/w3c/web-share/pull/174
https://github.com/w3c/web-share/pull/177

We make an exception if the page performing the share it itself loaded
from a different scheme (e.g. file) - in that case we allow the same
scheme to be used for the shared url.

Bug: 1131755
Change-Id: I6abf0f9acd40ef79ec49379314e2ef3a81d3467e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2425977
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Glen Robertson <glenrob@chromium.org>
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810180}

--

wpt-commits: a28408e23e7cb1e4e8dc070445a51fc2f2d9a4e6
wpt-pr: 25755
2020-09-25 19:29:47 +00:00
commit-queue@webkit.org
1e1ffc2f99 Bug 1667104 [wpt PR 25773] - Increase maximum open files for each server process on Darwin (WebKit export), a=testonly
Automatic update from web-platform-tests
Increase the maximum number of open files for wpt's servers https://bugs.webkit.org/show_bug.cgi?id=215829

Patch by Sam Sneddon <gsnedders@apple.com> on 2020-09-21
Reviewed by Youenn Fablet.

macOS has a much lower limits than other OSes by default, and the iOS bots often run into it with their level of parallel test execution. This bumps the limit for each wptserve process up to 2048, which is double the limit on Debian, and should probably be safe.

* web-platform-tests/tools/serve/serve.py:
(ServerProc.create_daemon):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@267354 268f45cc-cd09-0410-ab3c-d52691b4dbfc

--
REGRESSION(r267354): Only import resource module on Darwin https://bugs.webkit.org/show_bug.cgi?id=216823

Patch by Sam Sneddon <gsnedders@apple.com> on 2020-09-22
Reviewed by Darin Adler.

* web-platform-tests/tools/serve/serve.py:
Move the resource import to the local point behind the Darwin platform
test. This code is only run once per process initiation, hence it makes
no difference to have the import locally.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@267417 268f45cc-cd09-0410-ab3c-d52691b4dbfc

--

wpt-commits: 64cdc2d8769e69f9b08bdff153e973a88aa015aa, b3b32e61d700d3bd9877c755e3aa943b0c468e0c
wpt-pr: 25773
2020-09-25 19:29:47 +00:00
Harald Alvestrand
eee110ceab Bug 1666466 [wpt PR 25671] - Add test for candidates always arriving after SLD resolves, a=testonly
Automatic update from web-platform-tests
Add test for candidates always arriving after SLD resolves

Bug: chromium:1127309
Change-Id: I90602856ef9b021bf617fa8a7c95d872f87a8148
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2423886
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810157}

--

wpt-commits: a7aa54fdb2dca93af530d62c86b81837df0b78b7
wpt-pr: 25671
2020-09-25 19:29:47 +00:00
autofoolip
8325d82d19 Bug 1666960 [wpt PR 25738] - Update interfaces/native-file-system.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/native-file-system.idl (#25738)

Source: https://github.com/w3c/webref/blob/7583df5/ed/idl/native-file-system.idl
Build: https://travis-ci.org/w3c/webref/builds/729569825
--

wpt-commits: f06b04bfb993b32dd690d949e3ceceb56b214e4b
wpt-pr: 25738
2020-09-25 19:29:46 +00:00
Blink WPT Bot
9af86aa10e Bug 1666023 [wpt PR 25636] - Origin isolation: add crash test for noopener popup windows, a=testonly
Automatic update from web-platform-tests
Origin isolation: add crash test for noopener popup windows (#25636)

This illustrates the issue in https://crbug.com/1099718.

Bug: 1099718
Change-Id: Ie27df0a2cd5f62370332b318726bc10f965efe85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2270626
Reviewed-by: James MacLean <wjmaclean@chromium.org>
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809886}

Co-authored-by: Domenic Denicola <domenic@chromium.org>
--

wpt-commits: f4b94a757df7a0ab27d644b01eefe1cd2b5b6d7c
wpt-pr: 25636
2020-09-25 19:29:46 +00:00
Stephen McGruer
02261daa98 Bug 1666834 [wpt PR 25719] - Fix tests that return values to async_test in webrtc/, a=testonly
Automatic update from web-platform-tests
Fix tests that return values to async_test in webrtc/ (#25719)

These tests are written correctly, they just need to not return the
promises they use as part of the flow.

They could be rewritten to use promise_tests if desired, but that would
have performance implications (as it changes them from concurrent to
sequential) so leaving that for now.

See https://github.com/web-platform-tests/wpt/issues/21435
--

wpt-commits: db9d339c441f03b2b89b00bce3662fb6e043c6fb
wpt-pr: 25719
2020-09-25 19:29:45 +00:00
Lan Wei
6426a0830c Bug 1662355 [wpt PR 25315] - Add Wheel Input into Webdriver, a=testonly
Automatic update from web-platform-tests
Add Wheel Input into Webdriver (#25315)

Add Wheel Input into Webdriver's implementation testdriver Action API and add Webdriver wheel tests

--

wpt-commits: d48edb42b0e1a340a62e6a0f9eb273d842754d8e
wpt-pr: 25315
2020-09-25 19:29:45 +00:00