Commit Graph

5445 Commits

Author SHA1 Message Date
Anne van Kesteren
34c8bf24a3 Bug 1444857 [wpt PR 9968] - DOM: test composed/composedPath via IDL, a=testonly
Automatic update from web-platform-testsDOM: test composed/composedPath via IDL (#9968)

--

wpt-commits: a4c4257d4c6df3000aad94b0c3ae1afc7c5aa5c6
wpt-pr: 9968
2018-04-28 19:30:56 +00:00
Ms2ger
a56b6a6bcb Bug 1454920 [wpt PR 10518] - Avoid FutureWarnings in test_sourcefile.py., a=testonly
Automatic update from web-platform-testsAvoid FutureWarnings in test_sourcefile.py. (#10518)

These lines of code triggered the following warning:

> FutureWarning: The behavior of this method will change in future versions.
> Use specific 'len(elem)' or 'elem is not None' test instead.
--

wpt-commits: 4a7f047bde7fef6a753abcfc6393770db2c6569a
wpt-pr: 10518
2018-04-28 19:30:55 +00:00
Anne van Kesteren
2af0197b9d Bug 1454708 [wpt PR 10509] - Fetch: MediaSource blob: URLs, a=testonly
Automatic update from web-platform-testsFetch: MediaSource blob: URLs

For https://github.com/whatwg/fetch/pull/708.
--

wpt-commits: e2c839d70a30ce0a3816bc63601a99ccf65a1654
wpt-pr: 10509
2018-04-28 19:30:55 +00:00
moz-wptsync-bot
62b7c277a9 Bug 1454898 [wpt PR 10515] - Update wpt metadata, a=testonly
wpt-pr: 10515
wpt-type: metadata
2018-04-28 19:30:54 +00:00
Ms2ger
51c6aef676 Bug 1454898 [wpt PR 10515] - URL.createObjectURL should not work with MediaStream, a=testonly
Automatic update from web-platform-testsURL.createObjectURL should not work with MediaStream (#10515)

Change the one existing test to no longer rely on it (and clearly mark it as manual) and add an entry to historical.html for it.

--

wpt-commits: b4e3ffbc3251172b79a9a82fa8e4ff290cc61449
wpt-pr: 10515
2018-04-28 19:30:53 +00:00
Anne van Kesteren
49e086a41a Bug 1453598 [wpt PR 10441] - Test vertical tab for base64, a=testonly
Automatic update from web-platform-testsTest vertical tab for base64

Apparently Rust's base64 crate strips this, so it would be good to test. Safari is also an outlier here.

--

wpt-commits: 412b4039cce45779eb2a294a26ce7151fd79c0d0
wpt-pr: 10441
2018-04-28 19:30:52 +00:00
jgraham
880b93e377 Bug 1454458 [wpt PR 10491] - Install Ahem for Safari on Sauce, a=testonly
Automatic update from web-platform-testsInstall Ahem for Safari on Sauce (#10491)

This just gets the latest master version of the font; we could change
things to get the version for the current revision, but it isn't
necessarily worth the extra complexity given how rarely this changes.
--

wpt-commits: 60308987fb8a877ee2d3ff32946e040d3efab495
wpt-pr: 10491
2018-04-28 19:30:51 +00:00
jugglinmike
7c8e2b5b03 Bug 1454535 [wpt PR 10499] - [wptrunner] Install Ahem in Sauce Labs Windows VM, a=testonly
Automatic update from web-platform-tests[wptrunner] Install Ahem in Sauce Labs Windows VM (#10499)

--

wpt-commits: f76bdbfac3b5a115c11b07d81a03830d4618a1aa
wpt-pr: 10499
2018-04-28 19:30:51 +00:00
moz-wptsync-bot
7509cf52eb Bug 1454635 [wpt PR 10504] - Update wpt metadata, a=testonly
wpt-pr: 10504
wpt-type: metadata
2018-04-28 19:30:50 +00:00
Morten Stenshorne
38bc434c14 Bug 1454635 [wpt PR 10504] - Fix wpt/css/CSS2/floats-clear/clear-on-parent-with-margins-no-clearance.html, a=testonly
Automatic update from web-platform-testsFix wpt/css/CSS2/floats-clear/clear-on-parent-with-margins-no-clearance.html

The test was incorrect, which is why it failed in legacy layout. It
passed in LayoutNG because of a bug there.

Add an (invisible) top border on the outer DIV to prevent clearance on
the child. Otherwise the outer DIV and the child with 'clear' would have
adjacent margins, which in turn would enable the child with 'clear' to
pull the float along with itself, which in turn would guarantee
clearance, which is precisely what this test wanted to avoid.

Still passes in LayoutNG.

Change-Id: I6b36d8196b93720453d6e398509705d2cf32f8e4
Reviewed-on: https://chromium-review.googlesource.com/1014975
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551443}

--

wpt-commits: 4a0df34066201cfe683293de6e93cf093dde9e6d
wpt-pr: 10504
2018-04-28 19:30:50 +00:00
moz-wptsync-bot
4d8ad7943e Bug 1453105 [wpt PR 10401] - Update wpt metadata, a=testonly
wpt-pr: 10401
wpt-type: metadata
2018-04-28 19:30:49 +00:00
Simon Stewart
7b2679de9e Bug 1453105 [wpt PR 10401] - Updating WebDriver execute[Async]Script tests for unhandled user prompts , a=testonly
Automatic update from web-platform-testsMerge pull request #10401 from jimevans/script-user-prompts

 Updating WebDriver execute[Async]Script tests for unhandled user prompts
--

wpt-commits: 32b05c81877aea609733d6c58eac2aefcfe02d5a
wpt-pr: 10401
2018-04-28 19:30:48 +00:00
Andreea Pavel
443c91d4b4 Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
Emilio Cobos Álvarez
1915a41571 Bug 1457652: Fix serialization order of the outline shorthand. r=xidorn
This is going to be tested in
https://github.com/w3c/web-platform-tests/pull/10700.

MozReview-Commit-ID: 7Oi1it70YFw
2018-04-28 15:41:17 +02:00
Emilio Cobos Álvarez
981bc1c766 Bug 1457166: Fire online / offline events at the window. r=bz
MozReview-Commit-ID: 2v5zNwM9qSh
2018-04-28 09:38:53 +02:00
Csoregi Natalia
aa73cfd14b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-28 00:55:43 +03:00
Henrik Skupin
7ab232c80e Bug 1457201 - [wdspec] Re-enable webdriver/tests/execute_script/cyclic.py r=jgraham
MozReview-Commit-ID: HumiWIBQ6uw

--HG--
extra : rebase_source : 9da96df18c4ea662135def0a174f2482216b9a37
2018-04-26 18:23:20 +02:00
Henrik Skupin
2f4680b821 Bug 1457089 - [wdspec] Re-enable webdriver/tests/element_click/bubbling.py r=jgraham
MozReview-Commit-ID: GWjK8WhZHah

--HG--
extra : rebase_source : a1bbaee46998bb09409301d6b0431d7e2dde2975
2018-04-26 11:42:14 +02:00
Andrei Ciure
c9b1f5222f Bug 1451142 - disable allowed.https.html on linux-qr for frequent failures. r=jmaher
--HG--
extra : rebase_source : 0264c4360b30b488fcd15b0264a806439d799a31
2018-04-26 08:21:00 +03:00
Brindusan Cristian
93d1017e0f Backed out changeset b543167ab064 (bug 1457166) for mochitest failures on test_bug336682_1.html CLOSED TREE 2018-04-27 15:44:00 +03:00
Emilio Cobos Álvarez
28b9b16ea6 Bug 1457166: Fire online / offline events at the window. r=bz
MozReview-Commit-ID: 2v5zNwM9qSh
2018-04-27 13:39:02 +02:00
Cosmin Sabou
68fdb6cf4f Merge inbound to mozilla-central. a=merge 2018-04-27 13:04:36 +03:00
Boris Zbarsky
52916ae726 Bug 644603 part 2. Ignore scroll positions when calculating the position of hypothetical boxes. r=dbaron 2018-04-26 17:55:45 -04:00
shindli
d46ebbf915 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-27 00:45:48 +03:00
shindli
1113a5f279 Merge inbound to mozilla-central. a=merge 2018-04-27 00:39:26 +03:00
Ben Kelly
45a9b54c7a Bug 1456466 P3 Fix tests to expect ServiceWorkerRegistration.update() to resolve with a registration. r=baku 2018-04-26 13:52:30 -07:00
Henrik Skupin
61731e85cb Bug 1397219 - [wdspec] Re-enable Element Click select test on debug builds. r=jgraham
MozReview-Commit-ID: 9KLAnUKblom

--HG--
extra : rebase_source : 0a90ad7059a83141fb410d4ab39c227e2d959fe2
2018-04-26 11:33:40 +02:00
Tiberius Oros
e56532596c Bug 1434754 - Disable /WebCryptoAPI/derive_bits_keys/hkdf.https.worker.html on windows10 ccov. r=jmaher 2018-04-25 06:48:00 -04:00
Andreea Pavel
d6f3c89545 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-26 09:08:26 +03:00
Andreea Pavel
a21531022b Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-26 09:04:59 +03:00
Boris Zbarsky
db41f3a815 Bug 1456887 part 1. Remove the [ArrayClass] annotation from DOMRectList. r=qdot
The NoInterfaceObject bit is me cleaning up after spec editors who change the
spec without updating the tests...
2018-04-26 01:38:06 -04:00
Henrik Skupin
442d785bfd Bug 1456799 - [wdspec] Use wdclient to get a named cookie in add cookie tests. r=maja_zf
MozReview-Commit-ID: 7PP4mPyxk6N

--HG--
extra : rebase_source : 19fcf758cec8c304710c18796730e2f15a634b1f
2018-04-25 17:59:09 +02:00
Henrik Skupin
1928e50fd5 Bug 1456799 - [wdspec] Add cookie tests have to use a shared custom add_cookie command. r=maja_zf
MozReview-Commit-ID: 8t8iMByRjcQ

--HG--
extra : rebase_source : 4887be3387e3c1497c1bfebfafca2f734885e882
2018-04-25 16:33:59 +02:00
Henrik Skupin
78f239dadd Bug 1456799 - [wdspec] Fix linter failures for add cookie tests. r=maja_zf
MozReview-Commit-ID: 1jA8TItN94s

--HG--
extra : rebase_source : 88d7089b91f9495e5d89905461632c861d9d6060
2018-04-25 16:08:55 +02:00
Henrik Skupin
cbb37bb535 Bug 1456799 - [wdspec] Fix add cookie tests for invalid domain usage. r=maja_zf
MozReview-Commit-ID: G8FQ6GlXS92

--HG--
extra : rebase_source : 6280e38816ed71a2413918f06156b7390bbcffec
2018-04-25 16:03:56 +02:00
Brad Werth
b2d3b7fad6 Bug 1265342 Part 13: Add two new WPT tests of shape-outside: inset with shape-margin, and update manifests. r=dholbert
MozReview-Commit-ID: EDJZHW89AT6

--HG--
extra : rebase_source : 8965e82721ce81dcc6083bdcabba0ac2d1f90678
2018-04-23 15:13:17 -07:00
moz-wptsync-bot
cb14cfd1ca Bug 1456953 - [wpt-sync] Update web-platform-tests to 558c8b5ac689a857cebcb26926589afffbd6b13b, a=testonly
wpt-head: 558c8b5ac689a857cebcb26926589afffbd6b13b
wpt-type: landing
2018-04-26 14:51:11 +00:00
Simon Pieters
b1935a7432 Bug 1454697 [wpt PR 10507] - [css-contain] add OWNERS, a=testonly
Automatic update from web-platform-tests[css-contain] add OWNERS

--

wpt-commits: 558c8b5ac689a857cebcb26926589afffbd6b13b
wpt-pr: 10507
2018-04-26 14:51:10 +00:00
moz-wptsync-bot
84e42e8686 Bug 1454693 [wpt PR 10506] - Update wpt metadata, a=testonly
wpt-pr: 10506
wpt-type: metadata
2018-04-26 14:51:09 +00:00
Simon Pieters
76507bead1 Bug 1454693 [wpt PR 10506] - Fix README.md command: python wpt run, a=testonly
Automatic update from web-platform-testsFix README.md command: python wpt run
--

wpt-commits: b1ddc9a7c7dd971b92476cee2077eb4aa3eb600d
wpt-pr: 10506
2018-04-26 14:51:09 +00:00
James Graham
da14d650c9 Bug 1454662 [wpt PR 10505] - Don't wrap HTTPExceptions in FunctionHandler.__call__()., a=testonly
Automatic update from web-platform-testsDon't wrap HTTPExceptions in FunctionHandler.__call__().

Extracted from https://github.com/w3c/web-platform-tests/pull/6792.

--

wpt-commits: 4bf2fa8d17f3165df7b6582754bf00ef277e1180
wpt-pr: 10505
2018-04-26 14:51:08 +00:00
Ahilya Sinha
c7a837bbdc Bug 1454498 [wpt PR 10494] - Fixed config.json not being used in TestEnvironment, a=testonly
Automatic update from web-platform-testsFixed config.json not being used in TestEnvironment (#10494)

Added a check in the TestEnvironment load_config so it overrides the
default config when present.

Closes https://github.com/w3c/web-platform-tests/issues/8181
--

wpt-commits: 8824132b3278f9ad126764689464e515d9a62473
wpt-pr: 10494
2018-04-26 14:51:08 +00:00
Brendan McLoughlin
5aa5c8f202 Bug 1448149 [wpt PR 10148] - Do not print logs twice when running wpt lint, a=testonly
Automatic update from web-platform-testsDo not print logs twice when running wpt lint (#10148)

--

wpt-commits: 16e3f3e541348400009edc7d296aba34b4961aff
wpt-pr: 10148
2018-04-26 14:51:08 +00:00
moz-wptsync-bot
e260a2afa6 Bug 1452928 [wpt PR 8449] - Update wpt metadata, a=testonly
wpt-pr: 8449
wpt-type: metadata
2018-04-26 14:51:07 +00:00
Anne van Kesteren
2804be31dc Bug 1452928 [wpt PR 8449] - Add more XMLHttpRequest overrideMimeType() tests, a=testonly
Automatic update from web-platform-testsAdd more XMLHttpRequest overrideMimeType() tests

For https://github.com/whatwg/xhr/issues/157, https://github.com/whatwg/xhr/pull/174, and https://github.com/whatwg/mimesniff/issues/42.
--

wpt-commits: ae41496630ba35cff974877498383f1280ca07c2
wpt-pr: 8449
2018-04-26 14:51:07 +00:00
Geoffrey Sneddon
4deb695530 Bug 1453235 [wpt PR 10409] - Add backwards compatibility for external_host and host_ip, a=testonly
Automatic update from web-platform-testsAdd backwards compatibility for external_host and host_ip (#10409)

--

wpt-commits: e0d1004a4ac00f92209215722dca513ab5ed010c
wpt-pr: 10409
2018-04-26 14:51:06 +00:00
Jinho Bang
c0ebb983c3 Bug 1454245 [wpt PR 10483] - PaymentHandler: Not allow to call operation if event is not trusted, a=testonly
Automatic update from web-platform-testsPaymentHandler: Not allow to call operation if event is not trusted

Related spec change:
  https://github.com/w3c/payment-handler/pull/294

Bug: 833530
Change-Id: I65d0e01bb5b6bfdd44925b90ba98837161cc136b
Reviewed-on: https://chromium-review.googlesource.com/1013664
Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org>
Commit-Queue: Jinho Bang <jinho.bang@samsung.com>
Cr-Commit-Position: refs/heads/master@{#551238}

--

wpt-commits: e08f2142aa8e98034966994966e02fff3747bdf8
wpt-pr: 10483
2018-04-26 14:51:06 +00:00
Anne van Kesteren
2bcf4dafca Bug 1454341 [wpt PR 10486] - Meta: certificate advice for macOS (Chrome/Safari), a=testonly
Automatic update from web-platform-testsMeta: certificate advice for macOS (Chrome/Safari) (#10486)

--

wpt-commits: 727a8130f1170305dd58c17b18950d7a6f445fd1
wpt-pr: 10486
2018-04-26 14:51:05 +00:00
moz-wptsync-bot
047ec2e77b Bug 1454516 [wpt PR 10496] - Update wpt metadata, a=testonly
wpt-pr: 10496
wpt-type: metadata
2018-04-26 14:51:04 +00:00
Hongchan Choi
c30cda98ab Bug 1454516 [wpt PR 10496] - Apply automatic pull for AudioWorkletNode with zero output, a=testonly
Automatic update from web-platform-testsApply automatic pull for AudioWorkletNode with zero output

Spec: https://webaudio.github.io/web-audio-api/#rendering-loop (Step 9.5)

The AudioWorkletNode with zero output must be pulled by the renderer.
The actual output will be ignored just like AnalyserNode.

Bug: 831245
Test: LayoutTests/external/wpt/webaudio/the-audio-api/the-audioworklet-interface/audioworkletnode-automatic-pull.https.html
Change-Id: If9bd27d6c4bfeecdcd2dd4c8445459afd8593e85
Reviewed-on: https://chromium-review.googlesource.com/1014388
Reviewed-by: Raymond Toy <rtoy@chromium.org>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551210}

--

wpt-commits: 7eed33a59decf3541af0b014968008e2c55a9f92
wpt-pr: 10496
2018-04-26 14:51:04 +00:00
Philip Jägenstedt
c3c80ce3eb Bug 1454347 [wpt PR 10487] - Remove old drawCustomFocusRing test, a=testonly
Automatic update from web-platform-testsRemove old drawCustomFocusRing test (#10487)

Added in https://github.com/w3c/web-platform-tests/pull/406.

Removed from HTML in
ff07c6d630
and historical test added in
https://github.com/w3c/web-platform-tests/pull/3801.

Fixes https://github.com/w3c/web-platform-tests/issues/547.
--

wpt-commits: e48e26a506e99cc22c89e763330e4b71afc776ce
wpt-pr: 10487
2018-04-26 14:51:03 +00:00
pyup.io bot
b42ce3589b Bug 1453775 [wpt PR 10453] - Update mozprofile to 1.0.0, a=testonly
Automatic update from web-platform-testsUpdate mozprofile from 0.29 to 1.0.0 (#10453)

--

wpt-commits: 25b6727b41d8ad70dcf8da8d8057e2b85f7cc2ce
wpt-pr: 10453
2018-04-26 14:51:02 +00:00
moz-wptsync-bot
44ece03e5f Bug 1454293 [wpt PR 10484] - Update wpt metadata, a=testonly
wpt-pr: 10484
wpt-type: metadata
2018-04-26 14:51:02 +00:00
Domenic Denicola
3fa6938ec2 Bug 1454293 [wpt PR 10484] - null is not the correct origin for createDocument(), a=testonly
Automatic update from web-platform-testsnull is not the correct origin for createDocument()

See https://dom.spec.whatwg.org/#dom-domimplementation-createdocument
--

wpt-commits: c5a68bdca6eb5ff0997cee59a91ddccb369a3510
wpt-pr: 10484
2018-04-26 14:51:02 +00:00
Anne van Kesteren
bb06674aef Bug 1452941 [wpt PR 8422] - Adjust XMLHttpRequest Content-Type handling, a=testonly
Automatic update from web-platform-testsAdjust XMLHttpRequest Content-Type handling

See https://github.com/whatwg/xhr/pull/176 and https://github.com/whatwg/mimesniff/pull/36.
--

wpt-commits: 84e7972a0518fb57f39740143d4b63e79b14e9f4
wpt-pr: 8422
2018-04-26 14:51:01 +00:00
Cosmin Sabou
a9f70f3fe8 Backed out changeset 5e8342edb62d (bug 1454820) mochitest e-10s failures on test_bug386782.html. CLOSED TREE 2018-04-27 19:50:26 +03:00
Jonathan Kingston
75441127ab Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa

--HG--
extra : rebase_source : 887bbeb5429f765eb8222a833ef4783d91fe8ae7
2018-04-18 00:43:39 +01:00
Henrik Skupin
4b50bbe04c Bug 1457054 - [wdspec] Align formatting of custom delete cookie command. r=automatedtester
MozReview-Commit-ID: KPePHYHT0CP

--HG--
extra : rebase_source : 936a993bb5469f3bfa9ae52f4acf01c6eba29755
2018-04-26 11:08:05 +02:00
Henrik Skupin
b60ec120b4 Bug 1457054 - [wdspec] Remove unwanted docstrings with reference to the spec. r=automatedtester
MozReview-Commit-ID: 8pxozHr4gZs

--HG--
extra : rebase_source : eae7e710f76aabdc271c5b3136c2cc621be3fbdb
2018-04-26 11:06:06 +02:00
Henrik Skupin
e778431267 Bug 1457054 - [wdspec] Use correct assertions for delete cookie tests. r=automatedtester
MozReview-Commit-ID: HsqeIkF5Wq7

--HG--
extra : rebase_source : e0b96eed07a091e9f4b4ac90c6cd704103bb08b9
2018-04-26 11:05:01 +02:00
Robert Longson
b0d2ba05a0 Bug 1455763 - Remove SVGViewElement.viewTarget r=heycam r=mystor 2018-04-25 22:44:31 +01:00
Brad Werth
4ffc71fa91 Bug 1265342 Part 12: Change almost all non-polygon shape-outside web-platform tests to expected pass. r=dholbert
MozReview-Commit-ID: EPGiDlrxInY

--HG--
extra : rebase_source : f8d7bfce8841681391db21f8fd40b4827e723a56
2018-03-14 13:09:47 -07:00
Brad Werth
8a34802cf8 Bug 1265342 Part 11: Update a shape-outside: image test to supply a correct shape-image-threshold. r=dholbert
The PNG data generated in this test creates a 100x100 image with opaque green
pixels in the left 50px and fully transparent pixels in the right 49px. The 1px
vertical strip of pixels at pixel column 50 are green pixels with .66 alpha.
The test was failing because it supplied a shape-image-threshold of .25, and
thus was floating by 51px instead of the intended 50px. This change modifies
the test to use a shape-image-threshold of .7, generating the intended 50px
float area.

MozReview-Commit-ID: GJtym0p95yk

--HG--
extra : rebase_source : f6388475db46a5ced29cf401ce12ae9c28cb81f3
2018-04-17 13:48:26 -07:00
Brad Werth
708ffe88f0 Bug 1265342 Part 10: Update a shape-outside circle test to make it more precise and correct. r=dholbert
The test shape-outside-circle-027.html has two issues that prevent it from
matching the reference image. For that test to pass, the text must be floated
right by 75 pixels. The two issues are:
1) The circle is defined as 35% of 170 pixels, which calculates to 59.5px.
   Since the shape-margin is 15px, this makes the total offset less than the
   target of 75px.
2) The circle is offset upwards by 10 pixels, which introduces a slight angle
   between the block start of the text and the center of the circle. The
   cosine of this small angle is slightly less than 1, which reduces the
   offset by some amount.
The changes made here specify the circle radius in whole pixels, and move the
center of the circle such that it is between the block start and block end of
the floated text, ensuring that the full width of the circle + shape-margin
will be used for calculating the float area.

MozReview-Commit-ID: JQ9Mc3GU4tW

--HG--
extra : rebase_source : 18af61015feb06f7fa0b1884dbfd97f927238f8d
2018-04-17 13:19:36 -07:00
Brad Werth
62afe3ee20 Bug 1265342 Part 9: Update shape-outside ellipse tests to correct invalid use of only one radius parameter. r=dholbert
https://www.w3.org/TR/css-shapes-1/#funcdef-ellipse states that the
grammar for ellipse is:

ellipse() = ellipse( [<shape-radius>{2}]? [at <position>]? )

This permits either 0 or 2 shape-radius tokens, but not 1. These two tests
use 1 shape-radius token and do not parse correctly.

https://www.w3.org/TR/css-shapes-1/#typedef-shape-radius states that omitted
shape-radius values default to closest-side. This change updates these two
tests to add the closest-side value for the missing shape-radius tokens.

MozReview-Commit-ID: 9UKxJel1b50

--HG--
extra : rebase_source : 2688982811417fe91fea2ba9c202de7a822c290c
2018-03-14 14:21:12 -07:00
Brad Werth
1dc0a6ea93 Bug 1265342 Part 8: Update shape-outside inset tests to explicitly set a line-height of 1, and not rely on a UA-specific value. r=dholbert
https://www.w3.org/TR/CSS2/visudet.html#propdef-line-height specifies that
line-height is given an initial value of normal, which is defined:

Tells user agents to set the used value to a "reasonable" value based on the
font of the element. The value has the same meaning as <number>. We recommend
a used value for 'normal' between 1.0 to 1.2. The computed value is 'normal'.

These tests are designed to work correctly if and only if the line-height
is 1. This change specifies line-height: 1 explicitly.

MozReview-Commit-ID: 3Ueassok0f

--HG--
extra : rebase_source : a6036fa620a67e6e48c795da963f9dd2835beebc
2018-03-14 14:49:57 -07:00
Henrik Skupin
950b68ee59 Bug 1457263 - [wdspec] Remove unused manifest file for element_clear.py. r=maja_zf
DONTBUILD

MozReview-Commit-ID: H5hLbWfUbNK

--HG--
extra : rebase_source : 77e7b2d490ba85b2db867fb91b1d68832fbfda95
2018-04-26 21:26:56 +02:00
Henrik Skupin
2b475962c6 Bug 1456996 - [wdspec] Fix test_duplicated_cookie for invalid domain usage. r=maja_zf
MozReview-Commit-ID: 9JDmCxxJvAt

--HG--
extra : rebase_source : ad41985843c738296f9a1799363a706fbb852e0c
2018-04-26 08:06:02 +02:00
Henrik Skupin
4cb696c57c Bug 1456996 - [wdclient] Add http-only support for setting a cookie. r=maja_zf
MozReview-Commit-ID: ZkiNOXK9Wg

--HG--
extra : rebase_source : 58be1058948fa5d5285b44a477f5dbf7de4e8562
2018-04-25 23:34:25 +02:00
Henrik Skupin
d3cd9931aa Bug 1456996 - [wdspec] Get named cookie tests have to use a shared custom get_named_cookie command. r=maja_zf
MozReview-Commit-ID: 7r3Krzrv8Wr

--HG--
extra : rebase_source : 7872a7f12ebcca2b9f9e2ffc69baa366fb10cc30
2018-04-25 23:20:47 +02:00
Gurzau Raul
faeb9b7ddd Merge inbound to mozilla-central. a=merge 2018-04-25 12:36:04 +03:00
Robert Longson
83c5aceb17 Bug 1455940 - Remove constructors from SVGNumber r=mystor 2018-04-25 07:00:36 +01:00
Brian Birtles
e0ea50192f Bug 1456688 - Set easing member in result of getComputedTiming(); r=hiro
The test added in this patch fails without the corresponding code changes
(specifically the second gGetComputedTimingTests test fails the comparison of
the 'easing' member).

MozReview-Commit-ID: 9eyXruVrPuN

--HG--
extra : rebase_source : 927f55c0670bf770e03d38eb876202efbb700c1e
2018-04-25 12:25:26 +09:00
Brindusan Cristian
9265429dcd Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-25 00:57:49 +03:00
Brindusan Cristian
59f801793b Merge inbound to mozilla-central. a=merge 2018-04-25 00:50:59 +03:00
James Graham
e1248b3d63 Bug 1456525 - Fix wpt ws[s] server intermittent startup issue, r=ato
Running wpt occasionally failed due to an issue starting the ws[s]
servers. This turns out to be a deadlock caused by a logging lock
being inherited into the child process, sometimes in a locked
state. As a workaround, after spawning the subprocess, we reload the
logging module in order to clear any existing lock. This is pretty
much a hack, but it's the fastest path to a solution to a critical issue.
2018-04-24 17:52:47 +01:00
Narcis Beleuzu
4a8e45afbb Bug 1450660 - Disable /child-navigates-parent-allowed.html on Linux for frequent failures. r=gbrown
--HG--
extra : rebase_source : 106971c7ab54ac61d3c12feca7ecca961bd4d800
2018-04-22 00:06:00 +03:00
Noemi Erli
40fee0b341 Backed out 3 changesets (bug 1456466) for mochitest failures in /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/MozPromise.h on a CLOSED TREE
Backed out changeset fd0feb0058fc (bug 1456466)
Backed out changeset e3a50afee79e (bug 1456466)
Backed out changeset 89ce7df05344 (bug 1456466)

--HG--
extra : rebase_source : b3f92fad7452a251948b88e6bf561acda162072b
2018-04-24 17:23:09 +03:00
Ben Kelly
4d52267479 Bug 1456466 P3 Fix tests to expect ServiceWorkerRegistration.update() to resolve with a registration. r=baku 2018-04-24 06:32:15 -07:00
moz-wptsync-bot
6df5d73ab0 Bug 1455929 - [wpt-sync] Update web-platform-tests to b4cdc8ff4bda43c826fe7911e6d8e035390b90fd, a=testonly
wpt-head: b4cdc8ff4bda43c826fe7911e6d8e035390b90fd
wpt-type: landing
2018-04-24 12:22:54 +00:00
Marcos Cáceres
2de3d9b995 Bug 1454335 [wpt PR 10485] - fix: ApplePay PMI is wrong, a=testonly
Automatic update from web-platform-testsfix: ApplePay PMI is wrong (#10485)

--

wpt-commits: b4cdc8ff4bda43c826fe7911e6d8e035390b90fd
wpt-pr: 10485
2018-04-24 12:22:53 +00:00
Anne van Kesteren
1bcc99f89f Bug 1453382 [wpt PR 10421] - Fetch: align about:blank handling with the standard, a=testonly
Automatic update from web-platform-testsFetch: align about:blank handling with the standard

See 72fc2e787b.

Closes https://github.com/whatwg/xhr/issues/194.
--

wpt-commits: fa62ac066402b280c37623ee9ec45489939781fc
wpt-pr: 10421
2018-04-24 12:22:52 +00:00
Anne van Kesteren
5dc4444ce4 Bug 1454386 [wpt PR 9987] - Ensure cloneNode() does not preserve the prototype, a=testonly
Automatic update from web-platform-testsEnsure cloneNode() does not preserve the prototype

Closes https://github.com/whatwg/dom/issues/565.
--

wpt-commits: 691673d4de5105fab16f3b1a1d8523a5e9699fee
wpt-pr: 9987
2018-04-24 12:22:51 +00:00
moz-wptsync-bot
a2ef7d1da3 Bug 1453646 [wpt PR 10444] - Improve handling of harness-level errors in wptrunner, a=testonly
Automatic update from web-platform-testsImprove handling of harness-level errors in wptrunner (#10444)

Split the internal handling of errors during a test into two cases;
INTERNAL-ERROR that is produced if there's an exception in the harness
and ERROR that is for exceptions reported by the test. Both are still
reported as ERROR to the user, but in the INTERNAL-ERROR case the
runner is always restarted, just like EXTERNAL-TIMEOUT, since we
assume that the internal state is compromised somehow.
--

wpt-commits: 6736e3f46bc6a110e6e550711208e492f1630eba
wpt-pr: 10444
2018-04-24 12:22:51 +00:00
moz-wptsync-bot
25b9b9fd3a Bug 1454153 [wpt PR 10469] - Update wpt metadata, a=testonly
wpt-pr: 10469
wpt-type: metadata
2018-04-24 12:22:50 +00:00
Eric Willigers
8f16e8d7b0 Bug 1454153 [wpt PR 10469] - CSS: Remove support for position values with 3 parts, a=testonly
Automatic update from web-platform-testsCSS: Remove support for position values with 3 parts

Intent:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/oBKMVCOX1sY/BLsXXiukAgAJ

BUG=804187

Change-Id: I94e79b2b426250c521d0ebae1492571fde078f31
Reviewed-on: https://chromium-review.googlesource.com/1013459
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550915}

--

wpt-commits: ff4cf69b8f1d705039d71ceef94dee04e74b35c9
wpt-pr: 10469
2018-04-24 12:22:50 +00:00
Fuqiao Xue
ee5dc864f4 Bug 1452726 [wpt PR 10383] - [css-values] Typo fixes, a=testonly
Automatic update from web-platform-tests[css-values] Typo fixes (#10383)

--

wpt-commits: fd2badfbfcfea30d9b61a306e4e73286eb001ec9
wpt-pr: 10383
2018-04-24 12:22:49 +00:00
Stephen McGruer
70055f51a2 Bug 1454073 [wpt PR 10465] - Reland "Web Animations: Fix bugs in procedure to process a keyframes argument", a=testonly
Automatic update from web-platform-testsReland "Web Animations: Fix bugs in procedure to process a keyframes argument"

This is a reland of 0ade0386aa4168b48234bc7f33d30a62140b95ea

Original change's description:
> Web Animations: Fix bugs in procedure to process a keyframes argument
>
> There were three minor bugs left in the implementation:
>
>   - We threw on lists-in-custom-iterators instead of just ignoring them.
>   - We returned all properties on the keyframe rather than just those
>     defined on the keyframe itself (e.g. we would include prototype
>     properties, against spec).
>   - We didn't access the properties in ascending unicode order.
>
> Bug: 827573
> Change-Id: I213ae5b24e1f35d7f28d16625025122950a6ba88
> Reviewed-on: https://chromium-review.googlesource.com/989261
> Reviewed-by: Kentaro Hara <haraken@chromium.org>
> Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
> Reviewed-by: Robert Flack <flackr@chromium.org>
> Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#550641}

Bug: 827573
Change-Id: I6c49fa6ca36db16ecddfb520e0964bd231565a0b
Reviewed-on: https://chromium-review.googlesource.com/1012897
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550895}

--

wpt-commits: da5837af9586234669a556c65fab521130688225
wpt-pr: 10465
2018-04-24 12:22:48 +00:00
L. David Baron
11473ac963 Bug 1454160 [wpt PR 10470] - Sync Mozilla tests as of 2018-04-14, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/37b8862d354e0014a72715462dd2102dd5b599cc . (#10470)

--

wpt-commits: 6f621cab194f3c3fe4f1a260e2ccd9115ed29679
wpt-pr: 10470
2018-04-24 12:22:47 +00:00
moz-wptsync-bot
145d1f6df0 Bug 1454077 [wpt PR 10422] - Update wpt metadata, a=testonly
wpt-pr: 10422
wpt-type: metadata
2018-04-24 12:22:47 +00:00
Emilio Cobos Álvarez
3f67c0c6db Bug 1454077 [wpt PR 10422] - [cssom] Add tests for some recent CSSWG resolutions., a=testonly
Automatic update from web-platform-testsMerge pull request #10422 from emilio/cssom-woes

[cssom] Add tests for some recent CSSWG resolutions.
--

wpt-commits: 0e0344a7c493cf47088b776cb55c75e5f1d015c8
wpt-pr: 10422
2018-04-24 12:22:46 +00:00
Alex Moshchuk
940d431b24 Bug 1454091 [wpt PR 10467] - Reland 2: Use PostTask to schedule cross-process postMessage forwarding., a=testonly
Automatic update from web-platform-testsReland 2: Use PostTask to schedule cross-process postMessage forwarding.

Changes from first reland attempt at https://crrev.com/c/1011287:
- fix an additional source of flakiness in ChromeOS login tests

Changes from original attempt at https://crrev.com/c/999182:
- fix flakiness in two additional ChromeOS login tests
- fix CSP WPT tests to not depend on ordering between iframe's onload
  and postMessage - see https://crbug.com/832319.

Previously, we sent the IPC to forward a cross-process postMessage
immediately.  This caused a behavioral difference from the
same-process case where the postMessage is always scheduled.  Namely,
in a scenario like this:

  frame.postMessage(...);
  doSomethingThatSendsIPCsToFrame(frame);

the IPCs from JS following the postMessage would've been ordered
incorrectly, causing |frame| to see their side effects after the
postMessage dispatch in the cross-process case, whereas they would be
seen before the postMessage dispatch in the same-process case.  One
example of this is frame.focus(), and another is a frame element
onload event (dispatched via FrameHostMsg_DispatchLoad) arriving after
a postMessage dispatched from an inline script while the frame was
still loading.

To resolve these ordering concerns, this CL changes cross-process
postMessage to do a PostTask on the sender side before sending the
message to the browser process.  This improves the current state of
the world, but does not yet achieve a perfect match for the IPC
ordering in the same-process case - see discussion on the bug.

Bug: 828529
Tbr: dcheng@chromium.org
Change-Id: If2cc6591db31471adff0d84ec0b689905e21cdf1
Reviewed-on: https://chromium-review.googlesource.com/999182
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Alex Moshchuk <alexmos@chromium.org>
Cr-Original-Original-Commit-Position: refs/heads/master@{#550284}
Reviewed-on: https://chromium-review.googlesource.com/1011287
Cr-Original-Commit-Position: refs/heads/master@{#550621}
Reviewed-on: https://chromium-review.googlesource.com/1012472
Cr-Commit-Position: refs/heads/master@{#550769}

--

wpt-commits: c53d084cc57749bc666e42aaceeb34daa42539c7
wpt-pr: 10467
2018-04-24 12:22:45 +00:00
Avi Drissman
a801f195b8 Bug 1454070 [wpt PR 10464] - Revert "Web Animations: Fix bugs in procedure to process a keyframes argument", a=testonly
Automatic update from web-platform-testsRevert "Web Animations: Fix bugs in procedure to process a keyframes argument"

This reverts commit 0ade0386aa4168b48234bc7f33d30a62140b95ea.

Reason for revert:
Unexpected Failures:
* bindings/sequence-type.html
* custom-elements/spec/define-element.html
* external/wpt/custom-elements/CustomElementRegistry.html

on
https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Mac10.11%20%28dbg%29/
https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Linux%20Trusty%20%28dbg%29/

Speculatively reverting this to see if it's the cause.

Original change's description:
> Web Animations: Fix bugs in procedure to process a keyframes argument
>
> There were three minor bugs left in the implementation:
>
>   - We threw on lists-in-custom-iterators instead of just ignoring them.
>   - We returned all properties on the keyframe rather than just those
>     defined on the keyframe itself (e.g. we would include prototype
>     properties, against spec).
>   - We didn't access the properties in ascending unicode order.
>
> Bug: 827573
> Change-Id: I213ae5b24e1f35d7f28d16625025122950a6ba88
> Reviewed-on: https://chromium-review.googlesource.com/989261
> Reviewed-by: Kentaro Hara <haraken@chromium.org>
> Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
> Reviewed-by: Robert Flack <flackr@chromium.org>
> Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#550641}

TBR=flackr@chromium.org,yukishiino@chromium.org,jbroman@chromium.org,haraken@chromium.org,smcgruer@chromium.org

Change-Id: I5e8dc0c67599492bd6e90fca4a034e29e334ef88
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 827573
Reviewed-on: https://chromium-review.googlesource.com/1012857
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550721}

--

wpt-commits: cb845c5ab5e3c718f6de85ec6ac285770b9b394f
wpt-pr: 10464
2018-04-24 12:22:45 +00:00
theodab
9a4ca1805f Bug 1454380 [wpt PR 8508] - Test that requestMediaKeySystemAccess sets label, a=testonly
Automatic update from web-platform-testsTest that requestMediaKeySystemAccess sets label (#8508)

On Edge, navigator.requestMediaKeySystemAccess ignores the value passed along to the label configuration field.  This test exposes that bug.

See https://goo.gl/6SgCRb
--

wpt-commits: e6cffaa6d307ec6ef08102aad9c7a4a1df5b7d53
wpt-pr: 8508
2018-04-24 12:22:44 +00:00
Mustaq Ahmed
a3ec0e8c3c Bug 1453792 [wpt PR 10454] - Make PointerEvent fromElement/toElement return null., a=testonly
Automatic update from web-platform-testsMake PointerEvent fromElement/toElement return null.

Also added web-platform-tests.

Blink intent thread:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/G2s1Ol3qcgA

Closes https://github.com/w3c/pointerevents/issues/167

Bug: 827271
Change-Id: I8429b9541f8cfc38223b3a34116b74c2aba92ee5
Reviewed-on: https://chromium-review.googlesource.com/986877
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550683}

--

wpt-commits: 81bcc8db4c676828d4b33ccb90c94049ffd831cf
wpt-pr: 10454
2018-04-24 12:22:43 +00:00
Ben Pastene
4eeca98437 Bug 1454039 [wpt PR 10463] - Revert "Reland: Use PostTask to schedule cross-process postMessage forwarding.", a=testonly
Automatic update from web-platform-testsRevert "Reland: Use PostTask to schedule cross-process postMessage forwarding."

This reverts commit 7c3d1d13f940e88ef6706fd8b5c257a81d340ed9.

Reason for revert: WebviewLoginTest.Basic is still flaky on linux-chromeos-rel
https://ci.chromium.org/buildbot/chromium.chromiumos/linux-chromeos-rel/6886
https://ci.chromium.org/buildbot/chromium.chromiumos/linux-chromeos-rel/6887

Original change's description:
> Reland: Use PostTask to schedule cross-process postMessage forwarding.
>
> Changes from original attempt at https://crrev.com/c/999182:
> - fix flakiness in two additional ChromeOS login tests
> - fix CSP WPT tests to not depend on ordering between iframe's onload
>   and postMessage - see https://crbug.com/832319.
>
> Previously, we sent the IPC to forward a cross-process postMessage
> immediately.  This caused a behavioral difference from the
> same-process case where the postMessage is always scheduled.  Namely,
> in a scenario like this:
>
>   frame.postMessage(...);
>   doSomethingThatSendsIPCsToFrame(frame);
>
> the IPCs from JS following the postMessage would've been ordered
> incorrectly, causing |frame| to see their side effects after the
> postMessage dispatch in the cross-process case, whereas they would be
> seen before the postMessage dispatch in the same-process case.  One
> example of this is frame.focus(), and another is a frame element
> onload event (dispatched via FrameHostMsg_DispatchLoad) arriving after
> a postMessage dispatched from an inline script while the frame was
> still loading.
>
> To resolve these ordering concerns, this CL changes cross-process
> postMessage to do a PostTask on the sender side before sending the
> message to the browser process.  This improves the current state of
> the world, but does not yet achieve a perfect match for the IPC
> ordering in the same-process case - see discussion on the bug.
>
> Bug: 828529
> Change-Id: I62a627c501526d09900be4f5bd2c899acf4d1e07
> Reviewed-on: https://chromium-review.googlesource.com/999182
> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
> Reviewed-by: Daniel Cheng <dcheng@chromium.org>
> Commit-Queue: Alex Moshchuk <alexmos@chromium.org>
> Cr-Original-Commit-Position: refs/heads/master@{#550284}
> Reviewed-on: https://chromium-review.googlesource.com/1011287
> Cr-Commit-Position: refs/heads/master@{#550621}

TBR=xiyuan@chromium.org,dcheng@chromium.org,alexmos@chromium.org

Change-Id: Ic0637a6038bed6e5334a26e1934bee81faad3b9e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 828529
Reviewed-on: https://chromium-review.googlesource.com/1012138
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550649}

--

wpt-commits: 6ad1b51de7dce0d45d08cc0f47a92a7b1fed69d2
wpt-pr: 10463
2018-04-24 12:22:42 +00:00
moz-wptsync-bot
07edae9df8 Bug 1450522 [wpt PR 10263] - Update wpt metadata, a=testonly
wpt-pr: 10263
wpt-type: metadata
2018-04-24 12:22:41 +00:00
Eric Willigers
79c941b7b9 Bug 1450522 [wpt PR 10263] - Update serialization of timing functions, a=testonly
Automatic update from web-platform-testsMerge pull request #10263 from csnardi/patch-10

Update serialization of timing functions
--

wpt-commits: 7b20d124d59d8d0e3e5b2f9da594e7b4aa1bcb1e
wpt-pr: 10263
2018-04-24 12:22:41 +00:00
Stephen McGruer
1e49fa7c06 Bug 1452989 [wpt PR 10399] - Web Animations: Fix bugs in procedure to process a keyframes argument, a=testonly
Automatic update from web-platform-testsWeb Animations: Fix bugs in procedure to process a keyframes argument

There were three minor bugs left in the implementation:

  - We threw on lists-in-custom-iterators instead of just ignoring them.
  - We returned all properties on the keyframe rather than just those
    defined on the keyframe itself (e.g. we would include prototype
    properties, against spec).
  - We didn't access the properties in ascending unicode order.

Bug: 827573
Change-Id: I213ae5b24e1f35d7f28d16625025122950a6ba88
Reviewed-on: https://chromium-review.googlesource.com/989261
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550641}

--

wpt-commits: 2707869d65f3a4d5a1f2ab1d44920b19695a7cde
wpt-pr: 10399
2018-04-24 12:22:40 +00:00
Eric Willigers
f6dba476d8 Bug 1455843 [wpt PR 10462] - Accept variation in serialization of 'background', a=testonly
Automatic update from web-platform-testsMerge pull request #10462 from ewilligers/background-serialization-variety

Accept variation in serialization of 'background'
--

wpt-commits: 1e5a5fefe15c4fcc1a3267daf1d75598f736c82f
wpt-pr: 10462
2018-04-24 12:22:39 +00:00
Alex Moshchuk
f3f60d7dd2 Bug 1453952 [wpt PR 10456] - Reland: Use PostTask to schedule cross-process postMessage forwarding., a=testonly
Automatic update from web-platform-testsReland: Use PostTask to schedule cross-process postMessage forwarding.

Changes from original attempt at https://crrev.com/c/999182:
- fix flakiness in two additional ChromeOS login tests
- fix CSP WPT tests to not depend on ordering between iframe's onload
  and postMessage - see https://crbug.com/832319.

Previously, we sent the IPC to forward a cross-process postMessage
immediately.  This caused a behavioral difference from the
same-process case where the postMessage is always scheduled.  Namely,
in a scenario like this:

  frame.postMessage(...);
  doSomethingThatSendsIPCsToFrame(frame);

the IPCs from JS following the postMessage would've been ordered
incorrectly, causing |frame| to see their side effects after the
postMessage dispatch in the cross-process case, whereas they would be
seen before the postMessage dispatch in the same-process case.  One
example of this is frame.focus(), and another is a frame element
onload event (dispatched via FrameHostMsg_DispatchLoad) arriving after
a postMessage dispatched from an inline script while the frame was
still loading.

To resolve these ordering concerns, this CL changes cross-process
postMessage to do a PostTask on the sender side before sending the
message to the browser process.  This improves the current state of
the world, but does not yet achieve a perfect match for the IPC
ordering in the same-process case - see discussion on the bug.

Bug: 828529
Change-Id: I62a627c501526d09900be4f5bd2c899acf4d1e07
Reviewed-on: https://chromium-review.googlesource.com/999182
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Alex Moshchuk <alexmos@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#550284}
Reviewed-on: https://chromium-review.googlesource.com/1011287
Cr-Commit-Position: refs/heads/master@{#550621}

--

wpt-commits: f281334c36847064b75740239882e2684aee0437
wpt-pr: 10456
2018-04-24 12:22:38 +00:00
moz-wptsync-bot
6fcafb33f2 Bug 1446406 [wpt PR 10076] - Update wpt metadata, a=testonly
wpt-pr: 10076
wpt-type: metadata
2018-04-24 12:22:38 +00:00
Ian Clelland
b11c313f43 Bug 1446406 [wpt PR 10076] - Allow feature policy to be used in opaque origins., a=testonly
Automatic update from web-platform-testsAllow feature policy to be used in opaque origins.

Currently, policy-controlled features do not work as expected in
frames with opaque origins, such as isolated sandboxes and data: URLs,
because the eventual opaque origin of the frame is not known when the
HTMLFrameOwnerElement builds the container policy, and so has no way
to tell the browser that a particular origin should be allowed.

This CL adds a new member to the ParsedFeaturePolicyDeclaration, which
indicates that the iframe policy is expected to apply to the origin of
the frame, and is used when that frame has an opaque origin. This can
be triggered with an iframe of the form

<iframe sandbox allow="feature">

or

<iframe sandbox allow="feature src">

This flag is checked when building the feature policy in the new frame,
and ensures that the new feature policy will allow the feature in that
origin.

This is the first part of the eventual solution -- currently this has
the effect of allowing the feature even if a sandboxed frame navigates
to a new page (causing a new opaque origin to be created for it).
Subsequent CLs will add a unique identified to each such origin, and
ensure that the generated policies are properly tied to the specific
origin of the frame.

Bug: 690520
Change-Id: Ie18b9bc3c36be6550baf5a03e355871b9589fd40
Reviewed-on: https://chromium-review.googlesource.com/963382
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550463}

--

wpt-commits: 4c8580c189ce4501997af80b599bea070b1a7299
wpt-pr: 10076
2018-04-24 12:22:37 +00:00
Darren Shen
69e7030354 Bug 1452840 [wpt PR 10390] - [css-typed-om] Support offset-rotate., a=testonly
Automatic update from web-platform-tests[css-typed-om] Support offset-rotate.

Introduces the <angle> data type.
Test fails because we compute offset-rotate to a pair rather than
'as specified'

had to rebaseline all the tests.

Bug: 820299
Change-Id: Ifdc192550b0b544b9887af80c259b3bfeede556b
Reviewed-on: https://chromium-review.googlesource.com/1003433
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550146}

--

wpt-commits: 1dd03e794199f6430072ecef144991112136cca5
wpt-pr: 10390
2018-04-24 12:22:37 +00:00
moz-wptsync-bot
25cafebc2a Bug 1453975 [wpt PR 10458] - Update wpt metadata, a=testonly
wpt-pr: 10458
wpt-type: metadata
2018-04-24 12:22:36 +00:00
Henrik Boström
88dbffa3c5 Bug 1453975 [wpt PR 10458] - Fix race in track-stats.https.html test., a=testonly
Automatic update from web-platform-testsFix race in track-stats.https.html test.

This resolves the onIceConnectionStateComplete probmise when
iceConnectionState reaches either 'connected' or 'completed' and fixes
the race if it had already reached these states before the function was
called.

This fix is speculative. I am no longer able to repro the TIMEOUT
locally with or without the fix.

Bug: 829401
Change-Id: I1dec90250d640d93498c59a932ab5e84a3b96f15
Reviewed-on: https://chromium-review.googlesource.com/1012029
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Commit-Queue: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550580}

--

wpt-commits: a4accccea67a4de543edebaa51aa8c8b898aa323
wpt-pr: 10458
2018-04-24 12:22:35 +00:00
moz-wptsync-bot
4e019893fb Bug 1453442 [wpt PR 10429] - Update wpt metadata, a=testonly
wpt-pr: 10429
wpt-type: metadata
2018-04-24 12:22:34 +00:00
Emilio Cobos Álvarez
0d827e0571 Bug 1453442 [wpt PR 10429] - [cssom] Add a test for mutation records when CSSStyleDeclaration.setPropertyValue is invoked., a=testonly
Automatic update from web-platform-testsMerge pull request #10429 from emilio/mutation-record

[cssom] Add a test for mutation records when CSSStyleDeclaration.setPropertyValue is invoked.
--

wpt-commits: ab9fc1edc3f464617d6ed72a2336d064f9cdcfcc
wpt-pr: 10429
2018-04-24 12:22:34 +00:00
Darren Shen
fb3f65850d Bug 1452841 [wpt PR 10391] - [css-typed-om] Support remaining misc properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Support remaining misc properties.

Known failures:
- all: computed value is always "", it should compute to something...
- animation-name: <custom-ident> not mentioned in typed om spec.
- cursor: 'grab' and 'grabbing' are still webkit prefixed.
- list-style-type: Blink implements something different to the spec.
- page: computed value is always "", <custom-ident> not mentioned in
        typedom spec
- perspective: '0' seems to compute to none.
- perspective-origin: Blink doesn't support 'none' keyword
- quotes: computed value is always ""
- size: computed value is always ""
- speak: Blink implements something different to the spec.
- transform-box: Blink doesn't support 'border-box' keyword
- z-index: computed value is always 'auto' (might be something to do
           with stacking context)

Bug: 820299
Change-Id: I629dda1c4bcac92f59cae3bddf11bd375f98e5c2
Reviewed-on: https://chromium-review.googlesource.com/1003434
Commit-Queue: Darren Shen <shend@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550527}

--

wpt-commits: 071e621564bc4af04a04e8b8e515bfb306a6613e
wpt-pr: 10391
2018-04-24 12:22:33 +00:00
Yutaka Hirano
cb909a483d Bug 1452883 [wpt PR 10394] - Stringify RequestInit.body, a=testonly
Automatic update from web-platform-testsStringify RequestInit.body

As specified, RequestInit.body should be stringified, i.e.,
{toString(): () => 'hi!'} should be treated as same as 'hi!'.

Bug: 831076
Change-Id: I4118c0faa9535d62b3db2529bf23716fdc25a997
Reviewed-on: https://chromium-review.googlesource.com/1004561
Reviewed-by: Adam Rice <ricea@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550523}

--

wpt-commits: 96bceca65945e50c61128eaf5473fc9bc9e46c99
wpt-pr: 10394
2018-04-24 12:22:32 +00:00
Kent Tamura
028300a94d Bug 1453595 [wpt PR 10440] - custom-elements: Implement customElements.upgrade()., a=testonly
Automatic update from web-platform-testscustom-elements: Implement customElements.upgrade().

Intent-to-implement-and-ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/zCQe7UkR07w

Bug: 819482
Change-Id: I5645d5711d7fe1323992533e6c73593ba59d1bca
Reviewed-on: https://chromium-review.googlesource.com/1009450
Reviewed-by: Hayato Ito <hayato@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550513}

--

wpt-commits: 08c935c755a5f9cc0ef8a7b9f56091e5d2b040d9
wpt-pr: 10440
2018-04-24 12:22:31 +00:00
Nicolas Pena
bb2f79dd59 Bug 1453439 [wpt PR 10434] - Remove http/tests/w3c, a=testonly
Automatic update from web-platform-testsRemove http/tests/w3c

This CL moves the final user-timing tests to external/wpt and removes
the folder. The performance_entrylist_checker is changed as in the http
counterpart to allow de-duplicating test messages.

There are some tests that are related to the wpt counterparts, but not
equivalent and in a different format, so unifying some of these tests
can be done in the future.

Bug: 498037
Change-Id: I6f35d962ba088d92a9768e49a65dea4d5c267491
Reviewed-on: https://chromium-review.googlesource.com/1007888
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550310}

--

wpt-commits: 51704839c172ba8a70910bff484837c25adbfc9a
wpt-pr: 10434
2018-04-24 12:22:31 +00:00
jgraham
2de7f65b58 Bug 1453641 [wpt PR 10443] - Use version-specific prefs files when running Firefox, a=testonly
Automatic update from web-platform-testsUse version-specific prefs files when running Firefox (#10443)

Firefox requires a prefs file to be loaded to ensure that it doesn't
make external network connections, and to make sure that other
settings are appropriate for testing. Previously we always used the
version of the prefs file from master, which is usually fine for
nightly builds, but doesn't work with release builds if it happens
that a pref changed.

This change uses the correct release version of the prefs file for
firefox releases and beta versions. It continues to use the master
version for any nightly build; this could be fixed in some cases if we
are able to access the actual commit hash used to build Firefox, but
probably isn't too bad an approximation.

The caching algorithm was changed so that release versions of the
prefs are cached forever, and the nightly version is updated once per
day (although this doesn't quite match the nightly release cadence,
it's only going to fail in edge cases where the prefs were changed in
the file, but the nightly version was not yet updated, of vice-versa.)
--

wpt-commits: cf2ef62f1c470b47a03275c795c6dedd69eace88
wpt-pr: 10443
2018-04-24 12:22:30 +00:00
Rob Buis
22af370a6f Bug 1453683 [wpt PR 10447] - Fix regression allowing text value for -webkit-background-origin, a=testonly
Automatic update from web-platform-testsFix regression allowing text value for -webkit-background-origin

Fix regression allowing text value for -webkit-background-origin that
was caused by r514365.

Code change implemented by Bugs Nash, testcase by Rob Buis.

Bug: 802256

Change-Id: I11e2b1b19a374e9f6b9c1091d82882ef526bc63c
Reviewed-on: https://chromium-review.googlesource.com/1008102
Commit-Queue: Rob Buis <rob.buis@samsung.com>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550221}

--

wpt-commits: fc7af09fb3eea0ef511a061e5734c1dc8e539b0d
wpt-pr: 10447
2018-04-24 12:22:29 +00:00
moz-wptsync-bot
2f85297e97 Bug 1448658 [wpt PR 10170] - Update wpt metadata, a=testonly
wpt-pr: 10170
wpt-type: metadata
2018-04-24 12:22:28 +00:00
Eric Willigers
527b3f30ec Bug 1448658 [wpt PR 10170] - CSS Backgrounds and Borders 3 parsing tests, a=testonly
Automatic update from web-platform-testsMerge pull request #10170 from ewilligers/backgrounds-borders-parsing

CSS Backgrounds and Borders 3 parsing tests
--

wpt-commits: 56a257efe6f0603bb17eff06934074d37587d9ad
wpt-pr: 10170
2018-04-24 12:22:28 +00:00
Anne van Kesteren
44b6e5ea24 Bug 1453659 [wpt PR 10445] - Rename cakey.pem to cacert.key for consistency, a=testonly
Automatic update from web-platform-testsRename cakey.pem to cacert.key for consistency

And add a README with some basic instructions for newcomers.
--

wpt-commits: a5bb6d23ac757fcb5e8aef6fd7ed7587324982db
wpt-pr: 10445


--HG--
rename : testing/web-platform/tests/tools/certs/cakey.pem => testing/web-platform/tests/tools/certs/cacert.key
2018-04-24 12:22:27 +00:00
pyup.io bot
e1e364e14d Bug 1453500 [wpt PR 10437] - Update marionette_driver to 2.6.0, a=testonly
Automatic update from web-platform-testsUpdate marionette_driver from 2.5.0 to 2.6.0 (#10437)

--

wpt-commits: 0ac0ee7a22c2b8f6fd609a7986b104c75c5428bd
wpt-pr: 10437
2018-04-24 12:22:27 +00:00
Daniel Cheng
3b867ed528 Bug 1453248 [wpt PR 10411] - Return null from contentDocument/getSVGDocument() for cross-origin documents., a=testonly
Automatic update from web-platform-testsReturn null from contentDocument/getSVGDocument() for cross-origin documents.

Change-Id: I1e66f2cdc50be889b697b54401be6352607fa649
Reviewed-on: https://chromium-review.googlesource.com/1006528
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550152}

--

wpt-commits: e965af7f2ed188e8cd7c343d494b0d334e15c18d
wpt-pr: 10411
2018-04-24 12:22:26 +00:00
Ian Kilpatrick
1930f7ed33 Bug 1452882 [wpt PR 10287] - [css-layout-api] Fix DCHECK with the custom layout and multicol., a=testonly
Automatic update from web-platform-tests[css-layout-api] Fix DCHECK with the custom layout and multicol.

There are probably larger changes that need to happen to ensure that
the custom-layout and multicol play nicely together, but this removes
a DCHECK crash for now.

Bug: 823074
Change-Id: I98f4a34bd0c35e8cd3d23501ca64f38b96be9e7d
Reviewed-on: https://chromium-review.googlesource.com/990780
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550148}

--

wpt-commits: 976e2c1f4b37821272f303aee639b62e1fd085f9
wpt-pr: 10287
2018-04-24 12:22:25 +00:00
Kenichi Ishibashi
1533871252 Bug 1452884 [wpt PR 10395] - S13nSW: Update wpt/service-workers/service-worker/navigation-preload/broken-chunked-encoding.https.html, a=testonly
Automatic update from web-platform-testsS13nSW: Update wpt/service-workers/service-worker/navigation-preload/broken-chunked-encoding.https.html

Before this CL, the test expected that preloadResponse is
rejected when decoding a chunked body is failed. However preloadResponse
is supposed to be resolved once the headers are arrived. It should be
resolved instead of rejected. Update the test to expect that
preloadResponse is resolved even for broken chunked body.

With S13nSW enabled, this test will start passing but it wouldn't
pass w/o S13nSW.

This CL also adds a test case where broken chunked body is transfered
with delays.

Bug: 830472
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Ibc2909dfc4537f209417a13cff63898ad39229a7
Reviewed-on: https://chromium-review.googlesource.com/1004562
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550061}

--

wpt-commits: 1dcdb61cb2eb054e6d16733d4eb4a6b56793b598
wpt-pr: 10395
2018-04-24 12:22:25 +00:00
moz-wptsync-bot
345786fa8e Bug 1453565 [wpt PR 10371] - Update wpt metadata, a=testonly
wpt-pr: 10371
wpt-type: metadata
2018-04-24 12:22:24 +00:00
Darren Shen
91a19a7770 Bug 1453565 [wpt PR 10371] - [css-typed-om] Support remaining multi-col properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Support remaining multi-col properties.

To support column-count which takes <integer>s, we had implement integer
handling as resolved by:
https://github.com/w3c/css-houdini-drafts/issues/574#issuecomment-366845604

Basically, a non-integer passed to <integer> is 'out of range', so we
wrap it in a calc(). Coincidentally, column-count also needs to be
positive, so we had to change ComputedStyle::SetColumnCount to clamp.
Note that this doesn't change CSSOM behaviour, as the parser
would've rejected non-positive values so ComputedStyle only gets
positive values. Since Typed OM skips parsing, we have to clamp in
ComputedStyle as well.

Bug: 820299
Change-Id: Ia56e4bdb55826e72d46c66666addda168dea3d2a
Reviewed-on: https://chromium-review.googlesource.com/1001084
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550058}

--

wpt-commits: 0060eb41b1da8a5989772e12c034e14e8d025fae
wpt-pr: 10371
2018-04-24 12:22:23 +00:00
kaixinjxq
b903ff8ad5 Bug 1453234 [wpt PR 8993] - Add tests for liveness of NodeLists/HTMLCollections, a=testonly
Automatic update from web-platform-testsAdd tests for liveness of NodeLists/HTMLCollections (#8993)

* Add tests for liveness of NodeLists/HTMLCollections

 - Node#childNodes
 - ParentNode#children
 - {Document,Element}#getElementsByTagName
 - {Document,Element}#getElementsByTagNameNS
 - {Document,Element}#getElementsByClassName
 - Document#images
 - Document#embeds
 - Document#plugins
 - Document#links
 - Document#forms
 - Document#scripts
 - Document#getElementsByName

* Move liveness tests to each of API test files

* Fixed a nit issue

* Modify the test description

--

wpt-commits: 2d4fbd417e6772267c7755004e1022801fd3b92e
wpt-pr: 8993
2018-04-24 12:22:23 +00:00
Xidorn Quan
24512ba6ff Bug 1454372 [wpt PR 10354] - Add test for checking property order after setting property on CSSStyleDeclaration, a=testonly
Automatic update from web-platform-testsAdd test for checking property order after setting property on CSSStyleDeclaration

--

wpt-commits: c5c79bb418341bb0b2ed304f1325cd522bf4306e
wpt-pr: 10354
2018-04-24 12:22:22 +00:00
jgraham
3bb914c85c Bug 1453440 [wpt PR 10435] - Stop running tests on pypy, a=testonly
Automatic update from web-platform-testsStop running tests on pypy (#10435)

I don't recall ever finding a real issue with these tests, but they
are flaky and take up valuable machine time in CI.
--

wpt-commits: 5a0d559e1acb9856b784e0d02e34856d9d8fad90
wpt-pr: 10435
2018-04-24 12:22:21 +00:00
Mats Palmgren
850a64bef9 Bug 1398482 part 4 - [css-grid][css-flexbox][css-multicol] Add 'row-gap' and 'gap' properties; make 'grid-[column|row]-gap' and 'grid-gap' alias the respective unprefixed properties (automated update of WPT results). 2018-04-24 01:52:51 +02:00
Narcis Beleuzu
a07765b336 Backed out 20 changesets (bug 1265342) for mochitest-plain-headless failures on layout/style/test/test_first_letter_restrictions.html. CLOSED TREE
Backed out changeset 6c80ec2d0398 (bug 1265342)
Backed out changeset 62d571916086 (bug 1265342)
Backed out changeset fd247f38f8a7 (bug 1265342)
Backed out changeset 83aee3dafe4b (bug 1265342)
Backed out changeset 9b200122014e (bug 1265342)
Backed out changeset a90aa063b2fd (bug 1265342)
Backed out changeset 0791ff3d9194 (bug 1265342)
Backed out changeset 7109288f10b3 (bug 1265342)
Backed out changeset 048cce2fb99f (bug 1265342)
Backed out changeset c8e3dbc6c729 (bug 1265342)
Backed out changeset 09da0968333a (bug 1265342)
Backed out changeset d16f7ff85677 (bug 1265342)
Backed out changeset 53eb7f14463d (bug 1265342)
Backed out changeset 64fc631ef122 (bug 1265342)
Backed out changeset 332382c708e1 (bug 1265342)
Backed out changeset a8695981eec0 (bug 1265342)
Backed out changeset ce473fa5f1f4 (bug 1265342)
Backed out changeset 5ee470e75a53 (bug 1265342)
Backed out changeset 802aa95a52d9 (bug 1265342)
Backed out changeset 5da0c34c9600 (bug 1265342)
2018-04-24 22:31:15 +03:00
James Graham
4bb17259c0 Bug 1456481 - Fix parent module import in serviceworker tests, r=bkelly
The previous setup was altering sys.path in the wrong way and falling
foul of the module cache. It's easier just to import the parent module
using the underlying import functions directly than try to fix up the
paths.

MozReview-Commit-ID: IEDWCPwUgxg

--HG--
extra : rebase_source : 59c51f302f64a584472bbbfe6ad2116fa2266083
2018-04-24 18:29:43 +01:00
Brad Werth
662b559413 Bug 1265342 Part 13: Add two new WPT tests of shape-outside: inset with shape-margin, and update manifests. r=dholbert
MozReview-Commit-ID: EDJZHW89AT6

--HG--
extra : rebase_source : cab6edb2156d1b000c234866816a81f9b42d5815
2018-04-23 15:13:17 -07:00
Brad Werth
859f7e0a73 Bug 1265342 Part 12: Change almost all non-polygon shape-outside web-platform tests to expected pass. r=dholbert
MozReview-Commit-ID: EPGiDlrxInY

--HG--
extra : rebase_source : 3b1c4a11907f2bf2969ac556b0c6e0ebaaeb779f
2018-03-14 13:09:47 -07:00
Brad Werth
e07d505b2f Bug 1265342 Part 11: Update a shape-outside: image test to supply a correct shape-image-threshold. r=dholbert
The PNG data generated in this test creates a 100x100 image with opaque green
pixels in the left 50px and fully transparent pixels in the right 49px. The 1px
vertical strip of pixels at pixel column 50 are green pixels with .66 alpha.
The test was failing because it supplied a shape-image-threshold of .25, and
thus was floating by 51px instead of the intended 50px. This change modifies
the test to use a shape-image-threshold of .7, generating the intended 50px
float area.

MozReview-Commit-ID: GJtym0p95yk

--HG--
extra : rebase_source : 338049a27e6e8af317f6cd61f96bd861f5909bd0
2018-04-17 13:48:26 -07:00
Brad Werth
0b232ffb06 Bug 1265342 Part 10: Update a shape-outside circle test to make it more precise and correct. r=dholbert
The test shape-outside-circle-027.html has two issues that prevent it from
matching the reference image. For that test to pass, the text must be floated
right by 75 pixels. The two issues are:
1) The circle is defined as 35% of 170 pixels, which calculates to 59.5px.
   Since the shape-margin is 15px, this makes the total offset less than the
   target of 75px.
2) The circle is offset upwards by 10 pixels, which introduces a slight angle
   between the block start of the text and the center of the circle. The
   cosine of this small angle is slightly less than 1, which reduces the
   offset by some amount.
The changes made here specify the circle radius in whole pixels, and move the
center of the circle such that it is between the block start and block end of
the floated text, ensuring that the full width of the circle + shape-margin
will be used for calculating the float area.

MozReview-Commit-ID: JQ9Mc3GU4tW

--HG--
extra : rebase_source : 6e5a4c1da39bf85828286674d7aca14d0cf39181
2018-04-17 13:19:36 -07:00
Brad Werth
b366ae981e Bug 1265342 Part 9: Update shape-outside ellipse tests to correct invalid use of only one radius parameter. r=dholbert
https://www.w3.org/TR/css-shapes-1/#funcdef-ellipse states that the
grammar for ellipse is:

ellipse() = ellipse( [<shape-radius>{2}]? [at <position>]? )

This permits either 0 or 2 shape-radius tokens, but not 1. These two tests
use 1 shape-radius token and do not parse correctly.

https://www.w3.org/TR/css-shapes-1/#typedef-shape-radius states that omitted
shape-radius values default to closest-side. This change updates these two
tests to add the closest-side value for the missing shape-radius tokens.

MozReview-Commit-ID: 9UKxJel1b50

--HG--
extra : rebase_source : deeab3e7934e8060207e7c780a7881332478034f
2018-03-14 14:21:12 -07:00
Brad Werth
6579b878f4 Bug 1265342 Part 8: Update shape-outside inset tests to explicitly set a line-height of 1, and not rely on a UA-specific value. r=dholbert
https://www.w3.org/TR/CSS2/visudet.html#propdef-line-height specifies that
line-height is given an initial value of normal, which is defined:

Tells user agents to set the used value to a "reasonable" value based on the
font of the element. The value has the same meaning as <number>. We recommend
a used value for 'normal' between 1.0 to 1.2. The computed value is 'normal'.

These tests are designed to work correctly if and only if the line-height
is 1. This change specifies line-height: 1 explicitly.

MozReview-Commit-ID: 3Ueassok0f

--HG--
extra : rebase_source : acd09d577cd54a88c431fbfdc4dca88ec2afe3ec
2018-03-14 14:49:57 -07:00
Margareta Eliza Balazs
fa0ffa186e Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : toolkit/mozapps/extensions/internal/XPIProviderUtils.js => toolkit/mozapps/extensions/internal/XPIDatabase.jsm
2018-04-24 14:51:28 +03:00
Valentin Gosu
babdeebbe8 Bug 1423495 - Part5: Fix WPT metadata to expect failures r=baku
The tests are currently under plain-text HTTP.
Since we are only shipping new features for secure origins,
a bunch of tests fail (even though they work with HTTPS).
The tests will be fixed in a followup.

MozReview-Commit-ID: 1iUjpwmLgho

--HG--
extra : rebase_source : 770fc4e725873fc42764d4cfd078b034d03aa280
2018-04-23 18:35:26 +02:00
Henrik Skupin
3ea4fce235 Bug 1456400 - [wdspec] Increase timeout for close_window/user_prompts.py test. r=whimboo
MozReview-Commit-ID: 1DLDkIPxlw8

--HG--
extra : rebase_source : 1d6a3e02351f17c0563f636f4fca5dbd6983a0c7
2018-04-25 19:57:27 +02:00
Masayuki Nakano
f52e0b206b Bug 1455903 - Make EditorBase::CloneAttributesWithTransaction() set sourceElement to aSourceElement rather than aDestElement r=m_kato
This is simple mistake of bug 1451672.

EditorBase::CloneAttributesWithTransaction() sets both sourceElement and
destElement to aDestElement, but of course, it should set sourceElement to
aSourceElement.

Additionally, this patch adds mozilla specific web-platform tests to check
attribute cloning with basic edit operation.

MozReview-Commit-ID: GM1VjRHG7C3

--HG--
extra : rebase_source : 95427853442454525232df519ce5b5ad7bb12693
2018-04-23 18:02:50 +09:00
Henrik Skupin
676fb3a57a Bug 1455282 - [wdspec] Add tests for Close Window command. r=ato
MozReview-Commit-ID: 13j69lZhr1G

--HG--
extra : rebase_source : bb1d394b640c9f339bf8d912e115806a2e843a55
2018-04-20 10:50:14 +02:00
Henrik Skupin
42a6c03694 Bug 1455282 - [wdspec] Ignore exceptions when switching to top-level browsing context. r=ato
MozReview-Commit-ID: H8fzguZ66ZC

--HG--
extra : rebase_source : 8b1816c91f558028b68e1a92f67487d38aafed6a
2018-04-23 23:37:31 +02:00
Henrik Skupin
6a969c57bd Bug 1455282 - [wdclient] End session if no more windows are open. r=ato
After closing the last top-level browsing context, the session
will be closed too.

MozReview-Commit-ID: CVsJpHO34BM

--HG--
extra : rebase_source : a43585aae5280c25cba7bd6b1e01cac44079797c
2018-04-19 22:40:07 +02:00
Emilio Cobos Álvarez
263541211d Bug 1456256: Remove ArrayClass from MediaList in Gecko, and other CSSOM bits too in WPT. r=bz
MozReview-Commit-ID: 2ZzZwQYyAwR

--HG--
extra : rebase_source : 271c95bb2a52408894ee3fd0fd8e379bd32c3112
2018-04-23 22:06:35 +02:00
shindli
403d2f73bb Backed out 3 changesets (bug 1455282) for linting failure in /builds/worker/checkouts/gecko/testing/web-platform/meta/MANIFEST.json:0 on a CLOSED TREE
Backed out changeset 295fd2df534f (bug 1455282)
Backed out changeset 843cb0cb835e (bug 1455282)
Backed out changeset 703161d003be (bug 1455282)
2018-04-24 09:53:04 +03:00
Henrik Skupin
bfc976e190 Bug 1455282 - [wdspec] Add tests for Close Window command. r=ato
MozReview-Commit-ID: 13j69lZhr1G

--HG--
extra : rebase_source : b77de10edf914bf5c8d7789dce8f205c823487e9
2018-04-20 10:50:14 +02:00
Henrik Skupin
194cb57850 Bug 1455282 - [wdspec] Ignore exceptions when switching to top-level browsing context. r=ato
MozReview-Commit-ID: H8fzguZ66ZC

--HG--
extra : rebase_source : 8b1816c91f558028b68e1a92f67487d38aafed6a
2018-04-23 23:37:31 +02:00
Henrik Skupin
e571c40c0e Bug 1455282 - [wdclient] End session if no more windows are open. r=ato
After closing the last top-level browsing context, the session
will be closed too.

MozReview-Commit-ID: CVsJpHO34BM

--HG--
extra : rebase_source : a43585aae5280c25cba7bd6b1e01cac44079797c
2018-04-19 22:40:07 +02:00
Boris Zbarsky
1ee25c8f50 Bug 1455805. Make CSS a namespace, not interface. r=heycam
MozReview-Commit-ID: LTYBNyGm1JS
2018-04-23 12:36:10 -04:00
Boris Zbarsky
606415d7c1 Bug 1455808. Remove some stale failure annotations from CSSOM interface tests. r=jgraham
MozReview-Commit-ID: 2ROeI6kznyQ
2018-04-23 12:36:10 -04:00
Boris Zbarsky
5956959873 Bug 1455807. Align MediaList idl bits a bit better with the CSSOM draft. r=heycam
MozReview-Commit-ID: GdPASJilQXC
2018-04-23 12:36:10 -04:00
Emilio Cobos Álvarez
46c5356b75 Bug 1454883: Fix animation tests to account for font-stretch animating as percentage. r=hiro
MozReview-Commit-ID: KPXUJSI930X
2018-04-23 18:22:14 +02:00
Emilio Cobos Álvarez
dbc3c2976f Bug 1436048: Fix and update other WPT expectations in css-fonts-4 tests. r=jwatt
The test adjustments are:

  A subtest of variable-presentation-attribute.html is marked as failure,
  pending resolution of https://github.com/w3c/csswg-drafts/issues/2605.

  font-parse-numeric-stretch-style-weight.html is updated to:

    * handle calc per spec (invalid at computed-value time), see
      https://github.com/w3c/csswg-drafts/issues/2590

    * Accept 0% in font-stretch: https://github.com/w3c/csswg-drafts/issues/2591

    * Accept font-weight descriptor ranges where the start is greater than the
      end, per
      https://drafts.csswg.org/css-fonts-4/#descdef-font-face-font-weight, which
      says:

      > User agents must swap the computed value of the startpoint and endpoint
      > of the range in order to forbid decreasing ranges.

  font-shorthand.html is updated to presumably fix a copy-paste error, where
  "oblique 45deg" was expected to compute to "oblique", which is wrong.

The rest is removing failure annotations.

MozReview-Commit-ID: CNJ3LG71KRj
2018-04-23 18:22:11 +02:00
Dorel Luca
15813c8ca0 Merge mozilla-central to mozilla-inbound 2018-04-21 02:06:35 +03:00
Dorel Luca
65669dae30 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-21 02:00:04 +03:00
James Graham
23cef3f328 Bug 1455532 - Increase timeout in unstable-in-debug onload test, a=testonly
MozReview-Commit-ID: J21JdONUuhY
2018-04-20 22:00:12 +01:00
James Graham
757edb7be0 Bug 1402081 - Increase a timeout in unstable navigation test, a=testonly
MozReview-Commit-ID: LPJjirqcHwf
2018-04-20 22:00:11 +01:00
James Graham
1ba4637a1a Bug 1455566 - Add wss port to wptrunner environment config, r=gsnedders
MozReview-Commit-ID: 31aptb8Uju5
2018-04-20 22:00:09 +01:00
moz-wptsync-bot
df2446be9e Bug 1455267 - [wpt-sync] Update web-platform-tests to 03d76cc0bf283aead5520fd4137a7fc7607ee917, a=testonly
wpt-head: 03d76cc0bf283aead5520fd4137a7fc7607ee917
wpt-type: landing
2018-04-20 22:00:08 +01:00
jgraham
f9b05b5df2 Bug 1453398 [wpt PR 10430] - Don't store logger on the Config object, a=testonly
Automatic update from web-platform-testsDon't store logger on the Config object (#10430)

Config objects are shared between processes and so must be
pickleable. Loggers contain locks and so are not. Instead of storing
the logger on the config directly, store the logger name and level and
get the logger from the logging module each time.

--

wpt-commits: 03d76cc0bf283aead5520fd4137a7fc7607ee917
wpt-pr: 10430
wpt-commits: 03d76cc0bf283aead5520fd4137a7fc7607ee917
wpt-pr: 10430
2018-04-20 22:00:07 +01:00
joanmarie
a627e19728 Bug 1453414 [wpt PR 10433] - accname: Updated tests, a=testonly
Automatic update from web-platform-testsaccname: Updated tests (#10433)

* Add missing "hidden" style from several tests
* Fix expectations for several tests with presentation role used on img
* Fix bogus expectations on name and description calculations with combobox
* Fix incorrect whitespace in expectations for name from content with spans
* Add test for which coverage was missing
--

wpt-commits: 4cf7a66b04de7869777091b118892aac79659f6f
wpt-pr: 10433
wpt-commits: 4cf7a66b04de7869777091b118892aac79659f6f
wpt-pr: 10433
2018-04-20 22:00:05 +01:00
James Graham
8037e18c0f Bug 1453391 [wpt PR 10431] - Unbreak wdspec tests after config changes, a=testonly
Automatic update from web-platform-testsAdd support for serializing the config as a dictionary.

This is required to pass the config into the wdspec tests.

--
s/host/browser_host/ in wdspec fixture

--

wpt-commits: ddcc729bca5abcc460db875952eb693b04fe2e41, 4b3342e16f320b69fef3c1809bb2614dc2109590
wpt-pr: 10431
wpt-commits: ddcc729bca5abcc460db875952eb693b04fe2e41, 4b3342e16f320b69fef3c1809bb2614dc2109590
wpt-pr: 10431
2018-04-20 22:00:03 +01:00
moz-wptsync-bot
0a860b9c2e Bug 1455267 [wpt PR 10415] - Update wpt metadata, a=testonly
wpt-pr: 10415
wpt-type: metadata
2018-04-20 22:00:02 +01:00
Chris Lilley
7af92ffd4e Bug 1455267 [wpt PR 10415] - Font variant descriptor, a=testonly
Automatic update from web-platform-testsMerge pull request #10415 from w3c/font-variant-descriptor

Font variant descriptor
--

wpt-commits: 7967c43d852345c8750e06f165fb0ba6ff27adf3
wpt-pr: 10415
wpt-commits: 7967c43d852345c8750e06f165fb0ba6ff27adf3
wpt-pr: 10415
2018-04-20 22:00:00 +01:00
moz-wptsync-bot
3855ef346a Bug 1453348 [wpt PR 10372] - Update wpt metadata, a=testonly
wpt-pr: 10372
wpt-type: metadata
2018-04-20 21:59:58 +01:00
Darren Shen
34c21c6bb8 Bug 1453348 [wpt PR 10372] - [css-typed-om] Support remaining inline properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Support remaining inline properties.

Failures because we don't support some keywords (difference between
CSS vs SVG?)

Bug: 820299
Change-Id: I1da06c5dfbd847a08b43d0bae42f969b4c40f1d7
Reviewed-on: https://chromium-review.googlesource.com/1002492
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549844}

--

wpt-commits: 9a2ba239ec826c0007352368d44fcfc02804ff16
wpt-pr: 10372
wpt-commits: 9a2ba239ec826c0007352368d44fcfc02804ff16
wpt-pr: 10372
2018-04-20 21:59:57 +01:00
moz-wptsync-bot
eb38b01c04 Bug 1445300 [wpt PR 10000] - Update wpt metadata, a=testonly
wpt-pr: 10000
wpt-type: metadata
2018-04-20 21:59:54 +01:00
Ms2ger
6c2c5ba58d Bug 1445300 [wpt PR 10000] - Add tests for transferring ImageBitmap objects., a=testonly
Automatic update from web-platform-testsAdd tests for transferring ImageBitmap objects.

--

wpt-commits: 5d9948bbae3cb9517460f444350c13cc3d3a1888
wpt-pr: 10000
wpt-commits: 5d9948bbae3cb9517460f444350c13cc3d3a1888
wpt-pr: 10000
2018-04-20 21:59:53 +01:00
Chris Lilley
5eab8ff80f Bug 1449076 [wpt PR 10188] - update rel help, a=testonly
Automatic update from web-platform-testsupdate rel help (#10188)

--

wpt-commits: 991a413a0058a50288bbc508c00319e209c5ba02
wpt-pr: 10188
wpt-commits: 991a413a0058a50288bbc508c00319e209c5ba02
wpt-pr: 10188
2018-04-20 21:59:50 +01:00
jgraham
efcb0bc229 Bug 1452896 [wpt PR 10397] - Add python handler directory to Python path in wptserve, a=testonly
Automatic update from web-platform-testsAdd python handler directory to Python path in wptserve (#10397)

Currently making import of files relative to the handler is tricky
because, unlike in normal Python, the script directory isn't on the
path.

This patch adds it to the path when executing the handler. It also
ensures that any modifications made to the path or to sys.modules are
rolled back after the handler has run.
--

wpt-commits: b3b6ea0b307a2a47cb19d1e843c7344769c410d9
wpt-pr: 10397
wpt-commits: b3b6ea0b307a2a47cb19d1e843c7344769c410d9
wpt-pr: 10397
2018-04-20 21:59:48 +01:00
moz-wptsync-bot
48c72fdca5 Bug 1453228 [wpt PR 10373] - Update wpt metadata, a=testonly
wpt-pr: 10373
wpt-type: metadata
2018-04-20 21:59:47 +01:00
Darren Shen
e5d011bcea Bug 1453228 [wpt PR 10373] - [css-typed-om] Support remaining svg properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Support remaining svg properties.

Known failures:
- flood & stop opacity: we should be clamping between 0 and 1 like
  'opacity'.
- paint-order: we seem to always compute to a list, but we should be
  computing to as specified (Firefox has correct behaviour).

Bug: 820299
Change-Id: I0bcf29e07cb63516072bc3d0c307d0eadf2de6a3
Reviewed-on: https://chromium-review.googlesource.com/1002433
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549791}

--

wpt-commits: d44cd21c00741101f22d62772efc070ba59e8f04
wpt-pr: 10373
wpt-commits: d44cd21c00741101f22d62772efc070ba59e8f04
wpt-pr: 10373
2018-04-20 21:59:45 +01:00
moz-wptsync-bot
34bcadcc77 Bug 1453223 [wpt PR 10374] - Update wpt metadata, a=testonly
wpt-pr: 10374
wpt-type: metadata
2018-04-20 21:59:43 +01:00
Darren Shen
a1c3c5e535 Bug 1453223 [wpt PR 10374] - [css-typed-om] Support remaining mask properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Support remaining mask properties.

Known failures:
- clip-path: doesn't support <geometry-box>

Bug: 820299
Change-Id: I28e00e59cfa7f7c3d2bd7db307fb6d0f528d395d
Reviewed-on: https://chromium-review.googlesource.com/1002342
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549788}

--

wpt-commits: e6f6bbfafe3dd4d35f01e5467911d0f4cbf7e618
wpt-pr: 10374
wpt-commits: e6f6bbfafe3dd4d35f01e5467911d0f4cbf7e618
wpt-pr: 10374
2018-04-20 21:59:42 +01:00
moz-wptsync-bot
b68b535832 Bug 1453221 [wpt PR 10375] - Update wpt metadata, a=testonly
wpt-pr: 10375
wpt-type: metadata
2018-04-20 21:59:39 +01:00
Darren Shen
89a32c5609 Bug 1453221 [wpt PR 10375] - [css-typed-om] Support remaining text properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Support remaining text properties.

Known failures:
- letter-spacing: a <length> of 0 resolves to "normal", but should
  compute to "0".
- line-break: "anywhere" not supported.
- overflow-wrap & word-wrap: "break-spaces" not supported
- word-spacing: "normal" should compute to "normal" and should be able
  to set word-spacing to a <percentage>.

Bug: 820299
Change-Id: If5bac479521de6f1658a38a295df01de98f433f2
Reviewed-on: https://chromium-review.googlesource.com/1002340
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549783}

--

wpt-commits: 3b7b8db90148105a987cc367165f7551edd8519f
wpt-pr: 10375
wpt-commits: 3b7b8db90148105a987cc367165f7551edd8519f
wpt-pr: 10375
2018-04-20 21:59:38 +01:00
moz-wptsync-bot
e1955f0812 Bug 1453219 [wpt PR 10363] - Update wpt metadata, a=testonly
wpt-pr: 10363
wpt-type: metadata
2018-04-20 21:59:35 +01:00
Darren Shen
920b444964 Bug 1453219 [wpt PR 10363] - [css-typed-om] Add support for scroll properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Add support for scroll properties.

Test failures:
- scroll-snap-align should always compute to a pair (but we currently
  compute to single keyword if specified).
- scroll-snap-type should compute to as specified (but we currently
  compute to pair).

Bug: 820299
Change-Id: Id38cee967daef8ac5c0658b958d6e74445035a83
Reviewed-on: https://chromium-review.googlesource.com/999078
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549778}

