Commit Graph

641958 Commits

Author SHA1 Message Date
Anne van Kesteren
85260ef3de Bug 1527661 [wpt PR 15356] - HTML: <form rel>, a=testonly
Automatic update from web-platform-tests
HTML: <form rel> (#15356)

For https://github.com/whatwg/html/pull/4332.

--

wpt-commits: b44dacf7a939fd93f3afb0c46f8f89d71ea20409
wpt-pr: 15356
2019-03-15 18:08:27 +00:00
moz-wptsync-bot
961d5a1b21 Bug 1528746 [wpt PR 15406] - Update wpt metadata, a=testonly
wpt-pr: 15406
wpt-type: metadata
2019-03-15 18:08:25 +00:00
autofoolip
44375dc427 Bug 1528746 [wpt PR 15406] - Update interfaces/html.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/html.idl (#15406)

Source: https://github.com/tidoust/reffy-reports/blob/42ed719/whatwg/idl/html.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/493621065
--

wpt-commits: f026ed3dce8578662f907d37234a9a600c5ad517
wpt-pr: 15406
2019-03-15 18:08:24 +00:00
Philip Jägenstedt
abd4512dde Bug 1528741 [wpt PR 15411] - Mark WebGL idlharness tests as slow, a=testonly
Automatic update from web-platform-tests
Mark WebGL idlharness tests as slow

See https://github.com/web-platform-tests/wpt/pull/15409#issuecomment-463978504.

--

wpt-commits: b8f84694a5d7a7470d12c1d797277a421ef2df76
wpt-pr: 15411
2019-03-15 18:08:22 +00:00
moz-wptsync-bot
54c8fe6cf1 Bug 1464538 [wpt PR 11173] - Update wpt metadata, a=testonly
wpt-pr: 11173
wpt-type: metadata
2019-03-15 18:08:21 +00:00
jugglinmike
f24f827c0a Bug 1464538 [wpt PR 11173] - [testdriver] Enable manual interaction, a=testonly
Automatic update from web-platform-tests
[testdriver] Enable manual interaction (#11173)

The testdriver.js utility allows tests which require user input to be
fully automated. It requires that the browser be under the control of a
WebDriver server in order to do this.

In test maintenance contexts, this requirement can slow development
because a new browsing session must be created for each trial, and
debugging tools such as the developer's console cannot be used.

This requirement also limits the tests' value to a larger audience when
published online. Visitors to sites like w3c-test.org are interested in
observing test results experimentally, but although they may be capable
of providing the expected input, the hard requirement on WebDriver will
cause tests to fail unconditionally.

Extend the framework to accept traditional human input if the test is
being run without the WebDriver technology. This allows test authors to
debug tests and other interested parties to verify results in browsers
of their choosing. It does not interfere with fully-automated test
execution.
--

wpt-commits: bfd9504d321d35ebfbbe56ab6c7f5c0642495719
wpt-pr: 11173
2019-03-15 18:08:19 +00:00
Dave Tapuska
2939cb55b5 Bug 1528211 [wpt PR 15362] - Fix flakiness with stale-while-revalidate tests., a=testonly
Automatic update from web-platform-tests
Fix flakiness with stale-while-revalidate tests. (#15362)

Using cookies didn't seem reliable in the wpt test runner when it was
re-run. Stop using cookies and use the server side stash instead
like the rest of the fetch tests do.

Increase timeout on staleness.
--

wpt-commits: 2801597ed275a33f31b8e54081a7e891eda0ff07
wpt-pr: 15362
2019-03-15 18:08:18 +00:00
autofoolip
3d874a6642 Bug 1528736 [wpt PR 15405] - Update interfaces/font-metrics-api.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/font-metrics-api.idl (#15405)

Source: https://github.com/tidoust/reffy-reports/blob/42ed719/whatwg/idl/font-metrics-api.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/493621065
--

wpt-commits: 1e0b2f14ee7842a36730fe2b6f4a8e306eaeaed2
wpt-pr: 15405
2019-03-15 18:08:17 +00:00
autofoolip
f50edabd7d Bug 1528732 [wpt PR 15408] - Update interfaces/web-nfc.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/web-nfc.idl (#15408)

Source: https://github.com/tidoust/reffy-reports/blob/42ed719/whatwg/idl/web-nfc.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/493621065
--

wpt-commits: ab1f5d66d8c0ab41af4a16b2571fe42a2cf00f4f
wpt-pr: 15408
2019-03-15 18:08:15 +00:00
autofoolip
0979a33ba6 Bug 1528728 [wpt PR 15407] - Update interfaces/storage.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/storage.idl (#15407)

Source: https://github.com/tidoust/reffy-reports/blob/42ed719/whatwg/idl/storage.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/493621065
--

wpt-commits: 68d8ead0883487193d4032a51992e1feeb744456
wpt-pr: 15407
2019-03-15 18:08:14 +00:00
moz-wptsync-bot
e01f0271fe Bug 1528726 [wpt PR 15392] - Update wpt metadata, a=testonly
wpt-pr: 15392
wpt-type: metadata
2019-03-15 18:08:12 +00:00
Anne van Kesteren
1335ba6e6c Bug 1528726 [wpt PR 15392] - HTML: nested browsing contexts name attribute, a=testonly
Automatic update from web-platform-tests
HTML: nested browsing contexts name attribute

For https://github.com/whatwg/html/pull/4367.
--

wpt-commits: e18c05e5d1ee2c9a2343dda4f8bb38071740ab8a
wpt-pr: 15392
2019-03-15 18:08:11 +00:00
Kent Tamura
276abfda32 Bug 1528722 [wpt PR 15410] - domparsing: Apply parse(), serialize(), and XMLNS_URI, a=testonly
Automatic update from web-platform-tests
domparsing: Apply parse(), serialize(), and XMLNS_URI

This change has no behavior changes.

Change-Id: I4618f6d5afb5d0b269c18d4cff7901913558f739
Reviewed-on: https://chromium-review.googlesource.com/c/1475021
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632528}

--

wpt-commits: 4a90b84e984bcd83978317b86031ed4e4aa8600e
wpt-pr: 15410
2019-03-15 18:08:09 +00:00
Kent Tamura
9b06c81f1c Bug 1528721 [wpt PR 15403] - XMLSerializer: Support element prefix rewriting., a=testonly
Automatic update from web-platform-tests
XMLSerializer: Support element prefix rewriting.

We need to change the prefix of an element if:
 - The element's namespace is same as the inherited default namespace,
   and the element prefix is not empty,
 - The prefix-namespace pair of an element is not declared, and there
   is another prefix associated to the namespace, or
 - The namespace of an element is not associated to any prefixes, and
   the element's prefix is declared for another namespace in the
   element.

This CL implements Step 11, 12.1 to 12.5 of [1].
* Add capability to serialize prefix which is not element.prefix()
  to MarkupFormatter
* MarkupAccumulator::AppendElement() returns a serialized prefix,
  and AppendEndTag() takes it as an argument.
* MarkupAccumulator::AppendStartTagOpen() implements the steps, and
  returns a serialized prefix as well as 'ignore namespace
  definition attribute' flag.
* MarkupAccumulator::RetrievePreferredPrefixString():
  Remove the code for empty prefix for elements. Empty prefix is
  handled in the callsite.
* MarkupAccumulator::ShouldAddNamespaceElement(): Removed. It's not
  used any longer.

* dom/domparsing/xmlserializer-xml-namespace-expected.txt:
  The new behavior is expected. We successfully find 'xml' prefix.

[1] https://w3c.github.io/DOM-Parsing/#xml-serializing-an-element-node

Bug: 929035
Change-Id: Icf63cb40b120d29a4b8678104592739d773f3a48
Reviewed-on: https://chromium-review.googlesource.com/c/1473090
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632459}

--

wpt-commits: 2767f92702b54d58cd8b4c289f00a7bc028c10fb
wpt-pr: 15403
2019-03-15 18:08:07 +00:00
Gérard Talbot
be54e9a08f Bug 1528719 [wpt PR 15397] - adding a new test on rgba() function, a=testonly
Automatic update from web-platform-tests
adding a new test on rgba() function

--

wpt-commits: ad219567030d1f99f7310f52a17546b57b70d29e
wpt-pr: 15397
2019-03-15 18:08:06 +00:00
Marcos Cáceres
f73c1426b9 Bug 1528716 [wpt PR 15395] - Add @danyao, a=testonly
Automatic update from web-platform-tests
Add @danyao (#15395)

--

wpt-commits: 0bd21dbf163460eed6f9af0d8ec40fe6f49a8435
wpt-pr: 15395
2019-03-15 18:08:04 +00:00
kaixinjxq
2f7fee70e6 Bug 1513857 [wpt PR 14491] - Add CEReactions tests for HTMLBaseElement, a=testonly
Automatic update from web-platform-tests
Add CEReactions tests for HTMLBaseElement

--

wpt-commits: ce667da7c2cf7485f9d818deb67641613b0c5ef3
wpt-pr: 14491
2019-03-15 18:08:03 +00:00
Danyao Wang
0caa471562 Bug 1528711 [wpt PR 15386] - [PaymentRequest][WPT] Automate manual tests that need user click., a=testonly
Automatic update from web-platform-tests
[PaymentRequest][WPT] Automate manual tests that need user click.

Before this patch, test cases that need a user click were implemented as
manual tests. This patch automates them using testdriver.bless() API,
which simulates a user click action using WebDriver.

Bug: 929773
Change-Id: I368e5867c2a889504a360d7d704aa83d3cf9c78e
Reviewed-on: https://chromium-review.googlesource.com/c/1471297
Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org>
Commit-Queue: Danyao Wang <danyao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632259}

--

wpt-commits: 85614961e6ee65fe339a7a8e770499c80cccae28
wpt-pr: 15386
2019-03-15 18:08:01 +00:00
Ian Kilpatrick
5ff62a3a5c Bug 1527353 [wpt PR 15335] - [LayoutNG] Invalidate layout when OOF-positioned gets added/removed., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Invalidate layout when OOF-positioned gets added/removed.

This patch allows us to reuse a cached layout result when we have
OOF-positioned descendants in the result.

In order to do this whenever a OOF-positioned object gets added or
removed we invalidate the parent chain for all objects which may
contain this element inside its layout result.

There are more optimal versions of this approach, which I've noted
inside a comment, but this seems good enough for now.

Bug: 635619
Change-Id: I4b29fcc26154dcd76cee55455d83558c6cf798fa
Reviewed-on: https://chromium-review.googlesource.com/c/1396777
Reviewed-by: Emil A Eklund <eae@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632256}

--

wpt-commits: bbe1144015e708f62b9ae30b3770884db94e504b
wpt-pr: 15335
2019-03-15 18:08:00 +00:00
moz-wptsync-bot
3fee03487b Bug 1509034 [wpt PR 14163] - Update wpt metadata, a=testonly
wpt-pr: 14163
wpt-type: metadata
2019-03-15 18:07:58 +00:00
Marcos Cáceres
5864d6ed05 Bug 1509034 [wpt PR 14163] - fix: make PMIs conform to spec, a=testonly
Automatic update from web-platform-tests
fix: make PMIs conform to spec (#14163)

--

wpt-commits: 94dd52b3f5a6e768d25a3cc459aeeb1e69fb9381
wpt-pr: 14163
2019-03-15 18:07:57 +00:00
Anne van Kesteren
38462f0754 Bug 1528709 [wpt PR 15391] - HTML: window.name, a=testonly
Automatic update from web-platform-tests
HTML: window.name

For https://github.com/whatwg/html/pull/4366.
--

wpt-commits: 8e76fc76d3af0a56d0ccdd627fe844fd9c5a1554
wpt-pr: 15391
2019-03-15 18:07:55 +00:00
moz-wptsync-bot
88d73e93d3 Bug 1527981 [wpt PR 15374] - Update wpt metadata, a=testonly
wpt-pr: 15374
wpt-type: metadata
2019-03-15 18:07:54 +00:00
autofoolip
0f3099f946 Bug 1527981 [wpt PR 15374] - Update interfaces/webxr.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webxr.idl (#15374)

Source: https://github.com/tidoust/reffy-reports/blob/d3ee200/whatwg/idl/webxr.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/492560012
--

wpt-commits: fbbf9a6b68f06236be7cfbf75807e0fc2e5e0930
wpt-pr: 15374
2019-03-15 18:07:52 +00:00
Kent Tamura
2aa09eed75 Bug 1528705 [wpt PR 15389] - XMLSerializer should drop xmlns="..." in some cases, a=testonly
Automatic update from web-platform-tests
XMLSerializer should drop xmlns="..." in some cases

If an element has no prefix and its namespace is different from
the current default namespace, the element needs to add
xmlns="<elements-namesapce-uri>". In such case, we need to drop
existing xmlns="<other-uri>" and need to take care of existing
xmlns="<elements-namespace-uri>".

Implementation:
 Follow the specification in the following points:
  - Stop registering default namespace to prefix-namespace /
    namespace-prefixes maps.
  - The default namespace is tracked by NamespaceContext::
    context_namespace_.
  - 'local default namespace' is computed in 'recording the namespace
    information' algorithm.

 * NamespaceContext::Add(): Make sure arguments are not empty.
 * Move MarkupAccumulator::RecordNamespacInformation to NamespaceContext,
   and update the default namespace handling.
 * AppendElement() respects to 'ignore namespace definition attribute' flag.
 * Implement some parts of the specification to
  - keep track the default namespace
  - return correct 'ignore namespace definition attribute' value
  - add an appropriate xmlns="..."

Bug: 929035
Change-Id: Id5f0090d5dc08334c202e6ef9b107f1645fb3120
Reviewed-on: https://chromium-review.googlesource.com/c/1471671
Commit-Queue: Kent Tamura <tkent@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632142}

--

wpt-commits: 1b2808938937c9e992eb469b345ca64f99182c29
wpt-pr: 15389
2019-03-15 18:07:51 +00:00
moz-wptsync-bot
40ca1344e6 Bug 1528702 [wpt PR 15388] - Update wpt metadata, a=testonly
wpt-pr: 15388
wpt-type: metadata
2019-03-15 18:07:49 +00:00
Kunihiko Sakamoto
932dbf1f52 Bug 1528702 [wpt PR 15388] - SignedExchange: Close response body data pipe on integrity error, a=testonly
Automatic update from web-platform-tests
SignedExchange: Close response body data pipe on integrity error

This fixes a bug where data pipe for response body was not closed when
Signed Exchange has payload integrity error.

SourceStreamToDataPipe::OnComplete() attempts to close the pipe by
resetting |pending_write_|. But if |source_| is a FilterSourceStream, it
still retains a reference to |pending_write_|. We should explicitly call
|pending_write_->Complete(0)| to free the pipe on error cases too.

Bug: 931955
Change-Id: I63b2470dbb92aa57016c5c71222bcdabe889fd34
Reviewed-on: https://chromium-review.googlesource.com/c/1470355
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632118}

--

wpt-commits: 2867bad83ba14201d96f1eaf54027164251fe541
wpt-pr: 15388
2019-03-15 18:07:48 +00:00
Johanna
9177d56bf4 Bug 1528058 [wpt PR 15378] - [Screen Orientation] Fix: add requestFullscreen to lock-basic, a=testonly
Automatic update from web-platform-tests
[Screen Orientation] Fix: add requestFullscreen to lock-basic (#15378)

--

wpt-commits: 0f05661c8e441416e314cc6c5779671d29c81a09
wpt-pr: 15378
2019-03-15 18:07:46 +00:00
Johanna
bb946f4693 Bug 1528700 [wpt PR 15385] - [Screen Orientation] Fix: add requestFullscreen to onchange-event.html, a=testonly
Automatic update from web-platform-tests
Fix: add requestFullscreen (#15385)

--

wpt-commits: 0db395ed1acb636ab0fa2686944a46d038d073d4
wpt-pr: 15385
2019-03-15 18:07:45 +00:00
Matt Falkenhagen
1eb67e9836 Bug 1528032 [wpt PR 15377] - WPT: service worker: Loosen postmessage-to-client-message-queue.https.html., a=testonly
Automatic update from web-platform-tests
WPT: service worker: Loosen postmessage-to-client-message-queue.https.html.

Chrome flakily failed the test because it doesn't guarantee the order
between message and fetch event. That might violate the spec, but the
test doesn't need to test this. It's meant to test that the client
message queue isn't enabled until a certain time. We can test
that without requiring message/fetch ordering.

Loosen the test to just check that the messages arrive after
|earliest_dispatch|.

Bug: 926670
Change-Id: Ic291b25443358412936b4a5eeb24ee6f8efa6b71
Reviewed-on: https://chromium-review.googlesource.com/c/1469842
Auto-Submit: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632030}

--

wpt-commits: cde22888c0ffdde9842d380d11e0f09aab38006e
wpt-pr: 15377
2019-03-15 18:07:43 +00:00
Kent Tamura
4552a69c82 Bug 1528029 [wpt PR 15376] - Remove a special handling for XLink namespace in XMLSerializer, a=testonly
Automatic update from web-platform-tests
Remove a special handling for XLink namespace in XMLSerializer

The new behavior matches to the standard, Firefox, and Safari.

Bug: 927626
Change-Id: Ifc6687992c10fbca13faaaeb4a56e59f5469f594
Reviewed-on: https://chromium-review.googlesource.com/c/1469843
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631984}

--

wpt-commits: 6fb30bc55bf721c87d2ff32640deefc1b01061ab
wpt-pr: 15376
2019-03-15 18:07:42 +00:00
Erik Anderson
9367d5b6aa Bug 1528023 [wpt PR 15375] - ensure sleep_at_least is guaranteed to sleep for the requested duration, a=testonly
Automatic update from web-platform-tests
ensure sleep_at_least is guaranteed to sleep for the requested duration

Microsoft runs tests in a Hyper-V VM. The test external/wpt/resource-timing/resource-timing-level1.sub.html leverages wptserve's SyntheticResponse.py to request that each step of a response is delayed by 250ms. In our environment, even with the extra 15ms "padding" in sleep.py, we're seeing the timer return 5ms early which in turn causes the test to fail. This change updates the sleep_at_least function to, in a loop, explicitly check that it slept long enough and, if not, sleep again for a short interval.

Change-Id: I2dbd8e6bd586dc661b45f94454d3b6b4613db1a5
Reviewed-on: https://chromium-review.googlesource.com/c/1469655
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Erik Anderson <Erik.Anderson@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#631969}

--

wpt-commits: 8f7ccae78b9a0e36aca3618f62e5bf558f4775d4
wpt-pr: 15375
2019-03-15 18:07:40 +00:00
moz-wptsync-bot
0e6fbcb929 Bug 1528237 [wpt PR 15367] - Update wpt metadata, a=testonly
wpt-pr: 15367
wpt-type: metadata
2019-03-15 18:07:39 +00:00
Nicolas Pena
fe968d893c Bug 1528237 [wpt PR 15367] - [ElementTiming] Create entries for SVGImageElements, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Create entries for SVGImageElements

This change adds ElementTiming support for SVGImageElements. It adds a
layout test to verify that the entry is being created in a simple
example.

Bug: 879270
Change-Id: I39ae0a1209f1b299d6a431ac1ba2fcfa94b25b3e
Reviewed-on: https://chromium-review.googlesource.com/c/1467918
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#631923}

--

wpt-commits: 679777df34300565db3d3dcca0f32424fb0472a0
wpt-pr: 15367
2019-03-15 18:07:37 +00:00
Robert Ma
5e129836d7 Bug 1528232 [wpt PR 15384] - [Azure] Use curl instead of InvokeRESTAPI@1, a=testonly
Automatic update from web-platform-tests
[Azure] Use curl instead of InvokeRESTAPI@1 (#15384)

InvokeRESTAPI@1 doesn't seem to allow us to customize the timeout (it
has a builtin timeout of 20s), and the notify endpoint takes a while to
complete as it needs to download the artifacts from Azure.

Also, run both hooks (prod & staging) independently.

Hope to alleviate #1131.
--

wpt-commits: e0a7556f7d12da1dc38b6a051dacb224da442b72
wpt-pr: 15384
2019-03-15 18:07:36 +00:00
moz-wptsync-bot
113fce94c8 Bug 1528229 [wpt PR 15371] - Update wpt metadata, a=testonly
wpt-pr: 15371
wpt-type: metadata
2019-03-15 18:07:34 +00:00
Hiroshige Hayashizaki
255bbb6865 Bug 1528229 [wpt PR 15371] - [Import Maps] Implement Import Maps v0.5 behind a flag, a=testonly
Automatic update from web-platform-tests
[Import Maps] Implement Import Maps v0.5 behind a flag

Design doc: https://docs.google.com/document/d/1vFQzbmxg9ilpg8CT_P8roEYcpTfZ06Q5N4J9-ZQqqZo/edit

This CL implements an initial version of Import Maps that supports
- Inline import maps (i.e. no src attribute),
- Layered API/Built-in modules fallback, and
- Basic bare specifier mapping.

The import maps are behind the flag of LayeredAPI.

Bug: 848607
Change-Id: I31efa6f9ce470375a07592f627b525f48dc2d504
Reviewed-on: https://chromium-review.googlesource.com/c/1449093
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631880}

--

wpt-commits: 7ddae5400caf476583cfbe71238254f8cbb217b9
wpt-pr: 15371
2019-03-15 18:07:33 +00:00
moz-wptsync-bot
66680566c1 Bug 1528204 [wpt PR 15368] - Update wpt metadata, a=testonly
wpt-pr: 15368
wpt-type: metadata
2019-03-15 18:07:31 +00:00
Nicolás Peña
7d5bfb7ea8 Bug 1528204 [wpt PR 15368] - [LayoutStability] Move layout tests to WPT, a=testonly
Automatic update from web-platform-tests
[LayoutStability] Move layout tests to WPT

Bug: 581518
Change-Id: I475757c9dc66e192275b1ae02353f15a1fc8f926
Reviewed-on: https://chromium-review.googlesource.com/c/1468581
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631861}

--

wpt-commits: 92d1f6c0a381ca9c56910b9bbe6788175e8f8460
wpt-pr: 15368
2019-03-15 18:07:30 +00:00
moz-wptsync-bot
90c33bc841 Bug 1526260 [wpt PR 15175] - Update wpt metadata, a=testonly
wpt-pr: 15175
wpt-type: metadata
2019-03-15 18:07:28 +00:00
Stefan Zager
98659b57e0 Bug 1526260 [wpt PR 15175] - [IntersectionObserver] Upstream V2 tests to wpt, a=testonly
Automatic update from web-platform-tests
[IntersectionObserver] Upstream V2 tests to wpt

BUG=827639

Change-Id: I38fcdd0ae40cd3122541ffa8521d4ee30adffc22
Reviewed-on: https://chromium-review.googlesource.com/c/1447267
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631836}

--

wpt-commits: 4122c04d5d5fb30cf69f5c8ca993d74162688884
wpt-pr: 15175
2019-03-15 18:07:27 +00:00
moz-wptsync-bot
c1e871fef5 Bug 1527222 [wpt PR 15332] - Update wpt metadata, a=testonly
wpt-pr: 15332
wpt-type: metadata
2019-03-15 18:07:25 +00:00
Rouslan Solomakhin
dacd0d712b Bug 1527222 [wpt PR 15332] - [Payment Request][WPT] Fix inactive page tests., a=testonly
Automatic update from web-platform-tests
[Payment Request][WPT] Fix inactive page tests.

Before this patch, the tests for calling PaymentRequest.show() in an
inactive document failed because the renderer checked for an IPC
connection to the browser and rejected the show() promise with an
InvalidStateError because of the lack of the IPC connection. This
happens because the IPC connection is terminated after the browser
payment sheet closes, which happens upon a page becoming inactive.
Instead, the renderer should check for an active document first and
reject with AbortError in an inactive document.

This patch makes PaymentRequest.show() check for an active document
first and reject with AbortError in an inactive document. The IPC
connection is checked second.

This patch also makes a couple of active document test cases manual for
ease of testing. The last test case is not moved and is still failing.
It is unlikely to ever pass in Chrome, because it navigates away the
context where a PaymentRequest.show() promise object was created. After
the navigation, the promise object cannot change state in Chrome.

After this patch, two manual test cases for active document are passing
in Chrome.

Bug: 929773
Change-Id: Idbe9dbd03a69c18a4d24ba34642e6c7046026c62
Reviewed-on: https://chromium-review.googlesource.com/c/1463664
Reviewed-by: Danyao Wang <danyao@chromium.org>
Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631791}

