Commit Graph

607549 Commits

Author SHA1 Message Date
Boris Zbarsky
dbd89b9ce3 Bug 1479544. Remove nsIXULChromeRegistry::ReloadChrome. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D2699
2018-08-03 15:14:43 +00:00
Thi Huynh
76ff3351cf Bug 1478626 - Remove unused Browser:NextTab and Browser:PrevTab commands. r=dao 2018-08-03 00:04:04 +07:00
rugk
021dd81879 Bug 1474095 - "Addon-tip-icon for web-ext in about:debugging cut (at low window width)" [c=c4609174]. r=janx 2018-08-03 04:18:00 +03:00
André Bargull
ec9dce89df Bug 1478503: Shrink capacity when modifying length on a non-extensible array. r=jandem 2018-08-02 13:03:04 -07:00
ISHIKAWA, Chiaki
4293b59efc Bug 1479950: Bug Fixes the incorrect use of && in place of &. r=lsalzman 2018-07-31 21:17:00 +03:00
Brian Hackett
84b5e3998c Bug 1465491 - Add one web replay test.
--HG--
extra : rebase_source : 0d4b4e439a1fa26838f5feb7251499a66fdc8330
2018-08-02 23:17:06 +00:00
Brian Hackett
239efbe15d Bug 1480426 - Avoid allowing memory changes when restoring checkpoints, r=froydnj.
--HG--
extra : rebase_source : c6bfdf52e467cfd2ca13822501941a2a7b874f35
2018-08-02 17:18:17 +00:00
Bogdan Tara
2805a16972 Backed out changeset ef1550969466 (bug 1357487) caused perf regressions & author didn't justified them CLOSED TREE 2018-08-03 16:15:42 +03:00
Marco Castelluccio
09b1f30422 Bug 1475459 - Move beforeTestSync call after setting _globalProperties. r=sparky
beforeTestSync uses an asynchronous operation that takes a while to finish.
In the meantime, it's very likely that the browser will run some tasks
scheduled to run when idle, which cause XPCOMUtils mock in browser-test.js
to be used, which references _globalProperties.

--HG--
extra : rebase_source : 3d75068a43cad4e87317792c67b6fe5fd483f0c5
2018-08-03 10:34:00 +02:00
Andrea Marchesini
b1e6d36a31 Bug 1462883 - Update PerformanceTimingData::mReportCrossOriginRedirect in SetPropertiesFromHttpChannel, r=bz 2018-08-03 13:08:32 +02:00
Andrea Marchesini
79ff5f69ff Bug 1462883 - Performance object must be reset when the inner window changes document - WPT, r=annevk 2018-08-03 13:08:31 +02:00
Andrea Marchesini
4c36f8e23c Bug 1462883 - Performance object must be reset when the inner window changes document, r=bz 2018-08-03 13:08:30 +02:00
Lars T Hansen
26b46f82a4 Bug 1479718 - Allow Wasm to prevent a TypedObject constructor from being invoked from JS. r=till
TypedObjects that map Wasm structs with fields that have Ref type are
not yet constructible from JS because the type constraint can't be
honored.  So for now, make it possible for Wasm to flag such structs
as unconstructible-from-JS.

--HG--
extra : rebase_source : aab9d7f2ba7b4c1ff7875d184b86bb0ae3e32413
extra : intermediate-source : 97c72ae6e843fe1cb712bd4855d174fc711c3cb0
extra : source : f59588ebc5c4ff06bfb437896147e07cb856e355
2018-07-31 10:45:55 +02:00
Lars T Hansen
27be8bc412 Bug 1478982 - Allow TypedObject fields to be flagged immutable. r=till
This allows internal clients (notably Wasm) to flag TO fields as
immutable; we need this both to provide immutability for fields that
are declared immutable in wasm structs, and to temporarily avoid the
need for type constraints on assignments to Ref-typed pointer fields.

--HG--
extra : rebase_source : 19d1b1bf81396ca305b699cda0277fd8e41f5fe9
extra : intermediate-source : d219c9587f920a0f5924dbdab3e8cf5dfecf3f75
extra : source : f1161dd31ac1cf6f050315d04b978b9d6c0c824a
2018-07-27 13:33:44 +02:00
Lars T Hansen
39bda38c95 Bug 1468524 - Fix instanceof for TypedObject 'struct' instances. r=till
Struct types need to appear to be callable, or some paths through the
engine will not think that they are constructors (since constructors
are callable).

