Commit Graph

27063 Commits

Author SHA1 Message Date
Bogdan Tara
a23c3959b6 Merge inbound to mozilla-central. a=merge 2018-09-12 06:22:14 +03:00
Tom Ritter
d8f3b49815 Bug 1465800 Create an x64 MinGW-Clang Browser Build job r=froydnj
MozReview-Commit-ID: 7TSCY52wTpR

Differential Revision: https://phabricator.services.mozilla.com/D4553

--HG--
extra : moz-landing-system : lando
2018-09-07 16:47:33 +00:00
Bogdan Tara
3fc5bc9ad5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-12 01:15:44 +03:00
Dave Hunt
36100c0619 Bug 1471888 - Update mozprofile version used by raptor; r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D5594

--HG--
extra : moz-landing-system : lando
2018-09-11 21:09:23 +00:00
arthur.iakab
620bc5019f Backed out changeset ebe2c08a2454 (bug 1474499) for failing web platform tests on ValidationEvent/constructor.https.html 2018-09-11 19:30:23 +03:00
Ms2ger
9bc6d8586d No bug - Note bugs in wasm test expectation files. 2018-09-11 17:25:47 +02:00
Marcos Cáceres
e4203c1813 Bug 1474499 - Add support for onmerchantvalidation and MerchantValidationEvent. r=edenchuang,baku
--HG--
extra : rebase_source : 5b5488fb1bb6c9f901a8c22c12aa635ebf8381c8
2018-09-11 06:00:00 +03:00
Edwin Gao
edc30e1b35 Bug 1488327 - Use new ADBDevice.reverse in Raptor r=rwood
Changed two occurrences of _cmd['reverse', port, port] to use the create_socket_connection method from 1484238.
Added code at end of clean_up() to remove opened socket connections.

Checked via manual execution of raptor-speedometer that opened reverse socket connections are removed at conclusion of test.

Differential Revision: https://phabricator.services.mozilla.com/D5286

--HG--
extra : moz-landing-system : lando
2018-09-07 20:11:55 +00:00
Pavel Slepushkin
21f7f10fe9 Bug 1471888 - [mozprofile] Add support for Python 3. r=davehunt
Bug 1471888 - [mozprofile] Add support for Python 3.

Differential Revision: https://phabricator.services.mozilla.com/D5187

--HG--
extra : moz-landing-system : lando
2018-09-11 18:58:05 +00:00
Henrik Skupin
c57a94b724 Bug 1489141 - [webdriver] Ignore any unknown variant of enum PointerOrigin.
To keep backward compatibility, the legacy "ELEMENT" key for an
instance of PointerOrigin has to be supported, but ignored.

This workaround can be removed once legacy support gets dropped
from geckodriver.

--HG--
extra : rebase_source : 9b098010d6f880eafc8d0223e17f47d8e5d15d7d
2018-09-07 11:27:04 +02:00
Andreas Tolfsen
f0f74c2769 bug 1490292: marionette: update README to point to firefox-source-docs.m.o; r=me
DONTBUILD
2018-09-11 14:39:54 +01:00
Andreas Tolfsen
a23464a484 bug 1490292: marionette: drop .md suffix on README; r=me
DONTBUILD


--HG--
rename : testing/marionette/README.md => testing/marionette/README
2018-09-11 14:39:54 +01:00
Andreas Tolfsen
103cf44a29 bug 1490289: marionette: add general test README; r=me
DONTBUILD
2018-09-11 14:32:50 +01:00
Andreas Tolfsen
7cee7e4b11 bug 1490289: marionette: add pointer to general marionette test docs; r=me
DONTBUILD
2018-09-11 14:32:50 +01:00
Andreas Tolfsen
3d4ba70e62 bug 1490289: marionette: drop .md ending on unit test README; r=me
searchfox.org no longers renders Markdown, so it is not needed.

DONTBUILD


--HG--
rename : testing/marionette/test/unit/README.md => testing/marionette/test/unit/README
2018-09-11 14:32:49 +01:00
Jeff Muizelaar
0aa2870b83 Bug 1490242. Adjust reftests for 3d transfrom changes 2018-09-11 08:47:55 -04:00
Cosmin Sabou
6294a344fe Merge mozilla-central to mozilla-inbound. a=merge 2018-09-11 13:17:29 +03:00
Cosmin Sabou
de7676288a Merge mozilla-inbound to mozilla-central. a=merge 2018-09-11 13:06:37 +03:00
Andreas Tolfsen
0029ce8495 bug 1471281: geckodriver: update geckodriver build instructions; r=whimboo 2018-09-11 10:40:31 +01:00
Bastien Orivel
7ef3fa6f4a Bug 1489792 - Part 1: Update base64 to 0.9. r=ato 2018-09-11 10:18:40 +01:00
Dipen Patel
aeed887ff8 Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=Gijs,snorp,jcj,mcmanus,sfraser,keeler,baku,ato
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