--

wpt-commits: e6645a41093b3516eaa5bab63cd0ba65b3778a4e
wpt-pr: 15332
2019-03-15 18:07:24 +00:00
Anne van Kesteren
53192f2b61 Bug 1527669 [wpt PR 15358] - HTML: make <a>'s rel setter test work, a=testonly
Automatic update from web-platform-tests
HTML: make <a>'s rel setter test work

--

wpt-commits: d1f77cdd373524b0f348e47464ced3cfda7ca05b
wpt-pr: 15358
2019-03-15 18:07:22 +00:00
jugglinmike
5eb03dcfd7 Bug 1528109 [wpt PR 15363] - Correct format string in logging messages, a=testonly
Automatic update from web-platform-tests
Correct format string in logging messages (#15363)

--

wpt-commits: c18a2a49589f9cac44270f2daee298a79989951c
wpt-pr: 15363
2019-03-15 18:07:21 +00:00
moz-wptsync-bot
37159e0fa2 Bug 1527560 [wpt PR 15348] - Update wpt metadata, a=testonly
wpt-pr: 15348
wpt-type: metadata
2019-03-15 18:07:19 +00:00
Mike West
0193961a0b Bug 1527560 [wpt PR 15348] - Implement Sec-Fetch-Mode, a=testonly
Automatic update from web-platform-tests
Implement `Sec-Fetch-Mode`

This patch implements `Sec-Fetch-Mode`, which adds the current CORS
mode to outgoing, secure requests, as defined in
https://mikewest.github.io/sec-metadata/#sec-fetch-mode-header.

Bug: 843478
Change-Id: I811bfa86bdac1600b8abdd275d9526f6408e62e2
Reviewed-on: https://chromium-review.googlesource.com/c/1466362
Reviewed-by: Camille Lamy <clamy@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631651}

