Commit Graph

591348 Commits

Author SHA1 Message Date
Bharat Raghunathan
e1b9a0b9c4 Bug 1450201 - Fix TypeError by processing the function only if it is a DOMNodes. r=gl
MozReview-Commit-ID: HGJcGaeEuEO
2018-04-09 07:56:32 +05:30
Olli Pettay
91a86f87f7 Bug 1454107 - "Re-enable passive touch listeners on window/document/documentElement/body". r=kats 2018-04-13 16:35:00 +03:00
Sebastian Hengst
3128a74b25 Backed out changeset ca3375f6ba92 (bug 1447040) for frequently failing wpt /service-workers/cache-storage/serviceworker/cache-abort.https.html: remove files not removed because of conflict and re-run manifest udpate 2018-04-16 02:09:07 +03:00
Sebastian Hengst
f6fa7710b2 Backed out changeset ca3375f6ba92 (bug 1447040) for frequently failing wpt /service-workers/cache-storage/serviceworker/cache-abort.https.html: fix test manifest 2018-04-16 01:48:08 +03:00
Narcis Beleuzu
72df6941d4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-16 01:28:00 +03:00
Narcis Beleuzu
a30cf7c67c Backed out changeset ca3375f6ba92 (bug 1447040) for frequently failing wpt /service-workers/cache-storage/serviceworker/cache-abort.https.html 2018-04-16 01:20:28 +03:00
Jim Chen
9e1cc5b538 Bug 1452200 - 3. Don't limit AndroidLog tag length; r=jchen
In practice, Android never enforced restrictions on the tag length, and
in newer versions, the restriction is removed, so we shouldn't limit the
tag length at all.

MozReview-Commit-ID: JQF9FBdB5Fj

--HG--
extra : rebase_source : 71aa09210d694b68a72043f7588fbd799f385c23
2018-04-15 14:53:29 -04:00
Jim Chen
e87a6fc89b Bug 1452200 - 2. Convert existing code to use new logging functions; r=snorp
Use the new "debug" and "warn" functions with template literals in
existing code.

MozReview-Commit-ID: 4ob6mom6pQF

--HG--
extra : rebase_source : 564f23c8de1256f73c085845fe030d8bbf45b19c
2018-04-15 14:53:29 -04:00
Jim Chen
9fd43f9378 Bug 1452200 - 1c. Inject logging functions into GeckoView JS modules; r=snorp
Inject new logging functions, "debug" and "warn", into each GeckoView JS
module that geckoview.js loads. Also do the same thing for frame script
classes that extend from GeckoViewContentModule.

The new logging functions are used with template literals (debug `hello
${foo} world`;), which are lazily evaluated, so disabled logs don't use
as many CPU cycles. They can also be easily enabled/disabled.

MozReview-Commit-ID: 7ZfYAMrcCyU

--HG--
extra : rebase_source : 8a830f29ea1cabcdc5055fc86c9880a5216aa456
2018-04-15 14:53:29 -04:00
Jim Chen
48885775a4 Bug 1452200 - 1b. Add template literal support to Log.jsm; r=markh
Make Log.jsm functions support tagged template literals. For example,
instead of |logger.debug("foo " + bar)| or |logger.debug(`foo ${bar}`)|,
you can now use |logger.debug `foo ${bar}`| (without parentheses).

Using tagged template literals has the benefit of less verbosity
compared to regular string concatenation, with the added benefit of
lazily-stringified parameters -- the parameters are only stringified
when logging is enabled, possibly saving from an expensive stringify
operation.

This patch also fixes a bug in BasicFormatter where consecutive tokens
are not formatted correctly (e.g. "${a}${b}").

MozReview-Commit-ID: 9kjLvpZF5ch

--HG--
extra : rebase_source : ccf4e9fae9fa9ea7581de82296035fcc736ca58e
2018-04-15 14:53:28 -04:00
Jim Chen
2eb44a3425 Bug 1452200 - 1a. Add AndroidAppender for Log.jsm; r=markh
Add an AndroidAppender that lets Log.jsm output to the Android logs,
using AndroidLog.jsm. Because the Android logging system keeps track of
the log metadata (time/level/name) separately from the log message, the
patch also adds a separate AndroidFormatter that does not prepend the
metadata to the log message itself.

MozReview-Commit-ID: C9oBbgVQOEc