Differential Revision: https://phabricator.services.mozilla.com/D3704

--HG--
extra : moz-landing-system : lando
2018-09-11 00:07:30 +00:00
Jan-Ivar Bruaroey
c65e5bbe7b Bug 1489623 - Throw SyntaxError on empty urls in iceServers and switch to real SyntaxError over DOMException, + update WPT. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D5452

--HG--
extra : moz-landing-system : lando
2018-09-10 19:23:15 +00:00
Daniel Varga
9e7995b3c3 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-10 19:14:55 +03:00
James Graham
9851ac101a Bug 1489457 - Restart after another test that's leaking state, a=testonly 2018-09-10 13:11:25 +01:00
James Graham
713ce33a4a Bug 1489457 - Restart after test that's leaking state, a=testonly 2018-09-10 12:10:04 +01:00
moz-wptsync-bot
1b353d329f Bug 1489457 - [wpt-sync] Update web-platform-tests to 72ae98cf6f848616cba248590a8c4ef092ae7dfc, a=testonly
wpt-head: 72ae98cf6f848616cba248590a8c4ef092ae7dfc
wpt-type: landing
2018-09-10 10:12:20 +00:00
moz-wptsync-bot
42e1a55479 Bug 1488415 [wpt PR 12825] - Update wpt metadata, a=testonly
wpt-pr: 12825
wpt-type: metadata
2018-09-10 10:12:19 +00:00
Maja Kabus
0ea2261a81 Bug 1488415 [wpt PR 12825] - Idlharness.js tests added for Trusted Types API, a=testonly
Automatic update from web-platform-testsIdlharness.js tests added for Trusted Types API

Added Idlharness tests for Trusted Types interfaces.
Removed "Worker" from "Exposed=(...)" in TrustedXXX .idl files.

Bug: 739170
Change-Id: Id8834affcdded63f3ebb9ebd4d288cfd01ef24a8
Reviewed-on: https://chromium-review.googlesource.com/1204150
Commit-Queue: Maja Kabus <kabusm@google.com>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589146}

--

wpt-commits: 72ae98cf6f848616cba248590a8c4ef092ae7dfc
wpt-pr: 12825
2018-09-10 10:12:19 +00:00
moz-wptsync-bot
92d45b9e0a Bug 1488714 [wpt PR 12847] - Update wpt metadata, a=testonly
wpt-pr: 12847
wpt-type: metadata
2018-09-10 10:12:18 +00:00
Florian Rivoal
d358564491 Bug 1488714 [wpt PR 12847] - [css-contain] Containment and stacking contexts for inline elements, a=testonly
Automatic update from web-platform-testsMerge pull request #12847 from mrego/css-contain-stacking-context

[css-contain] Containment and stacking contexts for inline elements
--

wpt-commits: 7d0d45d65796520f94eda3d4de3986b84e7173ab
wpt-pr: 12847
2018-09-10 10:12:18 +00:00
Florian Rivoal
9019b16609 Bug 1488354 [wpt PR 12823] - Revert "[css-contain] Add support file in local directory", a=testonly
Automatic update from web-platform-testsMerge pull request #12823 from web-platform-tests/revert-12492-contain-support

Revert "[css-contain] Add support file in local directory"
--