They are not *actually* callable however; the call implementation
always throws.

--HG--
extra : rebase_source : a0db93050943bda3348887c8a63a374e19158d41
extra : source : 437198f32338d69602f3375f94a996f3d880fa17
2018-07-31 10:48:26 +02:00
Lars T Hansen
37d3b18077 Bug 1480012 - Generalize JS shell mailbox to Wasm memories and modules. r=luke
In the old days we could only share a SharedArrayBuffer, but now we
can also share WasmMemory and WasmModule objects.  Rename the shell's
get/setSharedArrayBuffer as get/setSharedObject and generalize them to
handle the new types.

Leave the old names in place as aliases of the new names.

We rename /some/ uses of get/setSharedArrayBuffer in existing test
cases, but leave uses in test262 alone; we need to upstream those more
carefully.

--HG--
extra : rebase_source : 5ca04306a739249a70fc4aa8734b08e16d62f7d4
extra : source : fcd471c23cf3c1374541df766fd5aea0628fb2a5
2018-08-01 13:21:06 +02:00
Bogdan Tara
4759ec60f7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-03 13:28:32 +03:00
Bogdan Tara
f2cb75b28c Merge inbound to mozilla-central. a=merge 2018-08-03 13:16:27 +03:00
Mike Hommey
5d438c8022 Bug 1478995 - Fix gradle-dependencies bustage for nodejs not found. CLOSED TREE
--HG--
extra : source : 228be4ef7ed11764f008c6fc904089f3ed5f130e
2018-08-03 12:44:27 +03:00
moz-wptsync-bot
ce39c662a2 Bug 1480352 - [wpt-sync] Update web-platform-tests to 8e668a6b63e5dbb68304c182fdc1f7b4e6edaf96, a=testonly
wpt-head: 8e668a6b63e5dbb68304c182fdc1f7b4e6edaf96
wpt-type: landing
2018-08-03 09:34:10 +00:00
moz-wptsync-bot
8230dd9281 Bug 1478947 [wpt PR 12201] - Update wpt metadata, a=testonly
wpt-pr: 12201
wpt-type: metadata
2018-08-03 09:34:09 +00:00
Timothy Gu
127f26036d Bug 1478947 [wpt PR 12201] - HTML: tests for new event handler spec, a=testonly
Automatic update from web-platform-testsHTML event handlers: More uniform naming convention

--
HTML event handlers: Use .window.js instead of .html for some files

--
HTML event handlers: Use IDL parser for list of event handlers

--
HTML event handlers: Use synchronous test() where able

--
HTML event handlers: Additionally test unshadowed event handlers

--
HTML: tests for new event handler spec

See: https://github.com/whatwg/html/pull/3850

--
HTML event handlers: Test document.createElement("body")

--