--HG--
extra : rebase_source : eb1e8622b059ee45b574830426194ea35643b37c
2018-04-15 14:53:28 -04:00
James Graham
4daf082666 Bug 1452643 - Update wptserve args in marionette runner, r=me ON A CLOSED TREE
MozReview-Commit-ID: DvCYUNlX3VQ
2018-04-15 19:26:00 +01:00
Emilio Cobos Álvarez
7bce4fa96c Bug 37468: followup: Cleanup line terminators. r=me
DONTBUILD, since it's whitespace-only.

MozReview-Commit-ID: D61WzJbTgXZ
2018-04-15 14:24:25 +02:00
Jan de Mooij
869fec072d Bug 1452982 part 10 - Rename *ActiveCooperatingThread to *MainThread. r=jonco 2018-04-15 13:18:46 +02:00
Gurzau Raul
3cfe9af000 Backed out 2 changesets (bug 1452618) for frequently failing mochitest on Android on a CLOSED TREE
Backed out changeset 5bf3bfedd867 (bug 1452618)
Backed out changeset fdcb9f2ec9d9 (bug 1452618)
2018-04-15 13:12:56 +03:00
Csoregi Natalia
a9a2483cec Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : rebase_source : bdcf059fd5dd355e5949760f00b5c5cb46f3528e
2018-04-15 12:19:10 +03:00
Gurzau Raul
bd326a2a6b Backed out 5 changesets (bug 1452200) for mochitest-chrome failures on Android on a CLOSED TREE
Backed out changeset ed07fb947b5e (bug 1452200)
Backed out changeset b03e9dc6ecd7 (bug 1452200)
Backed out changeset e4cdad2cd3d2 (bug 1452200)
Backed out changeset 8ac249bdc772 (bug 1452200)
Backed out changeset 225bb7ed5f71 (bug 1452200)
2018-04-15 09:19:04 +03:00
Paolo Amadini
81a5dec57f Bug 1454148 - Fix class of the "View Bookmarks Toolbar" and "View Bookmarks Sidebar" items in the Bookmarks button menu. r=Gijs
MozReview-Commit-ID: 9Dp1mSpSkNS

--HG--
extra : rebase_source : a591c1d3218d24bc06810a66c5fc4b6b257f5ebb
2018-04-14 11:48:48 +01:00
James Graham
43244ec90f Bug 1453415 - Don't try to pause after a crashed test, r=ato 2018-04-15 09:40:40 +01:00
James Graham
be0f33fca1 Bug 1453415 - Handle marionette returning None for content process crash, r=ato
If the content process crashes, marionette can return None rather
than a valid result. In this case we want the test status to end up
as crash, which happens if we just propogate the None upwards.
2018-04-15 09:40:34 +01:00
James Graham
856dea74e0 Bug 1452964 - Fix server_config in wpdspec tests, r=ato
MozReview-Commit-ID: B1N8qWK5rrV
2018-04-15 09:40:27 +01:00
James Graham
cf3d9e051e Bug 1452952 - Fix prefs getter call in wptrunner Firefox executor, r=ato
MozReview-Commit-ID: BEU8bpH4CVg
2018-04-15 09:40:21 +01:00
moz-wptsync-bot
84a1b43883 Bug 1452643 - [wpt-sync] Update web-platform-tests to ad4ef4f58d232848a2acbde645a89d05fa3e3bcf, a=testonly
wpt-head: ad4ef4f58d232848a2acbde645a89d05fa3e3bcf
wpt-type: landing