wpt-commits: e54519b77a611d45d8f495a3344eca6a840d6fd3
wpt-pr: 12823
2018-09-10 10:12:17 +00:00
Blink WPT Bot
8eae4f37cf Bug 1488707 [wpt PR 12846] - PaymentRequest: Implement PaymentResponse.payerdetailchange event, a=testonly
Automatic update from web-platform-testsPaymentRequest: Implement PaymentResponse.payerdetailchange event (#12846)

The event handler is triggered when the user changes payer information
such as payer name, payer email, or payer phone in the user interface.

Related spec change:
  https://github.com/w3c/payment-request/pull/724

Test:
  payment-request/payment-response/onpayerdetailchange-attribute.https.html
  payment-request/payment-response/onpayerdetailchange-attribute.manual.https.html

Bug: 861704
Change-Id: Ia5d63f53874abd7c76014bf35379a71a0eead622
--

wpt-commits: 3c6c9350988f98c8fac94fab8174bc4729cd6755
wpt-pr: 12846
2018-09-10 10:12:16 +00:00
Florian Rivoal
a0085cbc48 Bug 1489030 [wpt PR 12866] - [css-contain] grid and multicol properties contribute to size, a=testonly
Automatic update from web-platform-testsMerge pull request #12866 from frivoal/contain-size-grid-multicol

[css-contain] grid and multicol properties contribute to size
--

wpt-commits: 7c89c784f97298dde867a8648c5172ffc17367ad
wpt-pr: 12866
2018-09-10 10:12:15 +00:00
jugglinmike
5ebe2f5c98 Bug 1488592 [wpt PR 12835] - [cookies] Correct utility function and tests, a=testonly
Automatic update from web-platform-tests[cookies] Correct utility function and tests (#12835)

* [cookies] Fail on exceptional circumstance

Some tests which use the `credFetch` utility include assertions only for
the absence of cookies. Because `fetch` does not reject the returned
promise for valid HTTP responses outside of the 2XX range, these tests
could be satisfied by querying non-existent URLs. This is not an issue
in any existing tests, but it has the potential to hide problems in
future patches.

Update the `credFetch` function to report unsuccessful requests as
failures.

* [cookies] Correct utility function and tests

The `cookie-helper.sub.js` utility script includes
`set_prefixed_cookie_via_http_test`, a function that defines sub-tests
using the `promise_test` API. Previously, it included the following
code:

    promise_test(t => {
      var postDelete = _ => {
        // (elided)
      };

      if (!options.origin) {
        return postDelete;
      } else {
        // (elided)
      }
    });

The `promise_test` function does not recognize return values which are
functions, so returning the `postDelete` method had no effect, and as a
result, the generated tests performed zero assertions. Because none of
the consumers of `set_prefixed_cookie_via_http_test` specified a value
for the `origin` option, all invocations were effected by this bug.

Correcting the problem surfaced a number of errors in the tests. In the
interest of atomicity, this patch attempts to address them all:

- The logic intended to defensively remove cookies prior to testing was
  implemented using `document.cookie`. Because some tests create cookies
  which include the `HttpOnly` attribute, the DOM API cannot remove
  cookies in all cases. This patch refactors the solution to remove
  such cookies via an HTTP request. It also assumes the environment is
  initially clean and instead expresses the concern via an asynchronous
  "cleanup" function. (This change necessitated an extension to the
  `set.py` script so that it could be used to expire cookies.)
- The test name `__secure.header.html` incorrectly asserted that a
  cookie set with the `Secure` attribute could be observed in a
  non-secure context. This patch corrects the expectation.
- The test named `__secure.header.https.html` incorrectly asserted that
  a cookie set with a foreign `Origin` attribute could be observed from
  the current origin. This patch corrects the expectation.

--

wpt-commits: 88d4f4cc118320c4e02003ffc1ba2c5ee81b1753
wpt-pr: 12835
2018-09-10 10:12:14 +00:00
moz-wptsync-bot
dff9778f3b Bug 1488905 [wpt PR 12855] - Update wpt metadata, a=testonly
wpt-pr: 12855
wpt-type: metadata
2018-09-10 10:12:14 +00:00
Ian Kilpatrick
0ac435fed3 Bug 1488905 [wpt PR 12855] - [LayoutNG] Add LayoutBox::PercentageResolutionLogicalHeight., a=testonly
Automatic update from web-platform-tests[LayoutNG] Add LayoutBox::PercentageResolutionLogicalHeight.

This function allows LayoutNG to correctly query the percentage
resolution block_size in quirks mode. (see test case for an example of
where this happened).

We call this as we are crossing a legacy->LayoutNG boundary while
creating the constraint space from a LayoutObject.

The function will also be used in the CSS Layout API to provide the
correct percentage resolution size.

Cq-Include-Trybots: luci.chromium.try​:linux_layout_tests_layout_ng
Change-Id: I295145996f2460de1b25f85ff3784df6d6edbd30
Reviewed-on: https://chromium-review.googlesource.com/1194072
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589074}

--

wpt-commits: a806d658df3bcc3f05675ad8d08a6e109177c6b0
wpt-pr: 12855
2018-09-10 10:12:13 +00:00
moz-wptsync-bot
497f8bab64 Bug 1488630 [wpt PR 12837] - Fix cases where setValueCurveAtTime was not throwing errors, a=testonly
Automatic update from web-platform-testsFix cases where setValueCurveAtTime was not throwing errors

Catch more cases where we should throw errors if a new
setValueCurveAtTime overlaps an existing setValueCurveAtTime event.

Add some additional tests for more coverage.  Also, some of the
existing tests were using incorrect expected error types so fix them.

Remove test expectations file since we pass now.

Bug: 879767
Test: the-audioparam-interface/audioparam-setValueCurve-exceptions.html
Change-Id: I14a7a7c9ab36955b7e084ca9148495860b661111
Reviewed-on: https://chromium-review.googlesource.com/1205719
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589059}

