Commit Graph

607759 Commits

Author SHA1 Message Date
moz-wptsync-bot
529004aa68 Bug 1471797 [wpt PR 11699] - Update wpt metadata, a=testonly
wpt-pr: 11699
wpt-type: metadata
2018-08-04 05:39:07 +00:00
Luke Bjerring
29d981546e Bug 1471797 [wpt PR 11699] - Auto-update the webrtc-stats IDL file, a=testonly
Automatic update from web-platform-testsAdd the webrtc-stats IDL file + test (#11699)

--

wpt-commits: ec8570ebda567074ecd4982253f46931be5eb03b
wpt-pr: 11699
2018-08-04 05:39:07 +00:00
Philip Jägenstedt
68f7e17f76 Bug 1480408 [wpt PR 12276] - Add a default name ("idl_test setup") for idl_test, a=testonly
Automatic update from web-platform-testsAdd a default name ("idl_test setup") for idl_test (#12276)

--

wpt-commits: 70413d8d6bf4bf581e52bc3a5edddd205fbd7a41
wpt-pr: 12276
2018-08-04 05:39:06 +00:00
moz-wptsync-bot
2a535354d6 Bug 1475344 [wpt PR 11947] - Update wpt metadata, a=testonly
wpt-pr: 11947
wpt-type: metadata
2018-08-04 05:39:06 +00:00
Luke Bjerring
093985a569 Bug 1475344 [wpt PR 11947] - Update media-capabilities IDL + test, a=testonly
Automatic update from web-platform-testsUpdate media-capabilities IDL + test (#11947)

--

wpt-commits: e90038bd29b39c5e4846e08762de475a48d64910
wpt-pr: 11947
2018-08-04 05:39:05 +00:00
moz-wptsync-bot
994649d065 Bug 1480360 [wpt PR 12272] - Update wpt metadata, a=testonly
wpt-pr: 12272
wpt-type: metadata
2018-08-04 05:39:05 +00:00
Luke Bjerring
ce0fe6ff0c Bug 1480360 [wpt PR 12272] - [idlharness.js] Catch IdlArray.test bugs better, a=testonly
Automatic update from web-platform-tests[idlharness.js] Catch IdlArray.test bugs better (#12272)

When a bug exists in `IdlArray.test`, `idl_test`'s `catch` flow is incorrectly re-attempting to run the tests (causing a double-up of the tests). See https://github.com/web-platform-tests/wpt/issues/11700.

This changes the flow to call `IdlArray.test` in a `finally` (regardless of whether any setup errors have occurred), preventing the possibility of double-ups when bugs in `IdlArray.test` occur.

Also fixes the bug that highlighted this problem (passing a `null` object when the interface contains a `toJSON` operation).
--

wpt-commits: e9f3244421c353a63142dd9742e0ed6edc509cc8
wpt-pr: 12272
2018-08-04 05:39:04 +00:00
Luke Bjerring
f61e109ebe Bug 1480410 [wpt PR 11945] - Update the navigation-timing IDL file, a=testonly
Automatic update from web-platform-testsUpdated navigation-timing IDL file (#11945)

--

wpt-commits: 4a15e98c1339681493dff207de2c69ea29efa602
wpt-pr: 11945
2018-08-04 05:39:04 +00:00
Trevor Rowbotham
a20affe8b6 Bug 1479888 [wpt PR 12248] - [URL] Add additional tests for URLSearchParams.sort(), a=testonly
Automatic update from web-platform-testsURL: additional tests for URLSearchParams's sort()

This adds the following tests for:

* Parameter names with more than one character.
* Parameter names with identical characters, but differing lengths.
* Parameter names that are the empty string.
* Parameter names that contain characters with the same number of code units.
--

wpt-commits: 7cee0d238c42272d48fd06935c5abcf1e490b394
wpt-pr: 12248
2018-08-04 05:39:03 +00:00
moz-wptsync-bot
9a1cefe402 Bug 1475767 [wpt PR 11978] - Update wpt metadata, a=testonly
wpt-pr: 11978
wpt-type: metadata
2018-08-04 05:39:02 +00:00
Luke Bjerring
846e311cfc Bug 1475767 [wpt PR 11978] - Update the CSS-Parser-API IDL file, a=testonly
Automatic update from web-platform-testsUpdate the CSS-Parser-API IDL file (#11978)

--

wpt-commits: c82a9f16b158508dd100617352c6e2e60d0910d0
wpt-pr: 11978
2018-08-04 05:39:02 +00:00
moz-wptsync-bot
55f97c02a7 Bug 1479471 [wpt PR 12198] - Update wpt metadata, a=testonly
wpt-pr: 12198
wpt-type: metadata
2018-08-04 05:39:01 +00:00
Adam Rice
4ef0dc6d52 Bug 1479471 [wpt PR 12198] - Update buffered amount when async callbacks are called, a=testonly
Automatic update from web-platform-testsUpdate buffered amount when async callbacks are called

If an asynchronous callback is called, it means we must have returned to
the start of the event loop. Ensure that any consumed bufferedAmount is
reflected in that case. Do not reflect bufferedAmount if the EventQueue
is paused, as that means that we may be in a nested event loop.

Add a unit test for this case. Also add a unit test for normal
bufferedAmount behaviour, as there wasn't one.

Add a web platform test for what happens if a sync XHR is performed
between calling send() and looking at bufferedAmount.

BUG=856651

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

--

wpt-commits: 80f89c9af6cda0d80faf7f9b1c487eaff7205059
wpt-pr: 12198
2018-08-04 05:39:01 +00:00
moz-wptsync-bot
b8bc641db9 Bug 1478278 [wpt PR 12178] - Update wpt metadata, a=testonly
wpt-pr: 12178
wpt-type: metadata
2018-08-04 05:39:00 +00:00
Adam Rice
865cdc5814 Bug 1478278 [wpt PR 12178] - Update ReadableStream to match standard, a=testonly
Automatic update from web-platform-testsUpdate ReadableStream to match standard

Apply standard changes to ReadableStream up to standard version
51227372cc84846bdcf68312724c4cac6a4b9e58. With this change, Blink's
implementation once again passes all non-byte-stream ReadableStream
tests.

Update test expectations to match.

Changes:

* Use null prototypes for the objects returned by
  ReadableStreamDefaultReaderRead when they consumed internally by
  pipeTo(), tee() or fetch. This is the fix for standard issue
  https://github.com/whatwg/streams/issues/933 "Setting
  Object.prototype.then permits interfering with pipeTo() internals".
* In pipeTo() complete all pending writes when readable stream is
  errored.
* Change ordering of accessing strategy parameters to match standard.

Non-user visible changes:

* Use Object.assign() to be more concise when modifying the binding
  object in ReadableStream.js and WritableStream.js.

WPT changes:

* Update the expectations in response-stream-with-broken-then.any.js
  since interference is no longer possible.
* Add extra tests to response-stream-with-broken-then.any.js for the
  arraybuffer -> text case which should have been broken in Chrome but
  wasn't, and the arraybuffer -> stream case.
* Fix bugs in streams/piping/then-interception.js which are only
  apparent when it passes. In particular, delete Object.prototype.then
  even when it is not called.

BUG=866388

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

--

wpt-commits: 4e98c23a16efc0eb6ea4c305e3f48def3cac4643
wpt-pr: 12178
2018-08-04 05:39:00 +00:00
Hiroshige Hayashizaki
c12b9a2968 Bug 1479949 [wpt PR 12250] - Add tests for worker's URLs intercepted by ServiceWorker, a=testonly
Automatic update from web-platform-testsAdd tests for worker's URLs intercepted by ServiceWorker

This CL checks worker global scopes' URLs (self.location) in the
cases where worker top-level scripts are intercepted by
ServiceWorkers.

The test failure introduced in this CL will be fixed by
https://chromium-review.googlesource.com/1153598.

Bug: 861564
Change-Id: Ia92e1de697b5b9c6a61ab8e5c5abcaaf6dcee777
Reviewed-on: https://chromium-review.googlesource.com/1157220
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580041}

--

wpt-commits: aaaf24402c22c34f95c676f8392f2351a433842d
wpt-pr: 12250
2018-08-04 05:38:59 +00:00
moz-wptsync-bot
2b3b57f354 Bug 1480243 [wpt PR 12264] - Update wpt metadata, a=testonly
wpt-pr: 12264
wpt-type: metadata
2018-08-04 05:38:59 +00:00
Joshua Bell
632aeff6a3 Bug 1480243 [wpt PR 12264] - Cookie Store API: Add test showing BOMs are not stripped, a=testonly
Automatic update from web-platform-testsCookie Store API: Add test showing BOMs are not stripped

The cookie RFC[1] does not define an encoding for cookie names/values;
they are treated as a sequence of octets.

The Cookie Store spec[2] mandates treating the octets as UTF-8 encoded.
When decoding octet sequences into strings, the decode should be done
without treating a leading U+FEFF as a BOM. Add a test to verify this.

[1] https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-02
[2] https://wicg.github.io/cookie-store/

Bug: 729800
Change-Id: I23b7eb82b35862b8797a203ae6ea86cbd69001d2
Reviewed-on: https://chromium-review.googlesource.com/1159336
Reviewed-by: Victor Costan <pwnall@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579985}

--

wpt-commits: 2c4d441493daa04906619978f4d1e9838d6b12d1
wpt-pr: 12264
2018-08-04 05:38:58 +00:00
Domenic Denicola
30ad2a8fe9 Bug 1479573 [wpt PR 6334] - Add tests for self.queueMicrotask(), a=testonly
Automatic update from web-platform-testsAdd tests for self.queueMicrotask()

Follows https://github.com/whatwg/html/pull/2789.
--

wpt-commits: 0c3bed38df6d9dcd1441873728fb5c1bb59c92df
wpt-pr: 6334
2018-08-04 05:38:58 +00:00
Timothy Gu
b5cb9765aa Bug 1480185 [wpt PR 12262] - HTML: Capture event handler removal errors correctly, a=testonly
Automatic update from web-platform-testsHTML: Capture event handler removal errors correctly

--

wpt-commits: 74938e820dbb52a9fa50b6a2ff906c7187e547d5
wpt-pr: 12262
2018-08-04 05:38:57 +00:00
Josh Matthews
6a1bb513ae Bug 1480170 [wpt PR 12261] - servodriver: Use config property instead of kwarg for browser kwargs., a=testonly
Automatic update from web-platform-testsservodriver: Use config property instead of kwarg for browser kwargs.
--

wpt-commits: d769d0a84a3e6d941775fb2479f6457e9ddb8d36
wpt-pr: 12261
2018-08-04 05:38:57 +00:00
L. David Baron
7922a735c6 Bug 1480135 [wpt PR 12258] - Sync Mozilla tests as of 2018-08-01, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/af6a7edf0069549543f2fba6a8ee3ea251b20829 . (#12258)

This contains a single change, from [bug 1473047](https://bugzilla.mozilla.org/show_bug.cgi?id=1473047), by @iyermihir, reviewed by @dholbert.
--

wpt-commits: c0ef9d68c8c5ceb8802a5a2ede1c3c5b3ecbcae8
wpt-pr: 12258
2018-08-04 05:38:56 +00:00
moz-wptsync-bot
a43961f691 Bug 1480157 [wpt PR 9779] - Update wpt metadata, a=testonly
wpt-pr: 9779
wpt-type: metadata
2018-08-04 05:38:55 +00:00
Luke Bjerring
1bdb3ffb1b Bug 1480157 [wpt PR 9779] - Update the dom IDL file, a=testonly
Automatic update from web-platform-testsUpdate the dom IDL file (#9779)

--

wpt-commits: 04e4fdae473c5f969b54404f18c586f54039363b
wpt-pr: 9779
2018-08-04 05:38:55 +00:00
Philip Jägenstedt
c595cdda10 Bug 1478998 [wpt PR 12211] - Fold "Unscopable handled correctly" tests into the attribute/operation tests, a=testonly
Automatic update from web-platform-testsFold "Unscopable handled correctly" tests into the attribute/operation tests (#12211)

The `[Unscopable]` checks were added here:
https://github.com/web-platform-tests/wpt/pull/9490

However, this extended attribute is very rarely used, currently only
in DOM and Fullscreen. And yet, every property and operation generates
a test like this, which is normally passing, example:
https://wpt.fyi/results/compat/interfaces.any.html

Just fold these into the existing tests for attributes/operations like
the many other aspects already covered. Because of the
"do_interface_attribute_asserts must be the last thing" problem,
there's a change of structure for the attribute test.
--

wpt-commits: 2f8b11a39d4da8d729903b1b30557a875d5bf76a
wpt-pr: 12211
2018-08-04 05:38:54 +00:00
Nicholas Nethercote
7b988956cc Bug 1480650 - Remove mozilla::HashTable::Stats. r=luke
I bet nobody has used them in years. The use of ad hoc profiling (printfs plus
post-processing with a tool like https://github.com/nnethercote/counts) is
generally a better approach.

Bug 1179657 did likewise for PLDHashTable.

--HG--
extra : rebase_source : 57ab26c62f2f1eff2eec827564a3c3ff0af12f01
2018-08-03 11:59:26 +10:00
Nicholas Nethercote
5c9b1f5c39 Bug 1480323 - Reorder methods in Hash{Set,Map}. r=luke
And add comments delimiting different operation groups. Together these changes
make Hash{Set,Map} much easier to navigate.

--HG--
extra : rebase_source : 21a7da92f898b318a24085b5f0885da85aa3afd1
2018-08-03 10:25:29 +10:00
Csoregi Natalia
c37c23c5cc Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-06 02:02:32 +03:00
Brian Hackett
f1057a31c3 Bug 1479058 Part 12 - Test changes, r=jlast.
--HG--
extra : rebase_source : bf1d9757dc94d121c18ccc47787f1e6bd3c7b363
2018-08-02 23:34:45 +00:00
Brian Hackett
622151a7e5 Bug 1479058 Part 11 - Server/client web console changes for replaying and time warp support, r=nchevobbe.
--HG--
extra : rebase_source : 2634d4f036f510fc7c70a8917b6d8202aabbb597
2018-08-02 23:33:24 +00:00
Brian Hackett
6199a3a415 Bug 1479058 Part 10 - Add console message support to ReplayDebugger, r=jimb.
--HG--
extra : rebase_source : e2c91fa0b88adef6bbd24749610d47de7c10c5f7
2018-08-02 23:32:52 +00:00
Brian Hackett
f9e0de05ea Bug 1479058 Part 9 - Add breakpoint kind for console messages, r=mccr8.
--HG--
extra : rebase_source : 9c7e5ea2cebbcc81f7bb563e470b832fde4f8ffc
2018-08-02 23:32:00 +00:00
Brian Hackett
8eb62dd065 Bug 1479058 Part 8 - Store time warp target on nsIScriptError, r=smaug.
--HG--
extra : rebase_source : 1faf5a0c0ead57f5dfb24c7450873977bf41a022
2018-08-02 23:31:29 +00:00
Brian Hackett
49770ee0cf Bug 1479058 Part 7 - Store time warp target on Error objects, r=jandem.
--HG--
extra : rebase_source : b848b53d363797e2894630b4f9dac59a51481f6d
2018-08-02 23:30:54 +00:00
Brian Hackett
9844ce064b Bug 1479058 Part 6 - ReplayDebugger and server/client changes to support time warps, r=jimb.
--HG--
extra : rebase_source : 5972ae72f0601e3daa2506e1be3844dc77e3bafc
2018-08-02 23:30:19 +00:00
Brian Hackett
cb73c42b70 Bug 1479058 Part 5 - ReplayDebugger cleanup, r=jimb.
--HG--
extra : rebase_source : 7a95159485386cd4fdf0b3d1fabc33da2ab7866d
2018-08-02 23:29:38 +00:00
Brian Hackett
5913321baf Bug 1479058 Part 4 - RecordReplayControl changes for time warping, r=mccr8.
--HG--
extra : rebase_source : dbdd117c0f5e7979899a3c87c9ef04e7f9010dc1
2018-08-02 23:29:05 +00:00
Brian Hackett
f712bae6eb Bug 1479058 Part 3 - Add TimeWarp() method and forced pause breakpoints, r=mccr8.
--HG--
extra : rebase_source : c338fadca5b14213695356f834ede9c1be0cd90d
2018-08-02 23:28:34 +00:00
Brian Hackett
f42f9a7314 Bug 1479058 Part 2 - Add RunToPoint message and handling in child, r=mccr8.
--HG--
extra : rebase_source : f1e7b1bbe92bc2aa632dbaaadf09fb7714763e9e
2018-08-02 23:27:39 +00:00
Brian Hackett
a1556089f7 Bug 1479058 Part 1 - Add NewTimeWarpTarget() API, r=mccr8.
--HG--
extra : rebase_source : 556161b281c21b19f972854b5c3b31e302d0dd26
2018-08-02 23:26:25 +00:00
Brian Hackett
18b12586ae Bug 1480994 - Only run web replay test on nightly builds, r=aryx.
--HG--
extra : rebase_source : bd4181c608bae8157d436f988c5f2bb4548765f8
2018-08-04 21:41:41 +00:00
Makoto Kato
5074358d1a Bug 1480699 - Use IPDL's promise instead in PRemoteSpellcheckEngine. r=masayuki
Summary:
When implementing async call for PRemoteSpellcheckEngine, IPDL doesn't support
Promise.  But now, IPDL supports it, so I should convert to it to avoid
unexpected leak.

And SetDictionary supports empty string as parameter to clear dictionary.  So
SetDictionaryFromList should support empty string to clear it to remove
SetDictionary sync call.

Reviewers: masayuki

Tags: #secure-revision

Bug #: 1480699

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

--HG--
extra : rebase_source : 17fe76e6484f2af4021fe0d963e4fc47f53bebd8
2018-07-31 16:36:43 +09:00
Emilio Cobos Álvarez
85dc56828a Bug 1480054: Restrict XUL tree pseudos on nightly and early-beta. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D2598

MozReview-Commit-ID: I1dUPuGKkyX
2018-08-06 10:36:49 +02:00
David Walsh
fe0a21f177 Bug 1478162 - NetMonitor - Break to two rows earlier to prevent HAR overflow r=pbro 2018-07-26 12:36:55 -05:00
Jorg K
560fb9acc5 Bug 1480890 - disable test test_system_update_enterprisepolicy.js for Thunderbird again. r=aswan 2018-08-03 13:34:00 +03:00
Kris Maglione
06e3d470ae Bug 1357487: Enable OOP extensions by default on all platforms. r=aswan
MozReview-Commit-ID: L2Pm1frQbmo

--HG--
extra : source : e5423d29aaf0b711e02b68b7340a2297dd6bfe16
extra : intermediate-source : ef1550969466fbe9049ee922735f020af82f66d6
2018-07-25 10:29:20 -07:00
Jason Laster
9040e90d66 Bug 1480838 - Update Debugger Frontend v78. r=dwalsh 2018-08-03 18:33:37 -04:00
Dorel Luca
33b000ddd1 Merge mozilla-central to mozilla-inbound 2018-08-04 01:31:40 +03:00
Dorel Luca
5c509fd70a Backed out changeset 8c763e66ba84 (bug 1397297) for frequent mochitest failures. a=backout 2018-08-04 01:27:15 +03:00
Dorel Luca
e10cc6aac4 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 8265ad85fc5376a71af7ed3afe8463b7178286f3
2018-08-04 01:08:25 +03:00