--

wpt-commits: 387fba3809b776a98e6b11725c6d9a5be037bbca
wpt-pr: 10363
wpt-commits: 387fba3809b776a98e6b11725c6d9a5be037bbca
wpt-pr: 10363
2018-04-20 21:59:34 +01:00
Ian Clelland
ac49e62e9d Bug 1453130 [wpt PR 10405] - Make DOMTokenList.supports() case-insensitive, a=testonly
Automatic update from web-platform-testsMake DOMTokenList.supports() case-insensitive

According to the DOM spec (https://dom.spec.whatwg.org/#dom-domtokenlist-supports)
the supports() method should compare the ASCII-lowercase transform of its input to
the list of tokens supported by the DOMTokenList.

Bug: 831166
Change-Id: I40903a307ffb949bbbbc99e02b56565cb81d00ed
Reviewed-on: https://chromium-review.googlesource.com/1005412
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549733}

--

wpt-commits: 2e8fa7ba82e6d796bf460567be21fbe3d4902568
wpt-pr: 10405
wpt-commits: 2e8fa7ba82e6d796bf460567be21fbe3d4902568
wpt-pr: 10405
2018-04-20 21:59:31 +01:00
Joe Downing
6a48d14085 Bug 1453039 [wpt PR 10400] - [KeyboardLock] Updating API to reject the first promise if lock is called twice, a=testonly
Automatic update from web-platform-tests[KeyboardLock] Updating API to reject the first promise if lock is called twice