--

wpt-commits: 9f63e45e03bb836556466ba43082c4a1c464b14e
wpt-pr: 12837
2018-09-10 10:12:13 +00:00
moz-wptsync-bot
38013d478a Bug 1488586 [wpt PR 12834] - Update wpt metadata, a=testonly
wpt-pr: 12834
wpt-type: metadata
2018-09-10 10:12:12 +00:00
Raymond Toy
c33b50ec25 Bug 1488586 [wpt PR 12834] - Throw errors for invalid rolloffFactor and coneOuterGain, a=testonly
Automatic update from web-platform-testsThrow errors for invalid rolloffFactor and coneOuterGain

The WebAudio spec says we must throw errors for a negative
rolloffFactor and for a coneOuterGain outside the interval [0,
1]. Make it so.

Also add some additional tests to ctor-panner.html to verify that a
rolloffFactor of 0 or 100 do not throw errors and that a
coneOuterGain of 0 or 1 do not throw errors.

Remove invalid tests from panner-rolloff-clamping.html because
negative rolloffFactor now throws an error.

Finally remove text expectation for ctor-panner.html test, which
passes now.

Bug: 879845
Test: the-pannernode-interface/ctor-panner.html, the-pannernode-interface/panner-rolloff-clamping.html
Change-Id: Ie90e9fe13e82fd3cc955060dc9e77266ef4ff591
Reviewed-on: https://chromium-review.googlesource.com/1205099
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589045}

--

wpt-commits: 7b9c733915fab4723a453e03d692f9c396a8c6fb
wpt-pr: 12834
2018-09-10 10:12:12 +00:00
Simon Pieters
00eaeeafb7 Bug 1469616 [wpt PR 11570] - [wptrunner] Reject tests that almost time out in stability check, a=testonly
Automatic update from web-platform-tests[wptrunner] Reject tests that almost time out

In stability check (wpt run --verify), reject tests that almost time
out, i.e. take more than 80% of the timeout allowed to run). These tests
will be listed in a new section, "slow tests", in the output.

Fixes #9972.

--
Take timeout_multiplier into account

--
Longest duration for each status of each test

Previously we record the longest duration of all tests. However, each
test can have different timeout. Besides, test runs with different
results should be considered differently; runs that time out should be
ignored.

Therefore, we now keep track of the longest duration for each result
status of each test.

Also add a unit test.

--
Fix ci/check_stability.py

--

wpt-commits: 20f4a6dcec93d3ea65a8dd5c3b3a3dbe30476ae6, 0ccdf9b766875ae82000aa88c6c011c6cbd08430, 5a540d04ef8d14f77e0afa9f139788a45c7a65d3, 69717e2cdc71420593c3eedf6d370cb397b5b621
wpt-pr: 11570
2018-09-10 10:12:11 +00:00
moz-wptsync-bot
a6779a55db Bug 1488983 [wpt PR 12861] - Update wpt metadata, a=testonly
wpt-pr: 12861
wpt-type: metadata
2018-09-10 10:12:10 +00:00
Mike Pennisi
05e2e63379 Bug 1488983 [wpt PR 12861] - [cookies] Correct typo, a=testonly
Automatic update from web-platform-tests[cookies] Correct typo

--

wpt-commits: b2097668d2344214cfd7c995644a4dc7d5aa7d46
wpt-pr: 12861
2018-09-10 10:12:10 +00:00
moz-wptsync-bot
1cc6ec8830 Bug 1487661 [wpt PR 12776] - Update wpt metadata, a=testonly
wpt-pr: 12776
wpt-type: metadata
2018-09-10 10:12:09 +00:00
Andy Paicu
96c97d4aa0 Bug 1487661 [wpt PR 12776] - Implement script and style attr/elem CSP directives, a=testonly
Automatic update from web-platform-testsImplement script and style attr/elem CSP directives

The functionality is behind the
ContentSecurityPolicyExperimentalFeaturesEnabled flag

I2IS: Coming Soon

