Граф коммитов

596453 Коммитов

Автор SHA1 Сообщение Дата
moz-wptsync-bot 6483532573 Bug 1458096 [wpt PR 10722] - Update wpt metadata, a=testonly
wpt-pr: 10722
wpt-type: metadata
2018-05-18 11:15:13 +01:00
Dominic Farolino a6b06163c3 Bug 1458096 [wpt PR 10722] - Add console.countReset manual test, a=testonly
Automatic update from web-platform-testsconsole: add console.countReset manual and label conversion tests

--

wpt-commits: bd9f4402a985fef2e1e4dceaf1bfd5dd26554df2
wpt-pr: 10722
2018-05-18 11:15:13 +01:00
Morten Stenshorne e47eb6df70 Bug 1459954 [wpt PR 10897] - [LayoutNG] Avoid false positives for clearance., a=testonly
Automatic update from web-platform-tests[LayoutNG] Avoid false positives for clearance.

Clearance inhibits margin collapsing and thus makes it possible to
resolve the BFC offset of its parent. In that regard we sometimes
incorrectly assumed that a child would get clearance. The only case
where we can tell for sure up front, is when there are adjoining floats
that match the value of the 'clear' property. In all other cases, we
first need to calculate the block-start border edge of the child.

Added a few new tests. Only two of them failed in NG prior to this CL,
but coverage seemed low, so I added them anyway. Two of them fail in the
legacy engine.

Move the code that detects pending child floats a bit further down, to
give HandleInflow() an opportunity to re-layout the child without
aborting container layout. Otherwise clearance on an empty block will
be lost when positioning the float. Added two tests for this
(second-float-inside-empty-cleared-block*), since nothing except a
multicol test (that happened to do complicated clearance stuff)
regressed.

Removed now unused bits from NGExclusionSpace.

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: I73b4aa02e5e88d1063f345db271cde1ad31ea9f5
Reviewed-on: https://chromium-review.googlesource.com/1049974
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557282}

--

wpt-commits: 857126e062ef13c28981a9a1a01df4695f74715d
wpt-pr: 10897
2018-05-18 11:15:13 +01:00
moz-wptsync-bot 5cb6a978c2 Bug 1459101 [wpt PR 10835] - Update wpt metadata, a=testonly
wpt-pr: 10835
wpt-type: metadata
2018-05-18 11:15:13 +01:00
Ovidio Henriquez 02e2bbeae9 Bug 1459101 [wpt PR 10835] - Add WorkerNavigatorUSB supplement, a=testonly
Automatic update from web-platform-testsAdd WorkerNavigatorUSB supplement

This change adds a WorkerNavigatorUSB supplement for WorkerNavigator.
The WorkerNavigatorUSB interface contains a usb attribute that returns
a USB object. The constructor for this USB object was also changed to
use an ExecutionContext* parameter to allow a worker to properly
initialize the object.

This change also updates the global interface listing tests to reflect
the new attribute that WorkerNavigator contains and adds web platform
tests to check that the WorkerNavigator does indeed have the usb
attribute defined in the supported contexts.

Due to a bug (https://crbug.com/839117) with the WebIDL bindings
generator, the global-interface-listing-service-worker.html test
exposes the usb attribute of WorkerNavigator. Therefore, a check is
performed in WorkerNavigatorUSB to return a null pointer if the
execution context is a ServiceWorkerGlobalScope. Since the intended
behavior for navigator.usb in a service worker is to be undefined, the
web platform test for this checks that condition instead.

Bug: 837414
Change-Id: I3ca63c9ae0b85e5425134024d2fdd9b29ef7d8c3
Reviewed-on: https://chromium-review.googlesource.com/1024724
Commit-Queue: Ovidio Henriquez <odejesush@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Chong Zhang <chongz@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557272}

--

wpt-commits: ede61140b37b59259a3faf48478e7badae90016e
wpt-pr: 10835
2018-05-18 11:15:13 +01:00
Mike Pennisi 740806427c Bug 1458341 [wpt PR 10742] - [wptrunner] Re-enable return code, a=testonly
Automatic update from web-platform-tests[infra] Correct integration test

By default, "single-page tests" must include an explicit call to the
global `done` function [1]. Insert this invocation to signal completion
and avoid a test timeout when the test's expectation is satisfied.

[1] http://web-platform-tests.org/writing-tests/testharness-api.html

--
[ci] Correct syntax in build script

--
[wptrunner] Allow test failures to be ignored