Per the W3C spec, when navigator.keyboard.lock() is called a second time (or
more), any previous, pending promises should be rejected.  The old behavior
of the API was to reject the newest promise which is not correct.

As part of this cleanup, I am also using DomExceptions instead of raw strings
for the rejection.  This allows us to clean up the test code (which fails if
a raw string is returned in the reject call).

BUG=680809

Change-Id: Ic4f2563a6ccc22a434f8e6079f1995d9e584f9aa
Reviewed-on: https://chromium-review.googlesource.com/1003472
Commit-Queue: Joe Downing <joedow@chromium.org>
Reviewed-by: Gary Kacmarcik <garykac@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549719}

--

wpt-commits: 1bb2bd025c3729192ded265adfbd57079ada2c5e
wpt-pr: 10400
wpt-commits: 1bb2bd025c3729192ded265adfbd57079ada2c5e
wpt-pr: 10400
2018-04-20 21:59:28 +01:00
moz-wptsync-bot
e150e77b0b Bug 1452895 [wpt PR 10396] - Update wpt metadata, a=testonly
wpt-pr: 10396
wpt-type: metadata
2018-04-20 21:59:25 +01:00
Wanming Lin
46bd0877ab Bug 1452895 [wpt PR 10396] - Automate more focus tests with testdriver, a=testonly
Automatic update from web-platform-testsAutomate more focus tests with testdriver (#10396)

--

wpt-commits: 6934f152ea12746ab33950caf6926ef8d99a5097
wpt-pr: 10396
wpt-commits: 6934f152ea12746ab33950caf6926ef8d99a5097
wpt-pr: 10396
2018-04-20 21:59:23 +01:00
Nicolas Pena
e3f5210193 Bug 1452816 [wpt PR 10385] - WPT-fy Intel/user-timing/ tests, a=testonly
Automatic update from web-platform-testsWPT-fy Intel/user-timing/ tests

This change cleans up the remaining tests in http/tests/w3c/ directory in
preparation to delete it. It moves some tests to external/wpt and removes other
tests, which are duplicates:
* test_user_timing_entry_type.html is duplicated by entry_type.any.js
* test_user_timing_mark_exception.html duplicated by mark_exceptions.html
* test_user_timing_method_exist.html is duplicated by user_timing_exists.any.js

Bug: 498037
Change-Id: I1ba43eba81ed0a5d9e1e1a79aef11b9904556f69
Reviewed-on: https://chromium-review.googlesource.com/1002736
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549659}