--

wpt-commits: 86bfe06b7260f552913b3274c30377ce7e9968b8
wpt-pr: 15348
2019-03-15 18:07:18 +00:00
moz-wptsync-bot
7ddbb7f9f3 Bug 1526836 [wpt PR 15296] - Update wpt metadata, a=testonly
wpt-pr: 15296
wpt-type: metadata
2019-03-15 18:07:16 +00:00
Mike West
b23d8838b3 Bug 1526836 [wpt PR 15296] - Implement navigator.getUserAgent(), a=testonly
Automatic update from web-platform-tests
Implement `navigator.getUserAgent()`

This patch is smaller than it looks. It basically does the following:

1.  It introduces `blink::UserAgentMetadata`, and a corresponding mojo
    type in order to hold the various shards of data we'd like to expose
    about user agents (brand, version, platform, architecture, and
    model).

2.  It threads these new types down from //chrome and //content/shell's
    implementations of `ContentBrowserClient` down into Blink via the
    same route we're using for the existing user-agent string
    (ChromeContentBrowserClient -> RenderProcessHost -> RenderThread
    -> Platform -> LocalFrameClient -> FrameLoader).

3.  It extends `Navigator` with a new `NavigatorUserAgent` mixin that
    exposes `navigator.getUserAgent()`. This returns a promise that
    resolves with a newly defined `UserAgent` IDL dictionary type.

