Commit Graph

22167 Commits

Author SHA1 Message Date
Andrew Halberstadt
a42c0422b1 Bug 1445944 - [mozbase] Bump mozprofile and mozrunner version numbers r=rwood
Neither package has any backwards incompatible changes. However, I decided to
bump the major version for mozrunner as this is the first time it's switching
to SemVer (mozprofile already made the switch). It seemed cleaner to have the
switch happen after a major bump.

In both cases, I've added major version upper limit guards to each dependency.
This way we won't break these packages in the future when we land backwards
incompatible changes to the dependendencies.

MozReview-Commit-ID: 5SIpMGTS3cc
2018-04-13 18:22:46 -04:00
Andrew Halberstadt
429a5d3833 Bug 1445944 - [mozprofile] Create a new ChromeProfile class for managing chrome profiles r=rwood
In Chrome it doesn't seem to be possible to install extensions by dropping them
in the profile directory. Instead we use the --load-extension command line
argument. To that end the ChromeProfile uses a 'dummy' AddonManager() class
that is actually just a list with an 'install' method. Mozrunner will be
responsible for building the command line based on this list.

We also need a few other command line arguments to build and create a temporary
profile directory.

MozReview-Commit-ID: HC2p2ZZMl66
2018-04-13 13:28:30 -04:00
Andrew Halberstadt
1a095b2624 Bug 1445944 - [mozprofile] Pull functionality out of Profile and into an abstract 'BaseProfile' class r=rwood
In addition to Profile, this will be implemented by the ChromeProfile class in
the next commit. This way we can test for 'isinstance(profile, BaseProfile)'
when we just want to test for a profile regardless of application.

Ideally I would have preferred 'Profile' itself to be the base class (and co-opt
FirefoxProfile to be the new defacto class for firefox profiles), but this would
break backwards compatibility.

MozReview-Commit-ID: 6TTFq2PQOGM
2018-04-13 13:26:41 -04:00
Andrew Halberstadt
7afaf9de35 Bug 1445944 - [mozprofile] Add a 'create_profile' helper method for instanting an instance from an app r=rwood
This will make it a bit easier for consumers to create a profile instance. They
can just call:

    profile = create_profile('firefox', prefs=...)

Instead of needing to first find the class, then do the instantiation.

MozReview-Commit-ID: 7FqAGsSyZVe
2018-04-12 12:40:47 -04:00
Andrew Halberstadt
2c1e9d67b8 Bug 1445944 - [mozprofile] Convert mozprofile unittests to the pytest format r=davehunt
This is a much cleaner and easier to understand test format. It will also make
it easier to add tests for the upcoming ChromeProfile changes.

MozReview-Commit-ID: DizKGt0qkPF
2018-04-13 11:06:10 -04:00
Andrew Halberstadt
cbd0d41b85 Bug 1445944 - [mozrunner] Create a base BlinkRuntimeRunner and add a ChromeRunner to the runners list r=rwood
This allows consumers to bootstrap Chrome with mozrunner. For now the profile implementation
is just an empty class but this will be expanded in a future commit.

MozReview-Commit-ID: 1Z14FudH0JJ
2018-04-12 22:29:17 -04:00
Andrew Halberstadt
f93c097d62 Bug 1445944 - [mozrunner] Convert mozrunner unittests to the pytest format r=davehunt
This will make it easier to add the ChromeRunner tests in the next couple of
commits.

MozReview-Commit-ID: 2Nfz92FStSX
2018-04-12 15:14:03 -04:00
Andrew Halberstadt
cb9f1cafa9 Bug 1445944 - [mozrunner] Remove ability to specify the 'wrap_command' function on an Application context r=rwood
This is a leftover artifact from the B2G days that isn't being used anymore.

MozReview-Commit-ID: FZoTwHltmAG
2018-04-12 12:08:05 -04:00
Andrew Halberstadt
11f9ef3f9f Bug 1445944 - [moztest] Update shared test fixtures so they can work outside of mozilla-central r=rwood
This isn't strictly related to this bug, but it is a change made to mozbase in
the raptor repo that is worth backporting here. Figured it's easiest to land it
alongside the other mozbase backports.