--

wpt-commits: 827efec49afed216d98738b9cc60f63ca2bfc401
wpt-pr: 10385
wpt-commits: 827efec49afed216d98738b9cc60f63ca2bfc401
wpt-pr: 10385
2018-04-20 21:59:21 +01:00
Jonathon Kereliuk
831ed9ee3f Bug 1454368 [wpt PR 10403] - Added note about using special keys in send_keys to testdriver docs, a=testonly
Automatic update from web-platform-testsadded special keys note (#10403)

--

wpt-commits: e50487174bea36de374e7acecaceb260fd448b82
wpt-pr: 10403
wpt-commits: e50487174bea36de374e7acecaceb260fd448b82
wpt-pr: 10403
2018-04-20 21:59:18 +01:00
moz-wptsync-bot
7e9a07d864 Bug 1452967 [wpt PR 10365] - Update wpt metadata, a=testonly
wpt-pr: 10365
wpt-type: metadata
2018-04-20 21:59:15 +01:00
Darren Shen
29fcce15c9 Bug 1452967 [wpt PR 10365] - [css-typed-om] Add support for fill & stroke properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Add support for fill & stroke properties.

Some failures:
- fill & stroke shorthands do not seem to follow spec (it should be
  list valued)
- fill-opacity & stroke-opacity do not clamp their values (ComputedStyle
  should clamp values, like opacity).
- fill-color is not implemented.

Bug: 820299
Change-Id: I0879e353cd22291aa8a34f2a10895809b43d8aa5
Reviewed-on: https://chromium-review.googlesource.com/998454
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549499}

