Commit Graph

603698 Commits

Author SHA1 Message Date
Dan Minor
f92a35478e Bug 1371485 - Remove webrtc copy of gyp; r=chmanchester
Tags: #secure-revision

Bug #: 1371485

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

--HG--
extra : rebase_source : d3abc38a88e9f3a5543f2bb46726f47a75115785
2018-06-21 14:42:08 -04:00
Jan de Mooij
4f7b2378dc Bug 1474273 - Add xpc::CurrentNativeGlobal and use it instead of NativeGlobal(JS::CurrentGlobalOrNull(cx)). r=bz 2018-07-11 14:07:02 +02:00
shindli
c1bbe21ac6 Backed out 2 changesets (bug 1474651) for lint failure in /builds/worker/checkouts/gecko/toolkit/components/antitracking/test/browser/popup.html:8:126 on a CLOSED TREE
Backed out changeset f05247b25d5e (bug 1474651)
Backed out changeset acee48580902 (bug 1474651)
2018-07-11 13:57:22 +03:00
Magnus Melin
baae926f53 Bug 1456988 - don't use strict compatibility for dictionaries. r=kmag 2018-07-11 13:42:29 +03:00
Andrea Marchesini
c5c00ad639 Bug 1474651 - Grant storage access to 3rd party, tracking resource on window.open() - tests, r=me 2018-07-11 12:38:47 +02:00
Andrea Marchesini
06d77e5419 Bug 1474651 - Grant storage access to 3rd party, tracking resource on window.open(), r=ehsan 2018-07-11 12:38:47 +02:00
Dão Gottwald
a0ee9ed37a Backed out changeset e711420b85f7 (bug 1461793) for causing bug 1474538 2018-07-11 12:14:26 +02:00
shindli
7c9476695a Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : tools/tryselect/vcs.py => tools/tryselect/push.py
extra : rebase_source : a9f669ebcc49d48fda0a4eb1eab4f3b9b185eae2
2018-07-11 12:46:51 +03:00
Jan de Mooij
c542e6498e Bug 1474522 - Change PrepareScriptEnvironmentAndInvoke to always take a global object instead of an arbitrary scope. r=bholley
js-ctypse now passes the context's current global instead of the closure function it's calling.
2018-07-11 11:44:52 +02:00
Jan de Mooij
70d45075c2 Bug 1468536 - Remove Debugger.Object.prototype.global. r=jimb
With same-compartment realms, cross-compartment wrappers don't have a meaningful global associated with them because CCWs are shared by all realms in the compartment.
2018-07-11 11:44:42 +02:00
shindli
d7270e6100 Merge inbound to mozilla-central. a=merge 2018-07-11 12:42:27 +03:00
Jon Coppeard
d2c67d4dda Bug 1474605 - Tidy up LifoAlloc a little r=nbp 2018-07-11 10:31:38 +01:00
Margareta Eliza Balazs
9bea8c02ed Backed out 2 changesets (bug 1464910) for frequent wpt failures in /WebCryptoAPI/derive_bits_keys/pbkdf2.https.any.html on a CLOSED TREE
Backed out changeset 8add56efdf74 (bug 1464910)
Backed out changeset 82476a2eaac3 (bug 1464910)
2018-07-11 12:29:59 +03:00
sotaro
12703134b4 Bug 1460515 - Reuse more image keys at WebRenderImageData::UpdateImageKey() r=nical 2018-07-11 17:45:28 +09:00
Florian Quèze
b422dc7537 Bug 1474643 - make ReportPerformanceInfo's isTopLevel report the correct information, r=baku. 2018-07-11 10:41:17 +02:00
moz-wptsync-bot
2cd839f18b Bug 1473870 - [wpt-sync] Update web-platform-tests to 9f00a60d91ba84e52dac35d6e08da2050774811d, a=testonly
wpt-head: 9f00a60d91ba84e52dac35d6e08da2050774811d
wpt-type: landing
MozReview-Commit-ID: JcSrDhEIXSk
2018-07-11 08:05:55 +01:00
Luke Bjerring
4dc965087f Bug 1473812 [wpt PR 11820] - Update the IndexedDB IDL file, a=testonly
Automatic update from web-platform-testsUpdate the IndexedDB IDL file (#11820)

--

wpt-commits: 9f00a60d91ba84e52dac35d6e08da2050774811d
wpt-pr: 11820
2018-07-11 08:05:53 +01:00
Morten Stenshorne
bc15436965 Bug 1473774 [wpt PR 11817] - Correctly pick the block-end margin when calculating overflow., a=testonly
Automatic update from web-platform-testsCorrectly pick the block-end margin when calculating overflow.

We need to use the writing mode of the containing block to do this, not that of
the child, which is completely irrelevant.

Change-Id: Ia5907d9ce60d00ad453f48fb72193e2eab1aaa3e
Reviewed-on: https://chromium-review.googlesource.com/1127047
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572931}