wpt-commits: db24506f8af9048c0a80d89c9981ef445d6c3af9, 3e273bc58ae2af40f4b00b514f2fd6d604ffc98d, 8bf45a39c3435737ebc862904af245d27b68efce, 776041862ca0cab7a8dd10e29361dbf3359a0b2f, fa58a12fc565fc152bff196e803fd9290dfa1bc7, fc2eba9d6f0a860c0db1457852124e320fd8d499, 8e668a6b63e5dbb68304c182fdc1f7b4e6edaf96
wpt-pr: 12201
2018-08-03 09:34:09 +00:00
Timothy Gu
6bdeb33c8e Bug 1479661 [wpt PR 12240] - HTML: Add bailout order checks for document.open(), a=testonly
Automatic update from web-platform-testsHTML: Add bailout order checks for document.open() (#12240)

--

wpt-commits: 1bd726d6afa5cd98d1104c6da85db94eda3d30ee
wpt-pr: 12240
2018-08-03 09:34:08 +00:00
Luke Bjerring
f57d410b4b Bug 1480154 [wpt PR 9777] - Update the cssom-view IDL file, a=testonly
Automatic update from web-platform-testsUpdate the cssom-view IDL file (#9777)

--

wpt-commits: 54401a0a9d7a99225daf43b8e899b65744991e5f
wpt-pr: 9777
2018-08-03 09:34:07 +00:00
moz-wptsync-bot
80413e1b16 Bug 1478002 [wpt PR 12157] - Update wpt metadata, a=testonly
wpt-pr: 12157
wpt-type: metadata
2018-08-03 09:34:07 +00:00
Dave Tapuska
8fa55b7571 Bug 1478002 [wpt PR 12157] - Add UserActivation member to MessageEvent, a=testonly
Automatic update from web-platform-testsAdd UserActivation member to MessageEvent

Add an API to query user activation state on a posted message event.
Add includeUserActivation attribute on the WindowPostMessageOptions so
that indication of user gesture behavior can be opted in.

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

BUG=846858
TBR=mkwst@chromium.org

Change-Id: I2459b21004afbe00c41ddf992533c60728768bb4
Reviewed-on: https://chromium-review.googlesource.com/1131558
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579398}

--

wpt-commits: 8a1d5c110779c525257fe2305ba7a21ae6e969e6
wpt-pr: 12157
2018-08-03 09:34:06 +00:00
moz-wptsync-bot
89fca6ce74 Bug 1479395 [wpt PR 12225] - Update wpt metadata, a=testonly
wpt-pr: 12225
wpt-type: metadata
2018-08-03 09:34:06 +00:00
Luke Bjerring
019ffd7822 Bug 1479395 [wpt PR 12225] - Clean up IDL tests which reference SVG, a=testonly
Automatic update from web-platform-testsClean up IDL tests which reference SVG (#12225)

--

wpt-commits: d533edcd109bf4084608515766d7744f9957633a
wpt-pr: 12225
2018-08-03 09:34:05 +00:00
pyup.io bot
97bc1c6340 Bug 1471069 [wpt PR 11662] - Update selenium to 3.13.0, a=testonly
Automatic update from web-platform-testsUpdate selenium to 3.13.0 (#11662)

--

wpt-commits: 054efd676db7f9770706d68b86d282b2796fba8a
wpt-pr: 11662
2018-08-03 09:34:05 +00:00
C. Scott Ananian
86fb3ba04a Bug 1479045 [wpt PR 12213] - Avoid using the JavaScript reserved word arguments, a=testonly
Automatic update from web-platform-testsAvoid using the JavaScript reserved word `arguments`

ES6 complains if the JS reserved word `arguments` is used in strict
mode.  Rename variable to avoid issues --- especially when test cases
are reused with other test harnesses.

--

wpt-commits: fe830a9732f4748d37a932d1b2c813e2ed47d491
wpt-pr: 12213
2018-08-03 09:34:04 +00:00
Luke Bjerring
939c51d877 Bug 1479729 [wpt PR 12242] - Clean up the BackgroundSync IDL test, a=testonly
Automatic update from web-platform-testsClean up the BackgroundSync IDL test (#12242)

--

wpt-commits: f1d7391442edcdb97bbf968b2ff631c387e3a8ef
wpt-pr: 12242
2018-08-03 09:34:03 +00:00
Ms2ger
2196130aad Bug 1472690 [wpt PR 11753] - Mark some tests as failing in python 3.0-3.5., a=testonly
Automatic update from web-platform-testsMark some tests as failing in python 3.0-3.5. (#11753)

The json.loads API did not accept binary strings in these python versions.
This change does not affect the testing in CI, but helps with certain older
local setups.
--

wpt-commits: 03a5a5cb81912613e15f268a20cfdf919635fe4d
wpt-pr: 11753
2018-08-03 09:34:03 +00:00
moz-wptsync-bot
7e1592bcd8 Bug 1479454 [wpt PR 12229] - Create a dictionary of {item_type: ManifestItemClass}, a=testonly
Automatic update from web-platform-testsCreate a dictionary of {item_type: ManifestItemClass}

Sometimes we need to know all the types of test that exist. Typically
this has either been done by hardcoding a list or using some custom
approach to finding all the subclasses of the original. Instead it
makes sense to have the classes register themselves on creation so
that we can simply look in the registry for the types.

To do this we use a cusom metaclass that first constucts the class
object and then adds it to the registry.

--

wpt-commits: 76d1afcb887b5911e0151ff0be991a267d70d0a1
wpt-pr: 12229
2018-08-03 09:34:02 +00:00
moz-wptsync-bot
5ed4d2ba7e Bug 1479733 [wpt PR 12243] - Extend coverage reporting to wptserve, a=testonly
Automatic update from web-platform-testsRemoved wptserve from the omit list

--

wpt-commits: 6f60df3958baac7c632ce7f1bfadc58ceb880276
wpt-pr: 12243
2018-08-03 09:34:02 +00:00
moz-wptsync-bot
e83cd252cf Bug 1479491 [wpt PR 12234] - Update wpt metadata, a=testonly
wpt-pr: 12234
wpt-type: metadata
2018-08-03 09:34:01 +00:00
Peter Beverloo
772bacb63f Bug 1479491 [wpt PR 12234] - Migrate Background Fetch layout tests to WPT, a=testonly
Automatic update from web-platform-testsMigrate Background Fetch layout tests to WPT

This CL migrates our Background Fetch layout tests to our WPT suite, and
adds coverage in various new areas, together with a few minor bug fixes.

Tests related to initializing the Service Worker events haven't been
included as the event model has just been updated. New tests will be
added based on that soon.

One file which was removed without being migrated was
"credentials-in-url.https.window.js". This was testing the Fetch API as
opposed to Background Fetch. Instead, the requirement to propagate
exceptions thrown by the Fetch API is tested in fetch.https.window.js.

Bug: 864561
Change-Id: I077be6c5bf8c379e3108f4ec3207011582028477
Reviewed-on: https://chromium-review.googlesource.com/1155118
Commit-Queue: Peter Beverloo <peter@chromium.org>
Reviewed-by: Rayan Kanso <rayankans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579370}

--

wpt-commits: fb974dd68affa515d39feee51f8fb4ba818ca13b
wpt-pr: 12234
2018-08-03 09:34:01 +00:00
moz-wptsync-bot
dc4c31d7ee Bug 1473811 [wpt PR 11819] - Update wpt metadata, a=testonly
wpt-pr: 11819
wpt-type: metadata
2018-08-03 09:34:00 +00:00
Luke Bjerring
ed16ad9e8c Bug 1473811 [wpt PR 11819] - Update the cssom IDL file, a=testonly
Automatic update from web-platform-testsUpdate the cssom IDL file + test (#11819)

--

wpt-commits: 8b48137d3999ede7ba459419a5d986abc0e2e184
wpt-pr: 11819
2018-08-03 09:34:00 +00:00
Henrik Boström
0f12587b23 Bug 1479539 [wpt PR 12237] - Fix RTCPeerConnection-transceivers.https.html bug., a=testonly
Automatic update from web-platform-testsFix RTCPeerConnection-transceivers.https.html bug.

This PR accidentally made the "addTrack(0 streams)" test call addTrack()
with a stream, which broke the tests:
https://github.com/web-platform-tests/wpt/pull/12141

Test restored and all "addTrack/addTransceiver(X streams)" are made to
consistently use "new MediaStream()" the same way.

Bug: 869036
Change-Id: Ieaf0c73a1996aeb2e87e18f2f9065fa1e6fee1e7
Reviewed-on: https://chromium-review.googlesource.com/1155125
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Commit-Queue: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579341}

--

wpt-commits: 6468c69f9f9e5925f6af370ad127a72c3adc14ed
wpt-pr: 12237
2018-08-03 09:34:00 +00:00
moz-wptsync-bot
e290de85ea Bug 1479041 [wpt PR 12212] - Update wpt metadata, a=testonly
wpt-pr: 12212
wpt-type: metadata
2018-08-03 09:33:59 +00:00
Dave Tapuska
6c9d8052e0 Bug 1479041 [wpt PR 12212] - Move the transfer object into WindowPostMessageOptions, a=testonly
Automatic update from web-platform-testsMove the transfer object into WindowPostMessageOptions

Spec changes were requested and this change matches the spec changes.
https://github.com/whatwg/html/issues/3799

BUG=861735

Change-Id: Ie5f33e6d52eb5d904ae3c439ee488ab75a3b514d
Reviewed-on: https://chromium-review.googlesource.com/1151388
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579152}

--

wpt-commits: defe19d91c59decb804193cbc0137e6a8465367a
wpt-pr: 12212
2018-08-03 09:33:59 +00:00
moz-wptsync-bot
ca370ccd9c Bug 1478963 [wpt PR 12204] - Update wpt metadata, a=testonly
wpt-pr: 12204
wpt-type: metadata
2018-08-03 09:33:58 +00:00
Ian Kilpatrick
36a5e39e85 Bug 1478963 [wpt PR 12204] - [LayoutNG] Add support for negative margins and new formatting contexts, a=testonly
Automatic update from web-platform-tests[LayoutNG] Add support for negative margins and new formatting contexts

This does two things:
1. Allows a new formatting context to be sized and positioned outside
   its layout opportunity when negative margins are present.
   This occurs when a layout opportunity inline dimensions matches the
   initial child available space (ignoring floats).
   Additionally when a new formatting context "jumps out" of its layout
   opportunity it ignores any floats which might impede it.
2. Performs layout inside an opportunity, and then checks if the result
   can fit within the same opportunity. Previously we were trying to
   position in an arbitrary layout opportunity, which fails the
   new-fc-relayout.html test.

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

--

wpt-commits: fe2c977518e90340f1a88606fa8844577d577028
wpt-pr: 12204
2018-08-03 09:33:58 +00:00
David Heiberg
a7edc3152b Bug 1478067 [wpt PR 12160] - Ensure that write_content performs checks before writing, a=testonly
Automatic update from web-platform-tests`write_content` now performs checks before blindly writing data. `write_raw_content` blindly writes content.

* Wrote tests for `write_raw_content`

* Removed magic number, improved docstring

* Added documentation for default header behaviour

--

wpt-commits: 390fa1bca039df8da30ae74eb03e0836a1bef03f
wpt-pr: 12160
2018-08-03 09:33:57 +00:00
Luke Bjerring
d09177d5ce Bug 1479172 [wpt PR 12197] - Update the webgl2 IDL file, a=testonly
Automatic update from web-platform-testsUpdate the webgl2 IDL file (#12197)

--

wpt-commits: ae1d73a946c326315d875206c766656c064395fd
wpt-pr: 12197


--HG--
rename : testing/web-platform/tests/webgl/idlharness.window.js => testing/web-platform/tests/webgl/webgl1-idlharness.window.js
2018-08-03 09:33:56 +00:00
Csoregi Natalia
08c950712e Backed out 3 changesets (bug 1479569) for devtools/client/responsive.html failures. CLOSED TREE
Backed out changeset e123d0aa911c (bug 1479569)
Backed out changeset b828a58404e5 (bug 1479569)
Backed out changeset 97041ef8f311 (bug 1479569)
2018-08-03 10:39:12 +03:00
Emilio Cobos Álvarez
1d8637da03 Bug 1479528: Remove FrameConstructionItem::mHasInlineEnds. r=bz
It's write-only.

Looks like this became unused in bug 501847 when we changed how ib splits work
and no longer needed this information.

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

MozReview-Commit-ID: GDwcheP3bV4
2018-08-03 09:12:31 +02:00
Emilio Cobos Álvarez
1d122a0956 Bug 1479528: Remove FrameConstructionItem::mIsForSVGAElement. r=bz
It was needed presumably because XBL could override the tag name and what not.
But I removed that capability for elements other than XUL elements, so we can
just poke at the content directly.

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

MozReview-Commit-ID: B5Ihu0gaNd8
2018-08-03 09:12:07 +02:00
Emilio Cobos Álvarez
f7180dd264 Bug 1479528: Move all the data-finding related stuff into a single function. r=dholbert
To make it hopefully a bit easier to follow.

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

MozReview-Commit-ID: 2LMf7IXM1kr
2018-08-03 09:11:40 +02:00
Emilio Cobos Álvarez
3af717e9ff Bug 1479528: Move the XBL binding loads a bit more away. r=dholbert
They're pretty ugly...

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

MozReview-Commit-ID: CUDUyfe9Bgp
2018-08-03 09:11:13 +02:00