--

wpt-commits: d577e28a3e8db5d31b0e35ab3dcbd33304c1680f
wpt-pr: 10365
wpt-commits: d577e28a3e8db5d31b0e35ab3dcbd33304c1680f
wpt-pr: 10365
2018-04-20 21:59:13 +01:00
moz-wptsync-bot
1b82d8bb5f Bug 1452897 [wpt PR 10362] - Update wpt metadata, a=testonly
wpt-pr: 10362
wpt-type: metadata
2018-04-20 21:59:10 +01:00
Darren Shen
9e50e91dc9 Bug 1452897 [wpt PR 10362] - [css-typed-om] Add support for font properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Add support for font properties.

Had to modify the test harness to allow numbers in keywords. This
coincidentally fixed an error in one of the tests (transform-style).

Bug: 820299
Change-Id: Ia7e2854f38a5b960e6537d2c4ba309cb71c1e963
Reviewed-on: https://chromium-review.googlesource.com/999225
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549473}

--

wpt-commits: e62fc73167b0c090d687e7c4c632745c5e98860a
wpt-pr: 10362
wpt-commits: e62fc73167b0c090d687e7c4c632745c5e98860a
wpt-pr: 10362
2018-04-20 21:59:09 +01:00
Darren Shen
a1a8fc0647 Bug 1452887 [wpt PR 10364] - [css-typed-om] Fix unsupported values in non-list-valued properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Fix unsupported values in non-list-valued properties.