--

wpt-commits: efea7337078c4b4e18ed9c1703870ec4e0da57eb
wpt-pr: 11817
2018-07-11 08:05:49 +01:00
Wanming Lin
83c66e796f Bug 1473557 [wpt PR 11803] - [sensors] Check that sensor frame and focused frame of same origin, a=testonly
Automatic update from web-platform-tests[sensors] Check that sensor frame and focused frame of same origin (#11803)

#11426 introduced new tests for mitigation stragegy defined in [1]
  for partial concrete sensors. This PR add the same tests for remain
  concrete sensors: Ambient Light Sensor, Geolocation Sensor, and Proximity.

  [1] https://www.w3.org/TR/generic-sensor/#focused-area
--

wpt-commits: c9c1a7d1b2306fada9bc3b469bf39ca31b4508cc
wpt-pr: 11803
2018-07-11 08:05:46 +01:00
moz-wptsync-bot
f3b86dbe88 Bug 1473361 [wpt PR 11777] - Update wpt metadata, a=testonly
wpt-pr: 11777
wpt-type: metadata
2018-07-11 08:05:43 +01:00
Yoav Weiss
bfe2891b2b Bug 1473361 [wpt PR 11777] - Make preload play nice with CSP strict-dynamic, a=testonly
Automatic update from web-platform-testsMake preload play nice with CSP strict-dynamic

Dynamically loaded preloaded scripts were not loaded when a strict-dynamic
CSP directive was used. This was because the state regarding whether the
element was parser created or not was not properly propoagated to the CSP
checks. This CL fixes that and adds tests that make sure that such scripts
can be preloaded (and that markup based preloaded scripts with no nonce cannot).

Bug: 752922
Change-Id: Ib4f3bce8583ccc9770c261d76167243033e5a112
Reviewed-on: https://chromium-review.googlesource.com/1125064
Reviewed-by: Andy Paicu <andypaicu@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Yoav Weiss <yoav@yoav.ws>
Cr-Commit-Position: refs/heads/master@{#572908}

--

wpt-commits: e6ac489577c1ac1e0dadd9bef80e63af2a2eb42a
wpt-pr: 11777
2018-07-11 08:05:41 +01:00
moz-wptsync-bot
2007eff597 Bug 1473753 [wpt PR 11815] - Update wpt metadata, a=testonly
wpt-pr: 11815
wpt-type: metadata
2018-07-11 08:05:37 +01:00
Luke Bjerring
2bd378f18c Bug 1473753 [wpt PR 11815] - Update the longtask-timing IDL file, a=testonly
Automatic update from web-platform-testsUpdate the longtask-timing IDL file (#11815)

--

wpt-commits: 5869dccf322079dbad12fa053295bdf3d04d9703
wpt-pr: 11815
2018-07-11 08:05:35 +01:00
Eric Willigers
4856af60d3 Bug 1469810 [wpt PR 11585] - SVG: transform properties affect rendering, a=testonly
Automatic update from web-platform-testsMerge pull request #11585 from ewilligers/transform-property-renders

SVG: transform properties affect rendering
--

wpt-commits: 597d73806075a5576528ae1ed0409874b55ad0f6
wpt-pr: 11585
2018-07-11 08:05:32 +01:00
moz-wptsync-bot
cee99e4de3 Bug 1469792 [wpt PR 11583] - Update wpt metadata, a=testonly
wpt-pr: 11583
wpt-type: metadata
2018-07-11 08:05:29 +01:00
Eric Willigers
ae3d97f6d5 Bug 1469792 [wpt PR 11583] - SVG: Test that z-index controls rendering order, a=testonly
Automatic update from web-platform-testsMerge pull request #11583 from ewilligers/z-index-test

SVG: Test that z-index controls rendering order
--

wpt-commits: 2b9ac244538d91c069ae6aa9273c4298b749bf99
wpt-pr: 11583
2018-07-11 08:05:27 +01:00
Sandra Sun
5f0da3edc4 Bug 1471652 [wpt PR 11691] - Change parsing order for scroll-snap-align to block/inline., a=testonly
Automatic update from web-platform-testsChange parsing order for scroll-snap-align to block/inline.

As in the newest spec[1], the parsing order for scroll-snap-align is
changed to block/inline.

[1] https://drafts.csswg.org/css-scroll-snap-1/#scroll-snap-align

Bug: 854379
Cq-Include-Trybots: luci.chromium.try :android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I70d2e9d526ffa0564e260faacdb5f79857a69324
Reviewed-on: https://chromium-review.googlesource.com/1115701
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572869}

--

wpt-commits: 0ffa5aaa7809a1957bdf260aaf55c16403fbf3fe
wpt-pr: 11691
MozReview-Commit-ID: 4HG0lm1atpj
2018-07-11 08:05:24 +01:00
moz-wptsync-bot
10e9e77a22 Bug 1467030 [wpt PR 11361] - Update wpt metadata, a=testonly
wpt-pr: 11361
wpt-type: metadata
2018-07-11 08:05:20 +01:00
Dave Tapuska
2b36496d6b Bug 1467030 [wpt PR 11361] - Add an API to query whether the window has seen a user gesture., a=testonly
Automatic update from web-platform-testsAdd an API to query whether the window has seen a user gesture.

Add a variable on the navigator object to query whether the frame has
seen a user activation ever.

The postMessage part of the proposal will be done in a separate patch,
this change is limited to just adding the object definition and
exposing it on navigator.

https://github.com/dtapuska/useractivation
https://github.com/whatwg/html/issues/1983

BUG=846858

Change-Id: I6ca4c80f4096bfae9ca13b175b46df6b4486a6dd
Reviewed-on: https://chromium-review.googlesource.com/1076979
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Rick Byers <rbyers@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572847}

--

wpt-commits: dfca5197519caef6c189636b5d80b33e3424e91e
wpt-pr: 11361
2018-07-11 08:05:18 +01:00
moz-wptsync-bot
b799cad93a Bug 1473740 [wpt PR 11814] - Update wpt metadata, a=testonly
wpt-pr: 11814
wpt-type: metadata
2018-07-11 08:05:15 +01:00
Jonathon Kereliuk
f97c8fbf0b Bug 1473740 [wpt PR 11814] - Update the gamepad IDL file, a=testonly
Automatic update from web-platform-testsUpdate the gamepad IDL file (#11814)

--

wpt-commits: a199bb326b72fc03b9c9e118c5d2ed1d61352e88
wpt-pr: 11814
2018-07-11 08:05:13 +01:00
moz-wptsync-bot
4ed5ea15da Bug 1473721 [wpt PR 11812] - Update wpt metadata, a=testonly
wpt-pr: 11812
wpt-type: metadata
2018-07-11 08:05:09 +01:00
Jonathon Kereliuk
928475bb84 Bug 1473721 [wpt PR 11812] - Update the audio-output IDL file, a=testonly
Automatic update from web-platform-testsUpdate the audio-output IDL file (#11812)

--

wpt-commits: 8e62deef3ea35789a78792e174ae26ad2aa45ff7
wpt-pr: 11812
2018-07-11 08:05:07 +01:00
moz-wptsync-bot
592bf11bc3 Bug 1473681 [wpt PR 11809] - Update wpt metadata, a=testonly
wpt-pr: 11809
wpt-type: metadata
2018-07-11 08:05:04 +01:00
jimevans
763e01e9e6 Bug 1473681 [wpt PR 11809] - Correcting expected exception type for WebDriver delete session test, a=testonly
Automatic update from web-platform-testswebdriver: correct expected exception type for delete session test (#11809)

The SessionNotCreatedException should be thrown if an attempt to create a
session fails. If a user tries to access a session that existed, but has
already been deleted, the correct exception is InvalidSessionIdException.
--

wpt-commits: dfe2b1ce939ce7b80a64d079655cfa14451e9960
wpt-pr: 11809
2018-07-11 08:05:02 +01:00
Morten Stenshorne
110450dee9 Bug 1472702 [wpt PR 11755] - [LayoutNG] Support anonymous table cells natively., a=testonly
Automatic update from web-platform-tests[LayoutNG] Support anonymous table cells natively.

Use LayoutObjectFactory when creating anonymous table cells, just
like we already do for non-anonymous cells.
We used to create legacy LayoutTableCell objects for anonymous cells,
but allowed children to be NG. This was bad, since we should only
switch engines at formatting context boundaries.

One NG change was necessary here: Only anonymous *blocks* should
inherit % resolution size. Anonymous table cells should NOT. This
prevents fast/table/percent-height-inside-anonymous-cell.html from
regressing.

This made one existing test pass. Also added a new one.
Two tests not related to tables regressed. Separate bugs reported.
Some rebaselining was also necessary, since NG handles text runs and
whitespace slightly differently.

Cq-Include-Trybots: luci.chromium.try :linux_layout_tests_layout_ng
Change-Id: Ibbb77073f1fbe1841ebf102c8bce440046f73319
Reviewed-on: https://chromium-review.googlesource.com/1122218
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572753}

--

wpt-commits: 6562ed003eebcd25d093ae52d68de28a0ae0d786
wpt-pr: 11755
MozReview-Commit-ID: 6XbTBEjeesL
2018-07-11 08:04:58 +01:00
moz-wptsync-bot
9d750a9399 Bug 1473441 [wpt PR 11792] - Update wpt metadata, a=testonly
wpt-pr: 11792
wpt-type: metadata
2018-07-11 08:04:55 +01:00
Anders Hartvoll Ruud
3bdd7e5a25 Bug 1473441 [wpt PR 11792] - [css-properties-values-api] Require PropertyDescriptor.inherits., a=testonly
Automatic update from web-platform-tests[css-properties-values-api] Require PropertyDescriptor.inherits.

As of a recent spec change, the 'inherits' field must now be set.
See https://drafts.css-houdini.org/css-properties-values-api-1/#registering-custom-properties.

This patch changes all calls to CSS.registerProperty (that are missing
'inherits') such that 'inherits' is explicitly set to 'false', which was
the old default.

In wpt/css/css-properties-values-api/register-property.html, I have added
a new test to very that we throw an exception if it's omitted.

Note that CSS.registerProperty API is an unshipped feature behind the
CSSVariables2 flag.

R=mstensho@chromium.org

Bug: 860289
Change-Id: I14aa02d40c69e0ff6d1160160a8f772cb5159092
Reviewed-on: https://chromium-review.googlesource.com/1126303
Commit-Queue: Anders Ruud <andruud@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572731}

--

wpt-commits: ac8b4953a09fa7e7d7490cea8af26ab88d061dcb
wpt-pr: 11792
2018-07-11 08:04:53 +01:00
Eric Willigers
a60b328c50 Bug 1451158 [wpt PR 10296] - Test removed interfaces and SVG* -> DOM* in Types chapter, a=testonly
Automatic update from web-platform-testsMerge pull request #10296 from dstorey/types-svg-to-dom-changes

Test removed interfaces and SVG* -> DOM* in Types chapter
--

wpt-commits: fc77ed0960d401343b4327a3dbb105276024bfb9
wpt-pr: 10296
2018-07-11 08:04:50 +01:00
Alice Boxhall
b4039cddcb Bug 1473504 [wpt PR 11799] - Match :focus-visible after programmatic focus depending on previous user interaction, a=testonly
Automatic update from web-platform-testsMatch :focus-visible after programmatic focus depending on previous user interaction

Bug: 817199
Change-Id: I930a0711153039b6fd7712371c346771c2a749a9
Reviewed-on: https://chromium-review.googlesource.com/1101310
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Alice Boxhall <aboxhall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572712}

--

wpt-commits: 889e4a1c5c53e12f62984edf2358cc88f1223e65
wpt-pr: 11799
2018-07-11 08:04:46 +01:00
moz-wptsync-bot
f153f1b92b Bug 1473362 [wpt PR 11778] - Update wpt metadata, a=testonly
wpt-pr: 11778
wpt-type: metadata
2018-07-11 08:04:43 +01:00
Tarun Bansal
5ddb474129 Bug 1473362 [wpt PR 11778] - WPT tests for http-equiv Accept-CH-Lifetime, a=testonly
Automatic update from web-platform-testsWPT tests for http-equiv Accept-CH-Lifetime

WPT tests are added for:
(i) When ACL http-equiv header is sent by a same-origin iframe.
(ii) When ACL http-equiv header is sent by a cross-origin iframe.
(iii) When ACL http-equiv header is sent by a subresource.
(iv) When ACL http-equiv header is sent on the main frame.

Change-Id: Ie4adce0c1b5983a66ce3dce7bb6b77e30f63c03a
Bug: 852484
Reviewed-on: https://chromium-review.googlesource.com/1125212
Reviewed-by: Yoav Weiss <yoav@yoav.ws>
Commit-Queue: Tarun Bansal <tbansal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572706}