MozReview-Commit-ID: DW7I2zKZZNk
2018-04-12 12:03:16 -04:00
shindli
8ebd184e1c Backed out 3 changesets (bug 1186265) for wpt8 failures in /css/geometry/interfaces.html on a CLOSED TREE
Backed out changeset d8986aead3e0 (bug 1186265)
Backed out changeset 2ba85ec7c9da (bug 1186265)
Backed out changeset f3a0b2686f45 (bug 1186265)
2018-04-16 21:57:47 +03:00
Blake Kaplan
205b14263f Bug 1186265 - Update DOMPoint-001.html to the current spec. r=bz
This test tests the original version of the DOMPoint spec. These changes
update it to the current working draft.

MozReview-Commit-ID: AYUz8xks2RE
2018-03-30 11:42:16 -07:00
Blake Kaplan
bd932077d5 Bug 1186265 - Update DOMPointReadOnly to the most recent spec. r=bz
The most recent specification gives DOMPointReadOnly a constructor as well as
a static fromPoint method.

This fixes several failing wpt tests.

MozReview-Commit-ID: 4mPhMm5yhJA
2018-03-30 10:55:40 -07:00
Dave Hunt
b80a06fd6f Bug 1454338 - [mozversion] Remove support for B2G; r=ahal
MozReview-Commit-ID: 9CJ8arQiZtf
2018-04-16 13:16:17 +01:00
Andreea Pavel
ab596b1a21 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-16 12:52:34 +03:00
Masayuki Nakano
e74f4dc51b Bug 1453872 - Make HTMLEditRules::JoinNodesSmart() return { aRightNode - aLeftNode.Length() } by default r=m_kato
This is regression of bug 1423835.

When I fixed the bug, I accidentally changed the result of
HTMLEditRules::JoinNodesSmart() to use new API.  However, it was simple
misunderstand.  The original code sets the initial value of result to
{ aRightNode - aLeftNode.Length() } but I understood it as
{ aRightNode - aRightNode.Length() }.  Therefore, this patch backs out the
patch only for this line.

MozReview-Commit-ID: 5rD7YFij8v
2018-04-13 13:18:13 +09:00
Sebastian Hengst
96a9ae1089 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
15b0f244c4 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
7111ad235c 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
James Graham
fa5ddffa1c 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
Csoregi Natalia
f0ecc1063e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-15 12:19:10 +03:00
James Graham
4a2f7d2756 Bug 1453415 - Don't try to pause after a crashed test, r=ato 2018-04-15 09:40:40 +01:00
James Graham
d067d776d1 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
51c25a62b1 Bug 1452964 - Fix server_config in wpdspec tests, r=ato
MozReview-Commit-ID: B1N8qWK5rrV
2018-04-15 09:40:27 +01:00
James Graham
c240f83c81 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
7410b43e59 Bug 1452643 - [wpt-sync] Update web-platform-tests to ad4ef4f58d232848a2acbde645a89d05fa3e3bcf, a=testonly
wpt-head: ad4ef4f58d232848a2acbde645a89d05fa3e3bcf
wpt-type: landing
2018-04-15 09:40:13 +01:00
moz-wptsync-bot
68c9447ed9 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
f6530d9d55 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
4cdd708f60 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
f9df9555c8 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
95d4f083bf 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
67cebd11e2 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
850a76f6e7 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
e2050f63da 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
e234242e8a 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
62bb2c8c5e 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
856a94d4d4 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
0cc3ca9202 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
c4e8b314c1 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
9a4041b865 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
40bae22a1a 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
2dfba0fe73 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
97d222e72b 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
7a192d33fd 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
96a8b65c5a 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
85ad15f227 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
8c8cc067b0 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
eb331bf242 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
1ecc1536a4 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
a58cb078b6 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
cf546fecf0 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