Currently, when we reify a value, we try to first reify it as a single
value. If that fails, we try reifying it as a list value. This code
was written with the incorrect assumption that only list-valued
properties are stored as CSSValueLists. This is not true, as many single
valued properties (such as grid-auto-flow) are stored as CSSValueLists.

This patch adds an additional check so that only properties that are
explicitly marked as list-valued are reified as list values.

Bug: 829881
Change-Id: I965e38355b9859a43fcb1b940f19237f9f07fdf6
Reviewed-on: https://chromium-review.googlesource.com/1002214
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549455}

--

wpt-commits: cb4e20750f10c57702db9cfcf418dc5b33448489
wpt-pr: 10364
wpt-commits: cb4e20750f10c57702db9cfcf418dc5b33448489
wpt-pr: 10364
2018-04-20 21:59:06 +01:00
Daniel Vogelheim
9d818e07c1 Bug 1451770 [wpt PR 10331] - Implement deprecation of content type sniffing for workers., a=testonly
Automatic update from web-platform-testsImplement deprecation of content type sniffing for workers.

Allow control of the deprecation via runtime enabled features, with a first
step for logging a warning to the console, and the second step to block it
outright.

Intent:  https://groups.google.com/a/chromium.org/d/msg/blink-dev/35t5cJQ3J_Q/FH45dl0vAwAJ