--

wpt-commits: f2fdea2d681d3618c7215e9333535c9585ec7171
wpt-pr: 11778
2018-07-11 08:04:41 +01:00
Eric Willigers
87ac2ad9ed Bug 1473870 [wpt PR 11801] - [css-backgrounds] don't serialize as currentColor, a=testonly
Automatic update from web-platform-testsMerge pull request #11801 from ewilligers/currentColor

[css-backgrounds] don't serialize as currentColor
--

wpt-commits: 9d17d36902637f9800c15e09418fb84c6a0dac94
wpt-pr: 11801
2018-07-11 08:04:37 +01:00
Emilio Cobos Álvarez
6c2892e3de Bug 1473870 [wpt PR 11800] - [web-animations] Update reviewers for Web Animations tests, a=testonly
Automatic update from web-platform-testsMerge pull request #11800 from birtles/update-web-animations-reviewers

[web-animations] Update reviewers for Web Animations tests
--

wpt-commits: 30c6839e3a3e6be6967ad738df7151778f81d1f8
wpt-pr: 11800
2018-07-11 08:04:34 +01:00
Yutaka Hirano
fe1046de07 Bug 1473380 [wpt PR 11782] - Unflake wpt/fetch/security/redirect-to-url-with-credentials.https.html, a=testonly
Automatic update from web-platform-testsUnflake wpt/fetch/security/redirect-to-url-with-credentials.https.html