--HG--
rename : testing/web-platform/meta/offscreen-canvas/the-offscreen-canvas/offscreencanvas.convert.to.blob.html.ini => testing/web-platform/meta/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.html.ini
2018-04-15 09:40:13 +01:00
moz-wptsync-bot
ab0297a4dd Bug 1451836 [wpt PR 10334] - Check for circular interface deps in idlharness.js, a=testonly
Automatic update from web-platform-testsCheck for circular deps (#10334)

wpt-commits: ad4ef4f58d232848a2acbde645a89d05fa3e3bcf
wpt-pr: 10334
wpt-commits: ad4ef4f58d232848a2acbde645a89d05fa3e3bcf
wpt-pr: 10334
2018-04-15 09:40:04 +01:00
Anne van Kesteren
0c9d9939c4 Bug 1452650 [wpt PR 10380] - Remove generate_tests from NodeIterator.html, a=testonly
Automatic update from web-platform-testsRemove generate_tests from NodeIterator.html (#10380)

wpt-commits: 509d7ab80243012857d1b19eda0e6f3b25f33e8e
wpt-pr: 10380
wpt-commits: 509d7ab80243012857d1b19eda0e6f3b25f33e8e
wpt-pr: 10380
2018-04-15 09:39:56 +01:00
moz-wptsync-bot
e5f975f611 Bug 1448620 [wpt PR 10167] - Update wpt metadata, a=testonly
wpt-pr: 10167
wpt-type: metadata
2018-04-15 09:39:50 +01:00
Dominic Farolino
c29373bbf1 Bug 1448620 [wpt PR 10167] - Add tests for mathematical functions in <img sizes="">, a=testonly
Automatic update from web-platform-testsAdd tests for mathematical functions in <img sizes="">

Tests for https://github.com/whatwg/html/pull/3084.

wpt-commits: cc9648dde51ca42dfa40d1ff05c017dd3966929f
wpt-pr: 10167
wpt-commits: cc9648dde51ca42dfa40d1ff05c017dd3966929f
wpt-pr: 10167
2018-04-15 09:39:43 +01:00
moz-wptsync-bot
f10b2af0cb Bug 1450367 [wpt PR 10258] - Update wpt metadata, a=testonly
wpt-pr: 10258
wpt-type: metadata
2018-04-15 09:39:36 +01:00
Mike Taylor
31f7563255 Bug 1450367 [wpt PR 10258] - Add tests for Event.srcElement and Event.returnValue, a=testonly
Automatic update from web-platform-testsAdd tests for Event.srcElement

See https://github.com/whatwg/dom/issues/625 for details.

--
Add tests for Event.returnValue

See https://github.com/whatwg/dom/issues/625 for details.

wpt-commits: 13597c4af7ac923309e740920cd42bed88113e5f, 24f49ff15e22f7d81dbb87908efa0b5970b7add6
wpt-pr: 10258
wpt-commits: 13597c4af7ac923309e740920cd42bed88113e5f, 24f49ff15e22f7d81dbb87908efa0b5970b7add6
wpt-pr: 10258
2018-04-15 09:39:29 +01:00
Anthony Ramine
b09021b8a5 Bug 1452594 [wpt PR 10357] - Avoid async/await in /webstorage/idlharness.html, a=testonly
Automatic update from web-platform-testsAvoid async/await in /webstorage/idlharness.html

Am sorry, Servo is dumb, we are actively trying to fix that on our side.

wpt-commits: 95992cd324d80acc68707b203be8c6cc2aebc6d5
wpt-pr: 10357
wpt-commits: 95992cd324d80acc68707b203be8c6cc2aebc6d5
wpt-pr: 10357
2018-04-15 09:39:21 +01:00
Anthony Ramine
ceb0f17836 Bug 1452593 [wpt PR 10356] - Properly define EventInit in /webvr/idlharness.https.html, a=testonly
Automatic update from web-platform-testsProperly define EventInit in /webvr/idlharness.https.html

wpt-commits: 2b8e0e7004fa407892b0966d2ae3d1ce68aaf678
wpt-pr: 10356
wpt-commits: 2b8e0e7004fa407892b0966d2ae3d1ce68aaf678
wpt-pr: 10356
2018-04-15 09:39:14 +01:00
Matt Falkenhagen
4cff3b8152 Bug 1451994 [wpt PR 10340] - service worker: Add tests for inteception of workers after redirects., a=testonly
Automatic update from web-platform-testsservice worker: Add tests for inteception of workers after redirects.

This tests behavior discussed here:
https://github.com/w3c/ServiceWorker/issues/1289

Namely it tests when a request for a worker goes through a redirect
chain:
1) On redirect from A -> B, whether the service worker at B
sees the request.
2) After the final redirect, which service worker controls the
resulting client.

The tests are written as specified today. Therefore, Firefox
passes this test (verified in Nightly) and Chrome does not.
(Actually a small change is required to the test to make Firefox
pass it, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1452528)

Currently it only tests shared worker but dedicated worker can
be added in a follow-up patch.

Bug: 829720
Change-Id: Id3b1ea8b952760be0ef9917f2c6a3afe60ca1fb5
Reviewed-on: https://chromium-review.googlesource.com/999241
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549125}

wpt-commits: 6fe36d79072d5261ea504435b0dfedaf39f5805a
wpt-pr: 10340
wpt-commits: 6fe36d79072d5261ea504435b0dfedaf39f5805a
wpt-pr: 10340
2018-04-15 09:39:06 +01:00
Chris Nardi
02d309b930 Bug 1443103 [wpt PR 9800] - Correct serialization of box-shadow and text-shadow, a=testonly
Automatic update from web-platform-testsCorrect serialization of box-shadow and text-shadow

