libprio does not currently build with MSVC (since it only supports
C90 as a compiler), this is being worked on upstream at https://github.com/mozilla/libprio/issues/17
As we are almost certainly not going to ship Firefox build with MSVC anymore,
let's disable this to get it working on this Tier-2 platform.
Differential Revision: https://phabricator.services.mozilla.com/D4292
--HG--
extra : moz-landing-system : lando
Much like mask images. This is the easy fix, for now.
We need to override the ASR clips with Nothing() because we don't really want
children of this display item to get the parent filter applied. It's not only
redundant, but also may be incorrect if the mask image is not opaque for example
(maybe WR should prevent that?).
This was caught by layout/reftests/w3c-css/submitted/masking/mask-opacity-1a.html
Differential Revision: https://phabricator.services.mozilla.com/D4351
--HG--
extra : moz-landing-system : lando
For the time being, we do not want to expose struct types outside of
the module where they are defined, and so there must be restrictions
on how functions and global variables that traffic in struct types can
be used.
At the same time, intra-module uses of functions and globals that use
struct types must be allowed to the greatest extent possible.
Terminology: A function that takes a Ref parameter or returns a Ref
result is "exposed for Ref", as is a global of Ref type. Anyref is OK
though, in all cases.
To keep it simple we have the following restrictions that can all be
checked statically.
- Exported and imported functions cannot be exposed for Ref.
- If the module has an exported or imported table then no function
stored in that table by the module (by means of an element segment)
can be exposed for Ref.
- If the module has an exported or imported table then no
call_indirect via that table may reference a type that is exposed
for Ref.
- An exported or imported global cannot be exposed for Ref.
Conversely,
- If a module has a private table then it can contain private
functions that are exposed for Ref and it is possible to call those
functions via that table.
- If a module has a private global then it can be exposed for ref.
Note that code generators can work around the restrictions by instead
using functions and globals that use anyref, and by using downcasts to
check that the types are indeed correct. (Though the meaning of
downcast will change as the GC feature evolves.)
All the code implementing the restrictions is under an #ifdef so that
we can easily find it later; all the test cases testing the
restrictions are in a separate file. Few existing tests needed to be
adapted, and none substantially.
--HG--
extra : rebase_source : 89fbbf9524dc02f627018d11861df3ef91de851b
Previously we would unconditionally set the .external flag on a table
if it had an element segment, but we should only do this if the table
is initialized with an imported function and so may contain functions
from multiple instances.
--HG--
extra : rebase_source : b7712cedce26749768838f7213bf1574ef5baf48
The patch refactors the test file, and also adds an additional test,
which makes sure that the default text of the prompt is replaced in
case of an empty string is send as text.
--HG--
extra : rebase_source : a55ee2906850bec382cb3b2b418fc374bff7e47c
Automatic update from web-platform-testsWPT: service worker: Refactor and format navigation-redirect.https.html.
In preparation for extending or modifying the test to test Client.url
and resultingClientId for https://github.com/whatwg/html/pull/3891.
Bug: 876223
Change-Id: I50e8b8c21c5f8639a24a9c2ec00df3ccafdc8ac8
Reviewed-on: https://chromium-review.googlesource.com/1184656
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585738}
--
wpt-commits: 1bc6d9975ef38c3ade2986dff737b4421c6352df
wpt-pr: 12610
Automatic update from web-platform-testsHTML: force layout in legend-dynamic-update.html
--
wpt-commits: 1580d7706c8b19b79cfa9cfd465ef90d3394894f
wpt-pr: 12665
Automatic update from web-platform-testsFetch/XHR/Beacon: test locked/disturbed ReadableStream
See https://github.com/whatwg/fetch/pull/801 for context.
--
wpt-commits: aecdb30fdb5bb87179aa572cbf3d3f33db69f89e
wpt-pr: 12639
Automatic update from web-platform-testsHTML: test dynamically updating the text content of a legend
--
wpt-commits: 9646393294fed9c0feac8a19a2b812c0885cb4f1
wpt-pr: 12647
Automatic update from web-platform-testsRTCIceTransport: gather() implementation.
This change implements the RTCIceTransport.gather() method and
associated methods/events: getLocalCandidates(), gatheringState,
ongatheringstatechange, and onicecandidate.
The state property is also partially implemented so that the
RTCIceTransport can be stopped and garbage collected.
Bug: 864871
Change-Id: I7056764789d92dc93038a7a2279a15c850b4d299
Reviewed-on: https://chromium-review.googlesource.com/1153845
Commit-Queue: Steve Anton <steveanton@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585634}
--
wpt-commits: 34f9b93c2749043ba68485dea92d1fb554075e60
wpt-pr: 12383
Automatic update from web-platform-tests[UserTiming] Correct measure where start is undefined
According to spec, if start is undefined for performance.measure(), 0 will be
used as the start time. However, the current implementation treats undefined as
"null".
This CL doesn't solve all the problems. For backward compatibility, L2 should
treat undefined passed to start/end as empty, null as a string 'null'. As a
temporary fix, we treat both null and undefined as undefined, which is safer
than as 'null'.
Bug: 876324
Change-Id: I7d74d6be9552d090ab7f28342be9a739017bf59b
Reviewed-on: https://chromium-review.googlesource.com/1180345
Commit-Queue: Liquan (Max) Gǔ <maxlg@chromium.org>
Reviewed-by: Yoav Weiss <yoav@yoav.ws>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Paul Irish <paulirish@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585103}
--
wpt-commits: 54525995564877fbf730c679200a5ae8610e5f2f
wpt-pr: 12556
Automatic update from web-platform-testsModify source path for wpt test of Accept-CH
This CL modifies source path that is used in wpt test of Accept-CH.
window.open() uses the base URL of the entry realm's window in order to
resolve a relative URL.
The entry realm should be main window on calling function
|acceptChLoaded| as a listener for load event of non-main window in this
test.
We want to open do_not_expect_client_hints_headers.html in resources/
so the relative URL in this test should start from "resources/".
Also, entry realm is not set correctly by current chromium
implementation, so fixed test is assumed to fail.
Change-Id: I973393e0a7ca74cac882eb58f5a58aa9a81556ff
Reviewed-on: https://chromium-review.googlesource.com/1179511
Commit-Queue: Yuki Yamada <yukiy@google.com>
Reviewed-by: Tarun Bansal <tbansal@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Hitoshi Yoshida <peria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584958}
--
wpt-commits: cd356d332be2a1edb92ae8bb185d0ff3fb40a176
wpt-pr: 12542
Automatic update from web-platform-testsHTML: add test for history.state after document.open() (#12650)
For https://github.com/whatwg/html/pull/3946.
--
wpt-commits: e57d136af9eef24a9f3b54dffcf9c7ca74331f09
wpt-pr: 12650
Automatic update from web-platform-testsHTML: document.open() and document's URL (#12636)
For https://github.com/whatwg/html/pull/3946.
Adapts the basic test in
https://github.com/web-platform-tests/wpt/pull/10817 for a number of
advanced scenarios regarding document activity.
Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
--
wpt-commits: 312d71258a26bfa420f7eef100df4ef92d961483
wpt-pr: 12636
Automatic update from web-platform-testsHTML: document.open() and reload (#12555)
For https://github.com/whatwg/html/pull/3946.
--
wpt-commits: 8b0c29bfa35d03c3db9027af796abcdb08b7c6dc
wpt-pr: 12555
Automatic update from web-platform-testsCorrectly spell XREnvironmentIntegrationProvider
Change spelling of XREnviromentIntegrationProvider to
XREnvironmentIntegrationProvider. Because apparently it's spelled
environ not enviro.
Cq-Include-Trybots: luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: I001157b168e325aeab03ec9e1bb22532b8c25b45
Reviewed-on: https://chromium-review.googlesource.com/1186963
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Anna Offenwanger <offenwanger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585532}
--
wpt-commits: bbb7a3793b580ff9517fbe530dd02af4dd3d852d
wpt-pr: 12653
Automatic update from web-platform-testsDOM: do initEvent() before a returnValue test
--
wpt-commits: 8158699f81fb068af4fb8f70661388b1fdb88813
wpt-pr: 12651