In a previous commit [1] the WPT CLI was modified to unconditionally
ignore the return value of the `wptrunner.start` method. Although this
behavior is convenient in cases where there is no expectation data, it
obscures errors that are relevant in any context.

Specifically, the `start` method returns a non-zero value when no tests
are run, but this is a reliable indicator of an erroneous configuration.
Because the `wpt run` command is used to validate the infrastructure of
the web-platform-tests project, ignoring this case allows faulty
configurations to go unnoticed [2].

Implement a new CLI option named `--no-fail-on-unexpected` to allow
users to allow test failure while still being alerted to errors that
cause zero tests to be executed. Update the script designed for the
TaskCluster service to enable this option.

[1] 5a1b0365267b540c7f4feac3e0a85e9146997fcd
[2] https://github.com/w3c/web-platform-tests/pull/10721

--

wpt-commits: 28e519569775b44a600ce09bd50320e0d9679db1, 8412dad42a7ca4c963aaa6dba771772dbe8d8c5c, f7a0aa07816a2f5a9af6c569f61a5d877baa3a08
wpt-pr: 10742
2018-05-18 11:15:13 +01:00
Mike Pennisi f2e0afa751 Bug 1458729 [wpt PR 10803] - [infra] Improve test scheduling in CI, a=testonly
Automatic update from web-platform-tests[infra] Validate changes to infra tests in CI

The `infrastructure/` directory contains integration tests for the
project's infrastructure. Ensure that any changes to the files in that
directory are validated by the continuous integration system at the time
they are submitted.

--
[infra] Remove reference to non-existent directory

--

wpt-commits: 0ed30960df05eb1fcf590aa747db0c616b298e61, ef1cdebc46f6a49632a6015bc36b0ca9115b6770
wpt-pr: 10803
2018-05-18 11:15:13 +01:00
Anne van Kesteren 003443c947 Bug 1460349 [wpt PR 10932] - Fetch: cleanup api/cors/cors-filtering, a=testonly
Automatic update from web-platform-testsFetch: cleanup api/cors/cors-filtering

I forgot about this one last time around somehow. No .html left in this directory after this one though.

--

wpt-commits: 4f38f7d34855b1cac6de739fa3c32cfdb9a7b7de
wpt-pr: 10932
2018-05-18 11:15:13 +01:00
Navid Zolghadr b713ffefc8 Bug 1455376 [wpt PR 10537] - Send boundary events rightaway after pointerup, a=testonly
Automatic update from web-platform-testsSend boundary events rightaway after pointerup

If pointerup implicitly releases the pointer
capture this change sends the boundary events
rightaway after that without waiting for the
next event.

Bug: 834824
Change-Id: I538e0b35d1420574f964666aac394c0bde00f4fb
Reviewed-on: https://chromium-review.googlesource.com/1019347
Commit-Queue: Navid Zolghadr <nzolghadr@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Reviewed-by: Ella Ge <eirage@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557184}

--

wpt-commits: 13bef404744b9a16919a5e508c72adfb00b41b04
wpt-pr: 10537
2018-05-18 11:15:13 +01:00
moz-wptsync-bot ed34c781b6 Bug 1460300 [wpt PR 10930] - Update wpt metadata, a=testonly
wpt-pr: 10930
wpt-type: metadata
2018-05-18 11:15:13 +01:00
Shachar Zohar 6adf155e18 Bug 1460300 [wpt PR 10930] - expose content-length on a cors request by default, a=testonly
Automatic update from web-platform-testsCORS: safelist Content-Length header

See https://github.com/whatwg/fetch/pull/626 for details.
--

wpt-commits: 407ecdff87af8aeceaa07cbc71aac9ec355d4334
wpt-pr: 10930
2018-05-18 11:15:13 +01:00
Geoffrey Sneddon f1ec562e32 Bug 1459695 [wpt PR 10876] - Run parsed lints on manual and visual tests, a=testonly
Automatic update from web-platform-testsFix #10875: run parsed lints for visual tests

CSS tests, due to their metadata requirement, default to visual tests,
hence it's important we run all of these lints (to in this case catch
../testharness.js)

--
Extend the previous commit to also check manual tests

Plenty of manual tests use testharness.js so we should check them too,
and indeed there's plenty of broken tests so fix them too

--