Following https://github.com/w3c/csswg-drafts/issues/2305, the canonical serialization for box-shadow was changed to the color then lengths. https://drafts.csswg.org/css-text-decor-3/#text-shadow-property also defines the canonical serialization for text-shadow as the color and then lengths. This caused the test to fail in Firefox, Chrome, and Safari. Update the test to match the spec in both instances.

wpt-commits: a835486e59a94236a55107fe34925079b33ef247
wpt-pr: 9800
wpt-commits: a835486e59a94236a55107fe34925079b33ef247
wpt-pr: 9800
2018-04-15 09:38:59 +01:00
moz-wptsync-bot
044b92d356 Bug 1452590 [wpt PR 10358] - Update wpt metadata, a=testonly
wpt-pr: 10358
wpt-type: metadata
2018-04-15 09:38:53 +01:00
L. David Baron
28e057381c Bug 1452590 [wpt PR 10358] - Sync Mozilla tests as of 2018-04-08, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/b4bc6b2401738b78fd47127a4c716bb9178e1a09 . (#10358)

wpt-commits: 8f9d8e97bc197888e5f396f971e1c5e7c83f11b3
wpt-pr: 10358
wpt-commits: 8f9d8e97bc197888e5f396f971e1c5e7c83f11b3
wpt-pr: 10358
2018-04-15 09:38:43 +01:00
Darren Shen
474e25e21c Bug 1451194 [wpt PR 10301] - [css-typed-om] Implement support for text-* properties., a=testonly
Automatic update from web-platform-tests[css-typed-om] Implement support for text-* properties.

There's a failing test due to Blink computing keyword values for
text-size-adjust to percentages, even though the spec says the computed
value is as specified.

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

wpt-commits: 8a4cdaf6df416d33c0b2cb591fb078d7448591db
wpt-pr: 10301
wpt-commits: 8a4cdaf6df416d33c0b2cb591fb078d7448591db
wpt-pr: 10301
2018-04-15 09:38:34 +01:00
Simon Sapin
912ed24010 Bug 1452484 [wpt PR 10361] - Remove SimonSapin from OWNERS, a=testonly
Automatic update from web-platform-testsRemove SimonSapin from OWNERS (#10361)

wpt-commits: 318f2876ef4b288bb805f855c679dc1b583d8475
wpt-pr: 10361
wpt-commits: 318f2876ef4b288bb805f855c679dc1b583d8475
wpt-pr: 10361
2018-04-15 09:38:27 +01:00
kaixinjxq
370b5de3d4 Bug 1452482 [wpt PR 10360] - Adapt web-nfc IDL tests to latest spec, a=testonly
Automatic update from web-platform-testsAdapt web-nfc IDL tests to latest spec (#10360)

wpt-commits: f16180450896438c055fe41c16a5d26593d15b6d
wpt-pr: 10360
wpt-commits: f16180450896438c055fe41c16a5d26593d15b6d
wpt-pr: 10360
2018-04-15 09:38:18 +01:00
Chris Nardi
ced3fcb618 Bug 1452481 [wpt PR 10353] - Update expected cssText for custom property serialization, a=testonly
Automatic update from web-platform-testsUpdate expected cssText for custom property serialization

See https://github.com/w3c/csswg-drafts/issues/2509#issuecomment-379152590 for the change to target9. Also remove the extra whitespace in target8 and target1 which causes these tests to fail in Chrome and Firefox.

Also remove testcase.propertyName from each test's name as this doesn't exist and just outputs undefined.

wpt-commits: d0d62244432d329aa22e9278d3e83184301c3e7f
wpt-pr: 10353
wpt-commits: d0d62244432d329aa22e9278d3e83184301c3e7f
wpt-pr: 10353
2018-04-15 09:38:10 +01:00
Luke Bjerring
ec47ac89f4 Bug 1452325 [wpt PR 10336] - Improve idlharness error message for exposure test, a=testonly
Automatic update from web-platform-testsImprove idlharness error message for exposure test (#10336)

When `obj` is not created successfully, there's an error like

> Cannot use 'in' operator to search for [member.name] in undefined

NB: I'm not a fan of having each sub-test re-test the same thing, but this is at least _consistent_ with the other code..

wpt-commits: 6e68c444ed00317ee7035fd2e1e144eb4a6a6091
wpt-pr: 10336
wpt-commits: 6e68c444ed00317ee7035fd2e1e144eb4a6a6091
wpt-pr: 10336
2018-04-15 09:38:03 +01:00
Joshua Bell
01f9025886 Bug 1452323 [wpt PR 10349] - Cookie Store: Tentatively deflake special names test, a=testonly
Automatic update from web-platform-testsCookie Store: Tentatively deflake special names test

The "expires" cases are flaky on all platforms on the bots, although
I can't reproduce locally. The test case sets a cookie that expires
"now" then expects it can't read it. It may be flaky due to "now"
being slightly different between processes, threads, and libraries,
allowing the read to succeed.

Set the expiry date to be an hour before "now", which should be
sufficient.

Bug: 829761
Change-Id: Icda1891310dd0a56769877f32405226390e729de
Reviewed-on: https://chromium-review.googlesource.com/999743
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548903}

wpt-commits: a4c17db5364ca97ffa9bb76f9c8e6e155ecd3ddb
wpt-pr: 10349
wpt-commits: a4c17db5364ca97ffa9bb76f9c8e6e155ecd3ddb
wpt-pr: 10349
2018-04-15 09:37:56 +01:00
moz-wptsync-bot
f2989143ed Bug 1452320 [wpt PR 10320] - Update wpt metadata, a=testonly
wpt-pr: 10320
wpt-type: metadata
2018-04-15 09:37:50 +01:00
Raymond Toy
3cb905b3ad Bug 1452320 [wpt PR 10320] - Move AudioNode tests to WPT, a=testonly
Automatic update from web-platform-testsMove AudioNode tests to WPT

Move the AudioNode tests to WPT.

Can't move tail-processing.html because it's specific to Chrome's tail
processing.

Firefox passes all tests except:

* audionode.html (because new AudioContext(1,44100,44100) succeeds but
  shouldn't
* tests that use oac.suspend
* audionode-connect-method-chaining.html with an IndexSizeError
  connecting

Bug: 745778
Change-Id: I0e21e2117a75246367ea2642759ed917ee3e028f
Reviewed-on: https://chromium-review.googlesource.com/994136
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548843}

wpt-commits: 68b07988d40f8a0250675fd0de3c6ae96921608e
wpt-pr: 10320
wpt-commits: 68b07988d40f8a0250675fd0de3c6ae96921608e
wpt-pr: 10320
2018-04-15 09:37:42 +01:00
pyup.io bot
2c1a227eca Bug 1452316 [wpt PR 10346] - Update mozrunner to 6.15, a=testonly
Automatic update from web-platform-testsUpdate mozrunner from 6.14 to 6.15 (#10346)

wpt-commits: ea9348739755aa9bac698f8032ec73d02bc2174a
wpt-pr: 10346
wpt-commits: ea9348739755aa9bac698f8032ec73d02bc2174a
wpt-pr: 10346
2018-04-15 09:37:36 +01:00
Joshua Bell
0002c4c8bd Bug 1452315 [wpt PR 10298] - Cookie Store: rework tests for 'expires' option, a=testonly
Automatic update from web-platform-testsCookie Store: rework tests for 'expires' option

Simplify/rework the tests for the 'expires' options. Don't run the
tests with the special secure-only prefixes, as that's orthogonal to
the behvior.

In Chromium, this also reveals that support for HTTP date strings as
'expires' values, as described in the explainer[1] is not yet
supported.

[1] https://github.com/WICG/cookie-store/blob/gh-pages/explainer.md

Bug: 729800
Change-Id: I015fd643f18b59c8294f9dc62d576682132795fd
Reviewed-on: https://chromium-review.googlesource.com/994284
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548818}

wpt-commits: 8b9501b721963f2b3886f25e20f17a2afe6bc381
wpt-pr: 10298
wpt-commits: 8b9501b721963f2b3886f25e20f17a2afe6bc381
wpt-pr: 10298
2018-04-15 09:37:28 +01:00
Adam Rice
d311c24c5f Bug 1450905 [wpt PR 10277] - Update ReadableStream to latest standard version, a=testonly
Automatic update from web-platform-testsUpdate ReadableStream to latest standard version

Update Blink's implementation of ReadableStream to
https://streams.spec.whatwg.org/commit-snapshots/37ace3d5f16cbea7aec4a0c80532c95059994d51/

This also updates TransformStream to use CreateReadableStream() instead
of calling the ReadableStream constructor.

Several common operations have become unused and have been removed.

The EXTERNALLY_CONTROLLED flag has been renamed to the slightly more
specific name "BLINK_LOCK_NOTIFICATIONS".

All external/wpt/streams/readable-streams tests now pass, and failing
expectations have been removed.

Most changes were already covered by the web-platform-tests. A new
readable-streams/patched-global.js test verifies that
ReadableStreamTee() does not use the global ReadableStream constructor
or otherwise touch the global object.

BUG=710728

Change-Id: I2b799045f47376adef305f5f88ad106161425b46
Reviewed-on: https://chromium-review.googlesource.com/992077
Commit-Queue: Adam Rice <ricea@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548784}

wpt-commits: 8314b7b5ae86ebf5bc435558ae5b0af32b1d7756
wpt-pr: 10277
wpt-commits: 8314b7b5ae86ebf5bc435558ae5b0af32b1d7756
wpt-pr: 10277
2018-04-15 09:37:20 +01:00
Nicolas Pena
7e6effcb0e Bug 1451904 [wpt PR 10339] - Fix the |name| of PerformanceNavigationTiming, a=testonly
Automatic update from web-platform-testsFix the |name| of PerformanceNavigationTiming

Previously, the |name| of a PerformanceNavigationTiming entry was the initial
URL (the request URL). After this CL, it is the response URL, so for example
a url of the form 'redirect?location=newLoc' will have 'newLoc' as the |name|.

Bug: 797465
Change-Id: Icab53ad8027d066422562c82bcf0354c264fea40
Reviewed-on: https://chromium-review.googlesource.com/996579
Reviewed-by: Yoav Weiss <yoav@yoav.ws>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548773}

wpt-commits: a0091fbff26091db1fd4b6ca07d9512edf7e6a95
wpt-pr: 10339
wpt-commits: a0091fbff26091db1fd4b6ca07d9512edf7e6a95
wpt-pr: 10339
2018-04-15 09:37:13 +01:00
Mustaq Ahmed
bc0cf6e4c7 Bug 1447862 [wpt PR 10130] - Make BlueTooth/USB requestDevice non-consuming., a=testonly
Automatic update from web-platform-testsMake BlueTooth/USB requestDevice non-consuming.

The specs for both WebBlueTooth & WebUSB only require a user
activation during a requestDevice call.  So consuming the activation
(vs just checking) is not a strong requirement.  There was a concern
that "not consuming" could possibly mean multiple choosers for a single
user activation but our browser code already handles the situation
gracefully.  Multiple requests to browser is possible from different
tabs anyway, even with (isolated) consumptions in individual tabs.

Therefore it makes sense to remove the consumption behavior here,
which is not spec-ed anyway.  This would fit our goal of a simple
user activation model ("UserActivationV2" project) which should be
simple enough for cross-browser implementation and for a complete spec.

Bug: 786407
Change-Id: I3c9dbf43df34d4cb4a2a33214a6c44847fa7435b
Reviewed-on: https://chromium-review.googlesource.com/775866
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548768}