Change-Id: I1be1001cbbef152458119b1516750bb4f1d1e4de
Reviewed-on: https://chromium-review.googlesource.com/975611
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549495}

--

wpt-commits: d9a9bcf8b69debee46db030d75a1217325a9ca77
wpt-pr: 10331
wpt-commits: d9a9bcf8b69debee46db030d75a1217325a9ca77
wpt-pr: 10331
2018-04-20 21:59:03 +01:00
Morten Stenshorne
3ba015f2e0 Bug 1452756 [wpt PR 10384] - Make sure table flex/grid items recalculate min/max widths., a=testonly
Automatic update from web-platform-testsMake sure table flex/grid items recalculate min/max widths.

We used to rely on this taking place lazily via
MinPreferredLogicalWidth(), but that method won't necessarily be called
if the table is a flex/grid item.

Bug: 810327
Change-Id: Ic817bd109544d4b9e961552d0a3a38f127e6e548
Reviewed-on: https://chromium-review.googlesource.com/1000781
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549479}

--

wpt-commits: 069680cf1da5c762e912246dbcc2d82a280cd48d
wpt-pr: 10384
wpt-commits: 069680cf1da5c762e912246dbcc2d82a280cd48d
wpt-pr: 10384
2018-04-20 21:59:00 +01:00
Geoffrey Sneddon
b6bab161c2 Bug 1452874 [wpt PR 10393] - Fix #10388: Make resources/test use the upstream config, a=testonly
Automatic update from web-platform-testsFix #10388: Make resources/test use the upstream config (#10393)