Spec:
https://w3c.github.io/webappsec-csp/#directive-script-src-elem
https://w3c.github.io/webappsec-csp/#directive-script-src-attr
https://w3c.github.io/webappsec-csp/#directive-style-src-elem
https://w3c.github.io/webappsec-csp/#directive-style-src-attr

Change-Id: Ic1638cac15c7ec488fcc7a4c9f6261b97502090a
Reviewed-on: https://chromium-review.googlesource.com/1181050
Commit-Queue: Andy Paicu <andypaicu@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588534}

--

wpt-commits: 412054bbdecd4ba26ae93ae83b2bfe3c66852948
wpt-pr: 12776
2018-09-10 10:12:09 +00:00
Kent Tamura
a7825b8721 Bug 1488651 [wpt PR 12838] - Set longer timeout to all tests in wpt/editing/run/, a=testonly
Automatic update from web-platform-testsSet longer timeout to all tests in wpt/editing/run/

https://web-platform-tests.org/writing-tests/testharness-api.html#harness-timeout

Bug: 877104, 877300, 698165
Change-Id: I994550295c15f9b42273abc7d1b11f47dc0bb0c7
Reviewed-on: https://chromium-review.googlesource.com/1205917
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588790}

--

wpt-commits: f8481a5d68f25f7fec983562876d38833476c8a9
wpt-pr: 12838
2018-09-10 10:12:08 +00:00
Ian Kilpatrick
f9c65b2500 Bug 1488882 [wpt PR 12854] - [LayoutNG] Add CalculateChildPercentageSize utility function., a=testonly
Automatic update from web-platform-tests[LayoutNG] Add CalculateChildPercentageSize utility function.

Fixes percentage sized floats which were previously not using the
correct percentage resolution size.

Cq-Include-Trybots: luci.chromium.try​:linux_layout_tests_layout_ng
Change-Id: Ie57909b7f452f5d59b8dfe2f899bedf253ab90ac
Reviewed-on: https://chromium-review.googlesource.com/1205200
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588959}

--

wpt-commits: 687bba2b04f6279af734274514048f9a3c74ba37
wpt-pr: 12854
2018-09-10 10:12:07 +00:00
moz-wptsync-bot
1e2b8473a8 Bug 1488836 [wpt PR 12851] - Update wpt metadata, a=testonly
wpt-pr: 12851
wpt-type: metadata
2018-09-10 10:12:06 +00:00
Stephen McGruer
05f060ecdd Bug 1488836 [wpt PR 12851] - position:sticky - add test for overflow:hidden ancestor, a=testonly
Automatic update from web-platform-testsposition:sticky - add test for overflow:hidden ancestor

Bug: 879428
Change-Id: If92ac26be1fbf71be3e4a6040b764a09bc460eac
Reviewed-on: https://chromium-review.googlesource.com/1207190
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588918}

--

wpt-commits: 29717275b4d723b1159f41b072df84a390034fd9
wpt-pr: 12851
2018-09-10 10:12:06 +00:00
moz-wptsync-bot
83db2349ec Bug 1487445 [wpt PR 12764] - Update wpt metadata, a=testonly
wpt-pr: 12764
wpt-type: metadata
2018-09-10 10:12:05 +00:00
Maja Kabus
e1d1a5e466 Bug 1487445 [wpt PR 12764] - Element::setAttribute() modified to accept TrustedTypes, a=testonly
Automatic update from web-platform-testsElement::setAttribute() modified to accept TrustedTypes

Element::setAttribute() modified to accept generic TrustedType
(StringOrTrustedHTMLOrTrustedScriptOrTrustedScriptURLOrTrustedURL)
(the name will be changed later).
This is the implementation used for setting attributes explicitly.

Added virtual GetCheckedAttributesNames() method, overriden in
HTMLXXXElement files, to return list of names of attributes that
need to have values checked against Trusted Types.

Added new implementations of Element::setAttribute(),
one per each Trusted Type, to be used internally
in HTMLElement functions.

Corrected existing TrustedXXX::GetString() implementations
to be concise.
Added TrustedScriptURL::GetString().

Bug: 739170
Change-Id: I3a9f51cbed5d75f8059141738b419cc66e529006
Reviewed-on: https://chromium-review.googlesource.com/1146563
Commit-Queue: Maja Kabus <kabusm@google.com>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588867}

--

wpt-commits: ef04d8b0f2e9a65ef82b33e03978ec0b34ec8c29
wpt-pr: 12764
2018-09-10 10:12:05 +00:00