wpt-commits: 6ba01ea2ffbafbb329352628b244815654b38156
wpt-pr: 10130
wpt-commits: 6ba01ea2ffbafbb329352628b244815654b38156
wpt-pr: 10130
2018-04-15 09:37:06 +01:00
Luke Bjerring
135a1b5cf8 Bug 1452343 [wpt PR 9753] - Update the FileAPI IDL file, a=testonly
Automatic update from web-platform-testsAdd FileAPI idl file (#9753)

wpt-commits: 0cddb6844a669459eb30f0bcf175e16e38af2a54
wpt-pr: 9753
wpt-commits: 0cddb6844a669459eb30f0bcf175e16e38af2a54
wpt-pr: 9753
2018-04-15 09:36:58 +01:00
Luke Bjerring
f906ac39fb Bug 1452314 [wpt PR 10337] - Improve error message for exposure_set test, a=testonly
Automatic update from web-platform-testsImprove error message for exposure_set test

`memberName` is undefined; error message is (was) `ReferenceError: memberName is not defined`.
Clearly supposed to be a check for duplication - `array.length < 0` was a really weird thing to see, though. Spec says it's always non-negative, so deleted that.

Error I see now is

    "Multiple 'Exposed' extended attributes on Navigator"

wpt-commits: 6dd31359159f88202ef73da68c4ad2eef2a3bc99
wpt-pr: 10337
wpt-commits: 6dd31359159f88202ef73da68c4ad2eef2a3bc99
wpt-pr: 10337
2018-04-15 09:36:52 +01:00