--

wpt-commits: 429e62ef8b9b392e55faca0c44411159214307a9
wpt-pr: 10393
wpt-commits: 429e62ef8b9b392e55faca0c44411159214307a9
wpt-pr: 10393
2018-04-20 21:58:58 +01:00
Chris Nardi
c30053e5e1 Bug 1438276 [wpt PR 9519] - Test box-shadow serialization, a=testonly
Automatic update from web-platform-testsTest box-shadow serialization (#9519)

Following https://github.com/w3c/csswg-drafts/issues/2305, the canonical serialization for box-shadow was changed from inset? && <length>{2,4} && <color>? to <color>? && <length>{2,4} && inset?. Convert an existing box-shadow text into a testharness.js test in order to test serialization as well.
--

wpt-commits: 5a93530d4db27df7a3154d9a5b75a0f36d592c6a
wpt-pr: 9519
wpt-commits: 5a93530d4db27df7a3154d9a5b75a0f36d592c6a
wpt-pr: 9519
2018-04-20 21:58:56 +01:00
Tarun Bansal
d5b7db3d34 Bug 1452811 [wpt PR 10352] - Add external WPT test for cross-origin requests, a=testonly
Automatic update from web-platform-testsAdd external WPT test for cross-origin requests

The browser should not attach client hints to the
requests fetched from cross origins.

Bug: 817049
Change-Id: Ia7cedfbb6edaaf3616d6e2783965cc52f93c0cd9
Reviewed-on: https://chromium-review.googlesource.com/1000841
Commit-Queue: Tarun Bansal <tbansal@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549238}

--

wpt-commits: 46abbd55aa879ee92ce2f830819569936d9f531f
wpt-pr: 10352
wpt-commits: 46abbd55aa879ee92ce2f830819569936d9f531f
wpt-pr: 10352
2018-04-20 21:58:54 +01:00
moz-wptsync-bot
660e778d4b Bug 1454361 [wpt PR 10376] - Update wpt metadata, a=testonly
wpt-pr: 10376
wpt-type: metadata
2018-04-20 21:58:51 +01:00
Geoffrey Sneddon
16dbeed2e7 Bug 1454361 [wpt PR 10376] - In HTML documents, always make sure we a body, a=testonly
Automatic update from web-platform-testsIn HTML documents, always make sure we a body (#10376)

--

wpt-commits: d258fe90d63872a39ea6c3b59074810c01bbf862
wpt-pr: 10376
wpt-commits: d258fe90d63872a39ea6c3b59074810c01bbf862
wpt-pr: 10376
2018-04-20 21:58:49 +01:00
Anne van Kesteren
f07795ec2d Bug 1452709 [wpt PR 10382] - Test self.event in workers, a=testonly
Automatic update from web-platform-testsTest self.event in workers

To compliment #10329. Needed for https://github.com/whatwg/dom/pull/407.

--

wpt-commits: 3543c82551c1c1c152885844b00b0af0d0e38864
wpt-pr: 10382
wpt-commits: 3543c82551c1c1c152885844b00b0af0d0e38864
wpt-pr: 10382
2018-04-20 21:58:48 +01:00
moz-wptsync-bot
f5668d24e2 Bug 1449837 [wpt PR 10231] - Update wpt metadata, a=testonly
wpt-pr: 10231
wpt-type: metadata
2018-04-20 21:58:45 +01:00
Geoffrey Sneddon
92b3260dd8 Bug 1449837 [wpt PR 10231] - Make the normalized wptserve config a class, a=testonly
Automatic update from web-platform-testsMove the config into its own class (#10231)

--

wpt-commits: bfef1f20a419d24633e48d24c14e6a7503e1d48c
wpt-pr: 10231
wpt-commits: bfef1f20a419d24633e48d24c14e6a7503e1d48c
wpt-pr: 10231
2018-04-20 21:58:43 +01:00
James Graham
45162526e4 Bug 1454471 - Unbreak external reftests on wpt, r=ato
The (fast) internal reftest runner wasn't affected by this, so we
didn't notice the breakage since it only happened on platforms still
using the older broken runner.

MozReview-Commit-ID: AA2GOspOxgR
2018-04-20 21:58:42 +01:00
James Graham
373151f26a Bug 1454390 - Give link-upgrade test a long timeout, r=ato
This test was frequently timing out in debug due to a short timeout in
the test.

MozReview-Commit-ID: KgbyGekWxE7

--HG--
extra : rebase_source : 94b99c7990c36727e54705f9cee17d83cfded9a7
2018-04-19 13:51:02 +01:00