The test is flaky because of step_timeout. This CL removes that, and
marks the test as consistent TIMEOUT.

Bug: 846497, 626703
Change-Id: Iaa8b0e275d1d4fc9db6cb77db5399d06744fd60a
Reviewed-on: https://chromium-review.googlesource.com/1125548
Reviewed-by: Adam Rice <ricea@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572688}

--

wpt-commits: 250d8640a9c8e43a13cc02595b72097bed69695d
wpt-pr: 11782
2018-07-11 08:04:31 +01:00
Cameron McCormack
77a942d5db Bug 1473500 [wpt PR 11798] - Test that will-change:will-change has no effect., a=testonly
Automatic update from web-platform-testsTest that will-change:will-change has no effect. (#11798)

* Test that will-change:will-change has no effect.

* Add test owners.

--

wpt-commits: adaa7b65ac4a455b26720a7691278f9f992b4f03
wpt-pr: 11798
2018-07-11 08:04:28 +01:00
Alice Boxhall
687bf78a11 Bug 1473383 [wpt PR 11783] - Make focus-visible tests easier to eyeball, a=testonly
Automatic update from web-platform-testsMake focus-visible tests easier to eyeball

Bug: 817199
Change-Id: Iea196f7b7679c2edee47e5d17b0cab39d28c2aeb
Reviewed-on: https://chromium-review.googlesource.com/1125552
Commit-Queue: Alice Boxhall <aboxhall@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572681}