So, the patch is huge, but not really that complex.

Bug: 928670
Change-Id: I4f267e373864162264ad4d721650942b147b378d
Reviewed-on: https://chromium-review.googlesource.com/c/1458098
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631613}

--

wpt-commits: 290e4d77cd6418cf7b37351549c1ed2e5c62f557
wpt-pr: 15296
2019-03-15 18:07:15 +00:00
Kent Tamura
6881bde88c Bug 1527540 [wpt PR 15343] - domparsing: Fix an issue that XMLSerializer generates new prefix for an attribute with an existing namespace, a=testonly
Automatic update from web-platform-tests
domparsing: Fix an issue that XMLSerializer generates new prefix for an attribute with an existing namespace

Add an implementation of "retrieving a preferred prefix string"
[1], and apply it to attribute serialization.

As the specification defines, this CL introduces another map [2] like:

  namespace URI => [older prefix, ..., newer prefix]

in order to retrieve most-recently-declared prefix.

When we search the map for a prefix, we check availability of
the prefix by the existing prefix-namespace map.

There are two failing test cases in XMLSerializer-serializeToString.html.
They follow the specification.
  * The first failing one: An non-well-formed XML is produced if we follow
    the specification. Chrome's new behavior matches to Firefox. Safari also
    produces a bad XML.
  * The second failing one: Firefox, Safari, and Chrome without this CL
    preserve prefix in such case.  This CL keeps the interoperable behavior.

[1] https://w3c.github.io/DOM-Parsing/#dfn-retrieving-a-preferred-prefix-string
[2] https://w3c.github.io/DOM-Parsing/#dfn-namespace-prefix-map

Bug: 906807
Change-Id: Idaea590ba19c9c21acbaf456ea91ce550c74db5a
Reviewed-on: https://chromium-review.googlesource.com/c/1445033
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631573}

--

wpt-commits: 2647e1e8f6995d12f44edbf0b4fce752e5cb7ec5
wpt-pr: 15343
2019-03-15 18:07:13 +00:00