Commit Graph

607802 Commits

Author SHA1 Message Date
Andrea Marchesini
391a97c993 Bug 1480960 - Remove a wrong WPT meta file related to performance API, r=me 2018-08-05 00:26:02 +02:00
dvarga
5938fd49ac Merge mozilla-central to mozilla-inbound a=merge 2018-08-05 01:08:04 +03:00
dvarga
929aa24075 Merged mozilla-inbound to mozilla-central a=merge 2018-08-05 00:49:28 +03:00
Jeremy Lempereur
e8a7f0b917 Bug 1481016 - Network, use inherent rust methods instead of deprecated std::ascii:AsciiExt ones, r=valentin
MozReview-Commit-ID: F1NGG0q6WdS

--HG--
extra : rebase_source : 077684b197d23f9893048c977f1d3ca2e97b5136
2018-08-04 20:24:59 +02:00
Thi Huynh
a86e16661f Bug 1480982 - Replace _dwu getter with _getBoundsWithoutFlushing method in CustomizeMode.jsm. r=dao
MozReview-Commit-ID: 8NKI6aI3FY0

--HG--
extra : rebase_source : 09b5bf75b8d2fdafdc8223dadf84e04b1d2ac8a7
2018-08-05 17:23:18 +07:00
Thi Huynh
64460e49f5 Bug 1480970 - Remove DOMWindowUtils fields from urlbarBindings.xml. r=dao
MozReview-Commit-ID: 2hq8HSUJ3nv

--HG--
extra : rebase_source : cb8e1ae64714773d822d5d96954f0b88dd15162f
2018-08-05 15:50:51 +07:00
Narcis Beleuzu
7f1248b11b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-05 12:52:39 +03:00
Sebastian Hengst
818a3f61d2 Bug 1480991 - exit mailbox.js early if wasm threads not supported. r=lth
MozReview-Commit-ID: EvN67pluT09

--HG--
extra : rebase_source : 3d680aa90623bfcd66b5bd82bcbf0d07e0a347cc
2018-08-04 23:14:51 +03:00
Noemi Erli
53426bd1e2 Backed out changeset ffb51c458444 (bug 1480054) for Reftest failures 2018-08-04 19:19:08 +03:00
Emilio Cobos Álvarez
96fbee69e0 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-04 17:10:47 +02:00
Jan de Mooij
88a1a3951c Bug 1480678 part 6 - Use CheckedUnwrap in nsContentPermissionRequestProxy::Allow. r=mrbkap 2018-08-04 15:30:40 +02:00
Jan de Mooij
e4ef338836 Bug 1480678 part 5 - Use nsScriptErrorWithStack's stack global in ConsoleListener::Observe. r=bz 2018-08-04 15:30:40 +02:00
Jan de Mooij
ff502e7cc6 Bug 1480678 part 4 - Use current global as conversion scope in the Xray case when wrapping the return value in generated bindings. r=bz 2018-08-04 15:30:40 +02:00
Jan de Mooij
ef4718f482 Bug 1480678 part 3 - Store a global in nsJSObjWrapper and use it for realm entering. r=bz
nsJSObjWrapper::mJSObj can be a cross-compartment wrapper, so we can't use it with JSAutoRealm. Store a (same-compartment) global and use that instead.
2018-08-04 15:30:40 +02:00
Jan de Mooij
d2d99e4725 Bug 1480678 part 2 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in dom/xbl. r=mrbkap 2018-08-04 15:30:39 +02:00
Jan de Mooij
fca3077b1c Bug 1480678 part 1 - Remove unnecessary realm entering and wrapping code in ModuleGetter. r=kmag
mozJSComponentLoader::Import wraps its return value in the current compartment.
2018-08-04 15:30:39 +02:00
Florian Quèze
b65daa1dca Bug 1260036 - changing the tab selection several times in a row should flush layout at most once per refresh driver tick, rather than once per tab, r=Dao. 2018-08-04 13:24:56 +02:00
Noemi Erli
23c8a3a9f3 Backed out changeset 1e9ecba54e7b (bug 1348273) for failing on widget/tests/test_bug1123480.xul 2018-08-04 12:39:40 +03:00
Noemi Erli
0cacb5f9cb Backed out changeset acde419e016e (bug 1475573) for breaking Android builds 2018-08-04 10:12:40 +03:00
Andrea Marchesini
6a3d862277 Bug 1462879 - PerformanceNavigationTiming must be notified correctly - part 3 - Update the channel properties before notify, r=valentin 2018-08-04 08:54:58 +02:00
Andrea Marchesini
dfba5ad9b9 Bug 1462879 - PerformanceNavigationTiming must be notified correctly - part 2 - getEntryByName, r=valentin 2018-08-04 08:54:58 +02:00
Andrea Marchesini
8ab9f07dd8 Bug 1462879 - PerformanceNavigationTiming must be notified correctly - part 1 - notify, r=smaug, r=valentin 2018-08-04 08:54:58 +02:00
Jesse Schwartzentruber
ec180b72d0 Bug 1475573 - Create --enable-fuzzing debug build job for Android x86 firefox. r=froydnj,nalexander
Reviewers: froydnj, nalexander

Reviewed By: froydnj, nalexander

Subscribers: froydnj

Bug #: 1475573

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

--HG--
extra : rebase_source : fcad543ea727e8974dc6aaade92053fa0008c5ff
extra : histedit_source : 0a8b60693d64fef0aefd985d9f3108cf77890e94
2018-08-04 09:46:02 +03:00
moz-wptsync-bot
ba472efcdb Bug 1480918 - [wpt-sync] Update web-platform-tests to ec8570ebda567074ecd4982253f46931be5eb03b, a=testonly
wpt-head: ec8570ebda567074ecd4982253f46931be5eb03b
wpt-type: landing
2018-08-04 05:39:07 +00:00
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
Martin Stransky
4a1972633f Bug 1478454 - [Linux/WebRender] Create glxContext with GLX visual chosen at nsWindow::Create(), r=jgilbert
We need to use the same visual for X drawable and glxContext, otherwise we get BadMatch when we try to make the glxContext current. The correct glx visual is already configured at nsWindow::Create() so just use it.

MozReview-Commit-ID: 78IIfiwOnsf

--HG--
extra : rebase_source : 65ed3f1faf113a7125abf2cb1d0b40c41803f825
2018-08-03 16:20:09 +02:00