--

wpt-commits: 39f866d238429abfdfef054289672e9eec75530d
wpt-pr: 11783
2018-07-11 08:04:24 +01:00
Luke Bjerring
7ac22dfaa8 Bug 1473451 [wpt PR 11793] - Update the WebCryptoAPI IDL file, a=testonly
Automatic update from web-platform-testsUpdate the WebCryptoAPI IDL file (#11793)

--

wpt-commits: 7997e96e5a24c24dd6300880f1e9ba80c61886d3
wpt-pr: 11793
2018-07-11 08:04:21 +01:00
moz-wptsync-bot
aa7f58ef30 Bug 1265584 [wpt PR 11167] - [Gecko Bug 1265584] Move wptrunner marionette usage onto a single thread, a=testonly
Automatic update from web-platform-testsMove wptrunner marionette usage onto a single thread

Running marionette on a background thread is problematic in the case
that a test times out. In this case the background thread is not
terminated. If we then call into marionette again on the main thread
we may race with something that happens on the runner thread. The
marionette client isn't threadsafe, so this leads to buggy behaviour.

The simplest fx for the problem is just to move all the marionette
calls onto the main thread and instead of waiting on the main thread,
spin up a thread with a timer.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1265584
gecko-commit: 9b8539a9a2a6c20220cdcb07e19b7bf3a91c7436
gecko-integration-branch: mozilla-inbound
gecko-reviewers: ato

--
Make base_executor_kwargs arguments match executor_kwargs

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1265584
gecko-commit: b99661f1fcc56bca0176bd813c166525a4ebf2e4
gecko-integration-branch: mozilla-inbound
gecko-reviewers: ato

--
Add support for recording asserts in wptrunner

Gecko has an API for producing a non-fatal "assert". For quality
control, it should be possible to annotate the range of possible
numbers of these asserts produced during a test execution, and fail if
the actual number of asserts falls outside this range.

This patch adds assert checking by default in debug builds. It adds
two metadata properties; max-asserts and min-asserts for specifying
the range of possible asserts produced in a test.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1265584
gecko-commit: bc43ae3ccc9f203268a2b495b99515c617306c88
gecko-integration-branch: mozilla-inbound
gecko-reviewers: ato, maja_zf

--
Reverse the order of metadata iteration

wptrunner previously iterated over properties from least significant
to most significant. However this was broken since it caused
per-directory properties to override per-test properties, which wasn't
expected. Therefore we reverse the order of iteration from most
significant to least.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1265584
gecko-commit: cc1d47bf0aa7efe3e770316c9ea5d895beafcaba
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf

--
Support updating asserts with wpt-update

With support for asserts, it's also necessary to be able to update the
expected number of asserts automatically using
wpt-update. Unfortunately asserts don't work quite like test statuses,
so this involves a reasonable amount of refactoring.

For asserts the desired behaviour is that the max asserts is either
one plus the highest recorded number of asserts, or the current
value, whichever is higher, and for the minimm asserts, it's the
minumum of the current value and one lower than the lowest recorded
value (clamped at zero). Instead of creating per-platform
expectations, the code only updates the defaults (or any existing
conditional that happens to match). It's not clear that we have enough
information to meaningfully make per-platform expectations, and we
want to reduce the risk of intermittents.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1265584
gecko-commit: cc9b28394533a30a6ae33def5ce1117882653134
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf

--
Use ujson where possible for faster metadata update

Profiling shows that switching to this library means we no longer
spend most of the update time parsing json (vs 80% or so before),
making other optimisations worthwhile. This is never used in
automation (except wptsync) so availability of the library in the
internal pypi isn't a problem.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1265584
gecko-commit: 605324b9d70e822a9d25e1c6ff7ca2bcbff6085c
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf

--
Output asserts to wptreport.json

In the future we want to update metadata using the wptreport.json data, since
that's much much smaller and easier to parse. In addition, this is
required to determine if a test fully passed, so it makes sense to
store it here.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1265584
gecko-commit: b7716dedbf5a24e0e9a940a907225f7b3dd7d35c
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf

--
Add a test for wpttest metadata

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1265584
gecko-commit: b021a8615326a99919fe62b493874ac9d49441da
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf

--
Fix flake8 failures

--

wpt-commits: 7204b317f506490e35f7ae380cab1a68d5f8fdbc, d675750a83e50878810091f7d96bbd5b57b2571a, e462113b6009d39305889e5b9966c2b7b671638e, 29fc7128d5d8f1760799a9840b3d930dd60b1016, 67010d9392b66ffa97a86e7ba2a9c18baa6bdf48, af25577da115208dc870a3c76c04bad8df532e59, 642bfb6e32ad2d20a22f1597d05e7243ac042be2, ac0f20081c03047ceed14dbe4b656c590304e175, cf4bcf12ed566497addb109183c23082a3a33371
wpt-pr: 11167
2018-07-11 08:04:18 +01:00
Dominic Farolino
e2133d16c0 Bug 1473386 [wpt PR 11784] - Console: update countReset() link, a=testonly
Automatic update from web-platform-testsConsole: update countReset() link

--

wpt-commits: 11bf2ce42d5b89ebe1b881478c6b782da5e2225c
wpt-pr: 11784
2018-07-11 08:04:16 +01:00