wpt-commits: b54c11b055959abeefafcde601853ea4cb247e0b, c327c2747db6b71c8c45f61e0a97785a9be622c2
wpt-pr: 10876
2018-05-18 11:15:13 +01:00
Anne van Kesteren 42b0050afb Bug 1459894 [wpt PR 10891] - Extract Location object tests from query-encoding/, a=testonly
Automatic update from web-platform-testsExtract Location object tests from query-encoding/

Helps with #4934.
--

wpt-commits: 42006d165baad592f8e1c3e8cb88878b6bc4ea84
wpt-pr: 10891
2018-05-18 11:15:13 +01:00
Philip Jägenstedt 480bf932b4 Bug 1460278 [wpt PR 10925] - Use https://web-platform-tests.org, a=testonly
Automatic update from web-platform-testsUse https://web-platform-tests.org (#10925)

Follow up to https://github.com/w3c/web-platform-tests/issues/4924.
--

wpt-commits: 9ca0d555e932fb1d32606ac65b10353d29a3dcf0
wpt-pr: 10925
2018-05-18 11:15:13 +01:00
pyup.io bot d8bb3d7209 Bug 1459944 [wpt PR 10895] - Update selenium to 3.12.0, a=testonly
Automatic update from web-platform-testsUpdate selenium to 3.12.0 (#10895)

--

wpt-commits: 477d5d3b8349231097176c65ef02a4b89293fa10
wpt-pr: 10895
2018-05-18 11:15:13 +01:00
Anne van Kesteren 2c505badfc Bug 1460235 [wpt PR 10916] - Editorial: correct Markdown in fetch/data-urls/README.md, a=testonly
Automatic update from web-platform-testsEditorial: correct Markdown in fetch/data-urls/README.md (#10916)

--

wpt-commits: a8fb4d86ff9219c2cb3a227fd8d7de806865b719
wpt-pr: 10916
2018-05-18 11:15:13 +01:00
Anne van Kesteren 00a5954f1c Bug 1460011 [wpt PR 10903] - XHR: reduce try/catch usage, a=testonly
Automatic update from web-platform-testsXHR: reduce try/catch usage

This also improves checking for the correct exception by a bit.

--

wpt-commits: 9b96b146321b9f6cf2391225e3b936e4a68ca5a8
wpt-pr: 10903
2018-05-18 11:15:13 +01:00
Blink WPT Bot b8d781a015 Bug 1459622 [wpt PR 10872] - PaymentHandler: Change topLevelOrigin to topOrigin, a=testonly
Automatic update from web-platform-testsPaymentHandler: Change topLevelOrigin to topOrigin (#10872)

The related spec was changed:
  https://github.com/w3c/payment-handler/pull/301

Bug: 840041
Change-Id: Ic76fffe0b974210edc3888378ded197d06e035b7
--

wpt-commits: da28291ff0b1b6ee6a36004e8deef9c2f098935d
wpt-pr: 10872
2018-05-18 11:15:13 +01:00
Blink WPT Bot 20d5c687ac Bug 1447525 [wpt PR 8641] - PaymentRequest: Apply [Exposed=Window] to the PaymentRequest API, a=testonly
Automatic update from web-platform-testsPaymentRequest: Apply [Exposed=Window] to the PaymentRequest API (#8641)

There is no behavior change but add a test to check it.
--

wpt-commits: ce44721696b37c0d9c4629435f2d4ca692d8a272
wpt-pr: 8641
2018-05-18 11:15:13 +01:00
Dorel Luca 7579b13da5 Merge mozilla-central to mozilla-inbound 2018-05-18 12:59:56 +03:00
Dorel Luca 9769f2300a Merge mozilla-inbound to mozilla-central. a=merge 2018-05-18 12:56:07 +03:00
Jon Coppeard ac49c4df5c Bug 1462326 - Add missing null check when calling shell's module resolve hook r=luke 2018-05-18 10:29:02 +01:00
Jon Coppeard 3744f8b7cb Bug 1461448 - Add gray marking phase to delayed marking phase r=sfink 2018-05-18 10:29:00 +01:00
Boris Zbarsky 453d037a95 Bug 1424160 part 3. Set up @@toStringTag on our synthesized iterator interfaces. r=qdot 2018-05-17 23:45:45 -04:00
Boris Zbarsky fd520f957c Bug 1424160 part 2. Add infrastructure for defining @@toStringTag on Web IDL prototypes. r=qdot 2018-05-17 23:45:35 -04:00
Boris Zbarsky 1fb670215a Bug 1424160 part 1. Allow interfaces the have a different name for SpiderMonkey class name purposes. r=qdot
We want to have some class names with spaces in them, but everything assumes
that an interface identifier is in fact an identifier (e.g. uses it in C++
identifiers like namespace names).
2018-05-17 23:45:26 -04:00
Boris Zbarsky bbb35f3bbb Bug 1375829 part 5. Switch from using "jsonifier" syntax to the spec's "[Default] toJSON" syntax. r=qdot 2018-05-17 23:43:59 -04:00
Boris Zbarsky 5d1de86578 Bug 1375829 part 4. Enforce the spec restrictions on methods named toJSON(). r=qdot
There are two restrictions: such methods must take no arguments and must return a JSON type.
2018-05-17 23:43:55 -04:00
Boris Zbarsky aae7b887d6 Bug 1375829 part 3. Align our definition of "JSON type" with the spec. r=qdot
Compared to the spec, we had the following differences:

* Date was a JSON type in our implementation.  It doesn't even exist as a type
  in the spec.  It stops being a JSON type.
* Annotated types are not supported yet.  Nothing changes here.
* Typedef types were not JSON types in our implementation.  They become JSON
  types if the type it's a typedef for is one.
* Frozen arrays are not supported yet.  nothing changes here.
* Records were not JSON types in our implementation.  They become JSON types
  when the value type is a JSON type.
* Object was not a JSON type in our implementation.  It becomes a JSON type.
* Interface types were only JSON types in our implementation if they had a
  jsonifier.  We change to treating them as JSON types if there is a jsonifier
  anywhere on the inheritance chain.

In terms of observable behavior, the following properties now get included by
toJSON methods that didn't use to be included:

  PaymentResponse.details
  Performance.mozMemory

both because they're of type "object".
2018-05-17 23:39:52 -04:00
Boris Zbarsky 85cfd5fbdf Bug 1375829 part 2. The default binding toJSON should skip over attributes that are not exposed in the current global. r=qdot
Without this, we will start including mozMemory in performance.toJSON() even if
the pref for it is not set, once 'object' becomes a JSON type.

This changes behavior in the following observable ways:

1) We stop exposing PerformanceResourceTiming's .serverTiming in the JSON
serialization in insecure contexts.

2) We stop exposing PerformanceTiming's timeToNonBlankPaint and
timeToDOMContentFlushed in the JSON serialization unless the relevant
preferences are turned on.
2018-05-17 23:39:52 -04:00
Boris Zbarsky 0e86edbbdf Bug 1375829 part 1. Rename isSerializable() to isJSONType(). r=qdot
The spec calls these types "JSON types".
2018-05-17 23:39:52 -04:00
Csoregi Natalia 01ce1b7c2e Backed out changeset 3aa4ee6077c5 (bug 1432927) for failing on payments/test/mochitest/test_basic_card_form.html. CLOSED TREE 2018-05-18 05:26:12 +03:00
Gabriel Luong 9047ef549a Bug 1462445 - Don't show the 3 pane inspector tooltip in the browser toolbox. r=pbro 2018-05-17 21:38:24 -04:00
prathiksha fa75f058dc Bug 1432927 - Show a payment card input form before the summary view for users without a saved payment card. r=MattN
MozReview-Commit-ID: BmGG8OFzCjJ

--HG--
extra : rebase_source : fbbc595c97199cdb997fedf45ea75bf8a07bd358
2018-05-11 12:26:54 -07:00
Ed Lee 2a55825f16 Bug 1462427 - Add managing extensions, identifying webextensions and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: AUYXbWpZU9

--HG--
extra : rebase_source : 5a2621525bf1f56792d4204ff8428faa86e039db
2018-05-17 13:13:11 -07:00
James Teh 2081cc1019 Bug 1462238: Extend/clarify expiry of accessibility instantiator/consumers telemetry. r=MarcoZ data-review=francois
1. Set A11Y_INSTANTIATORS to never expire.
2. A11Y_CONSUMERS was already set to never expire, but only because expiry was never explicitly declared (when this was allowed). Explicitly set it as never expiring now. This also means it can be removed from the associated whitelist.
3. Change the email for both so it gets to the team and me (since policy requires a responsible person and that's me now for these).

MozReview-Commit-ID: BgjMoVnVp6U

--HG--
extra : rebase_source : f5fbe6f1cec985d762523b32eb2d23a03d824168
2018-05-17 16:55:03 +10:00
Matthew Noorenberghe 08d188e41d Bug 1443735 - Don't select a PaymentRequest shipping address by default. r=sfoster
This is possibly a temporary solution to avoid sending the user's address to the merchant until they've interacted with the shipping address picker.

MozReview-Commit-ID: 5q8BYr1rLwP

--HG--
extra : rebase_source : e6c5ecee96acc4aaa25c2082b7d6a654bb82e135
2018-05-17 15:48:04 -07:00
Matthew Noorenberghe d17778463c Bug 1443735 - Use better selectors to find payment request add/edit links. r=sfoster
MozReview-Commit-ID: KSjAiY8QfIz

--HG--
extra : rebase_source : 78bc4774df5025a4e9bdde2db8929ccefcc42888
2018-05-16 13:28:21 -07:00
Paolo Amadini c476bfba8e Bug 1459927 - Traverse nsIStackFrame async callers when reporting browser-chrome test harness failures. r=jmaher
MozReview-Commit-ID: BZ1bt1amerq

--HG--
extra : rebase_source : 7fa5e81be720f24f0dedf0390f53b2b1102d2ac5
2018-05-08 15:10:01 +01:00
Brad Werth 3c23b481ba Bug 1454835: Remove racy-ness from some shape-outside web-platform tests. r=dholbert
These tests use setTimeout to wait for shape-outside layout to hopefully
complete. This is non-deterministic race condition and leads to intermittent
failures. This change makes those tests instead trigger on the onload event
and removes the setTimeout infrastructure and replaces it with an assert.
Without this change, these tests have no guarantee about whether the rendering
will be complete by the time the test's JS fires.

MozReview-Commit-ID: CHrXUC3yCCT

--HG--
extra : rebase_source : b5642bf24abcbfacb7b94e95d4ca9c8d6486b98b
2018-04-18 15:29:14 -07:00
Jonathan Kingston b437b76642 Bug 1462308 - Disable all Device Sensor events except orientation by default for stable. r=bkelly
MozReview-Commit-ID: 1PTWYpUP14

--HG--
extra : rebase_source : cb7754c824297cf7fa407056a833c0755c4450fb
2018-05-17 12:12:03 +01:00
Sebastian Hengst 572b579c85 Bug 1462358 - Quit bug-1461027.js early if TypedObject is not available. r=sfink
MozReview-Commit-ID: 8CtwrwlfOi4

--HG--
extra : rebase_source : ad3b7649ab9caf236f17026ce8ee89148002edbd
2018-05-18 00:58:35 +03:00
Chris Pearce 68af64e32b Bug 1461540 - Ensure errorMessage is initialized on all code paths in WebAudioDecodeJob::OnFailure(). r=jya
Doesn't look like it's strictly necessary, but suppresses the warning.

MozReview-Commit-ID: EQBar71yNVg

--HG--
extra : rebase_source : 063639000fd47b32343d47a8ca428c134fdce43b
2018-05-15 13:12:13 +12:00
Bogdan Tara a59328d28f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-18 01:07:35 +03:00
Bogdan Tara 3287e1104c Merge inbound to mozilla-central. a=merge 2018-05-18 01:04:08 +03:00
Jonathan Kew a4df82c15c Bug 1460858 - Fix serialization/deserialization of SlantStyle for the Android startupCache, to ensure proper styled face selection. r=jwatt 2018-05-17 14:44:37 +01:00
Tim Taubert 2b5e4e52b4 Bug 1462324 - Remove unused WebAuthnTransaction::mDirectAttestation r=jcj
Reviewers: jcj

Reviewed By: jcj

Bug #: 1462324

Differential Revision: https://phabricator.services.mozilla.com/D1301
2018-05-17 18:32:53 +02:00
Luke Wagner b5369fe8a0 Bug 1459761 - Baldr: trigger non-incremental, full GC close to live buffer limit (r=jonco)
--HG--
extra : rebase_source : 47b4489c8cf91996f28bd96a6330eed7178e5839
2018-05-17 11:05:57 -05:00
Jan de Mooij 20c162b7ba Bug 1461938 part 4 - Move RealmOptions from JSCompartment to JS::Realm. r=luke
--HG--
extra : rebase_source : 72156e20ea7e60995d13c26b52bc2ad43daaf44c
2018-05-17 18:04:38 +02:00
Jan de Mooij 2b5a2e2776 Bug 1461938 part 3 - Store JS::Realm* instead of JSCompartment* in ObjectGroup. r=luke
--HG--
extra : rebase_source : a569b3b066beea3cad4acb30ea8e8084e59763f7
2018-05-17 18:04:04 +02:00