Commit Graph

596442 Commits

Author SHA1 Message Date
Jeff Walden
37589d31cd Bug 1461556 - Rename TypeSet::clone to TypeSet::cloneIntoUninitialized to indicate that it freshly initializes the TemporaryTypeSet* provided to it. Also removes existing code that, quite unnecessarily, partly initialized that argument. r=jandem
--HG--
extra : rebase_source : 2dcc8becf0ecdf8ea41bae4ad55439ddcfc7be21
2018-05-16 19:29:57 -07:00
Jeff Walden
b1287bc521 |this|-qualify a member-function call inside a MOZ_ASSERT that gcc will ICE on, depending on what code is #include'd, without the qualification. No bug, r=me as does-the-job-and-it's-not-fugly
--HG--
extra : rebase_source : e845db0d62d559073e574262f868aab7d5984455
2018-05-16 19:00:59 -07:00
Jeff Walden
d92b94813c Bug 1461556 - Don't use PodCopy/PodMove to implement typed-array element-to-element copying: bog-standard std::copy and std::copy_n are readily optimized to the same thing, and they don't have a non-obvious requirement that the type being copied be trivial. r=jandem
--HG--
extra : rebase_source : b91630234c96cea9d689c57d4430bd4296622d63
2018-05-16 19:00:54 -07:00
Jeff Walden
db36cedbd6 Bug 1461556 - Give uint8_clamped a defaulted (and also trivial) default constructor, copy constructor, and copy-assignment operator. (This also allows uint8_clamped to be permissibly memmove'd and memcpy'd.) r=jandem
--HG--
extra : rebase_source : 2b0d5c9517c47c68803a00ca701e8abc3f31c5d8
2018-05-16 19:00:04 -07:00
Jeff Walden
0128813edd Bug 1462261 - Abandon the idea of HashTableEntry being "POD", make its constructor explicitly initialize HashTableEntry::keyHash, give it a destructor that destroys the stored T if the entry is live, and call both constructor and destructor in the necessary places. r=jandem
--HG--
extra : rebase_source : 99c72ac86fa32d683397c8060d58872617153976
2018-05-16 14:18:11 -07:00
Jeff Walden
5bd2e61e1d Bug 1462261 - Don't use AlignedStorage2 to implement HashTableEntry. r=jandem
--HG--
extra : rebase_source : 79e9c2287f8e443ff5da1c96f3707b8d066099fc
2018-05-16 13:29:52 -07:00
Mats Palmgren
2a64b931c6 Bug 1458902 - [css-grid] Update a few WPT / reftests to new percentage row-gap layout. r=dholbert
--HG--
rename : testing/web-platform/tests/css/css-grid/reference/grid-collapsed-row-gutters-ref.html => testing/web-platform/tests/css/css-grid/reference/grid-percentage-gap-ref.html
2018-05-18 21:09:23 +02:00
Mats Palmgren
32dff95bd8 Bug 1458902 - [css-grid] Re-resolve row-gap against the sum of row track sizes for auto-sized grid containers. r=dholbert
Per CSSWG resolution in:
https://github.com/w3c/csswg-drafts/issues/1921#issuecomment-342269371
2018-05-18 21:09:21 +02:00
Chris AtLee
abedb6c83d Bug 1237182: remove mock(chroot) support r=Callek
--HG--
extra : source : 806b003761cee8d8f0bc1da6405caf8000708be9
extra : intermediate-source : bbf1842aa32ec180664a714e415775947e39849c
2018-05-16 12:31:33 -04:00
Chris AtLee
3892646752 Bug 1237182: Get rid of taskcluster helpers r=Callek
--HG--
extra : source : 2c880c094b7308e734e38e37eac21ef46a034212
extra : histedit_source : 712c05d1e5b62f887660cc385760301b01acb23f
2018-05-17 09:38:23 -04:00
Olli Pettay
ae41728c3d Bug 1404864 - ensure HTMLInputElement.form works per spec in Shadow DOM, r=peterv
--HG--
extra : rebase_source : a9a597728ec3e5f2949de6769ce4ee490993a797
2018-05-18 20:02:14 +03:00
Ryan Hunt
fff38caff1 Bug 1458480 - Add a skia memory reporter and report on font cache usage. r=lsalzman, r=njn
--HG--
extra : rebase_source : 399b5be69d5c56d48bc15447f447f9c79c116c04
extra : amend_source : 3ccaab165dd48064366ed50bc3688d348362010a
extra : histedit_source : c606b880ac8dabbc4e824323146918ea4e5073ae
2018-05-14 16:47:01 -05:00
Chris AtLee
217eb3f541 Bug 1237182: Remove unused mapper mixin r=Callek
MozReview-Commit-ID: GN7lGzWwcvx

--HG--
extra : source : 8bb3896f6b84062734ad08b92b76c698a1ac59ac
extra : histedit_source : 698169a2b7c1edc3e746e63bd88d80f7cd9a07ff
2018-05-16 12:47:20 -04:00
André Bargull
ffd9baf5df Bug 1462448: Use nursery allocation for baseline string-split and avoid extra heap-slot init for Latin1 strings. r=jandem
--HG--
extra : rebase_source : 72e0dee87f5516dccd9bff5d8a382078cb329f7a
2018-05-17 12:43:44 -07:00
André Bargull
8e29e7d8f2 Bug 1461929: Use FillArgumentsFromArraylike for async functions and async generators. r=arai
--HG--
extra : rebase_source : 75ff82a73c92ce09e9ac7db5f1460077112b5d17
2018-05-16 04:35:02 -07:00
Michael Hoffmann
8f38bdc154 Bug 1461328 - Handle !important for font-family in inspector correctly. r=pbro
--HG--
extra : rebase_source : 293c85d17d1849d052e2d010be811e64640af4b8
2018-05-18 04:21:00 +03:00
Eden Chuang
130e426839 Bug 1435157 - mochitest for AddressErrors in WebPayment. r=baku
--HG--
extra : rebase_source : e1a782bab18fede5fe12e91ff26f1dd3037ccee2
2018-05-18 14:40:34 +08:00
Eden Chuang
029423a6e2 Bug 1435157 - Support AddressErrors in WebPayment. r=baku.
1. Add AddressErrors in PaymentRequest.webidl.
    2. IPC for passing AddressErrors.
    3. Getters for AddressErrors in nsIPaymentDetails.

--HG--
extra : rebase_source : 64c57003d57e064b5284cc64447c0c0740f16121
2018-05-17 19:59:16 +08:00
Jim Chen
5ac39f4f7b Bug 1461747 - 3. Add missing permissions; r=me
Add missing geolocation permissions in geckoview_example and geckoview
androidTest.
2018-05-18 11:26:37 -04:00
Emilio Cobos Álvarez
3a031c33a3 Bug 1461070: Skip starting other transitions based on specified, not already-started transitions. r=birtles,dbaron
MozReview-Commit-ID: 3D5elrj2Ypi
2018-05-18 17:21:16 +02:00
Jim Chen
bd7bc7fd80 Bug 1461747 - 2. Fix typo in notification permission; r=me
MozReview-Commit-ID: Iwl1IIg8KPq
2018-05-18 11:18:04 -04:00
Jim Chen
4763384cf3 Bug 1461747 - 1. Add more permission tests; r=snorp
Add permission tests for geolocation and notifications.

MozReview-Commit-ID: CR8TGxsUyoL
2018-05-18 11:18:04 -04:00
Gabriel Luong
295877e7ea Bug 1462451 - Remove checks for the 3 pane toggle button. r=jryans 2018-05-18 10:59:04 -04:00
Joel Maher
5b3afd93d3 backout 3 patches (1ee5b2531836, cac593a84f72, 95ccdb87f63f) from bug 1392106 for not fixing font rendering problems.
--HG--
extra : rebase_source : 30b2aa771eeaa978a8e3af18009f22562d764831
2018-05-18 06:40:00 +03:00
Andrea Marchesini
5840b63b8a Bug 1462605 - PerformanceNavigationTiming.name must be the value of the address of the current document, r=valentin 2018-05-18 16:20:19 +02:00
Jim Chen
828b2d9eef Bug 1458020 - 6. Use separate emulator config for geckoview-junit tests; r=gbrown
The geckoview-junit tests require the OSS audio backend for the Android
4.3 ARM emulator, but mochitests don't work well with the OSS audio
backend. Therefore, use a different config file for the geckoview-junit
tests.

MozReview-Commit-ID: 20tzjtVdTuB
2018-05-18 10:16:05 -04:00
Jim Chen
c68f5f3de7 Bug 1458020 - 5. Return default sample rate / frames per buffer; r=esawin
We apparently fail to get these properties when running in an emulator,
so we should just return default values.

MozReview-Commit-ID: IZVYIG9INaq
2018-05-18 10:16:04 -04:00
Jim Chen
6ed91a89a9 Bug 1458020 - 4. Add camera permission in the parent process; r=snorp
We had a permission error because we were trying to add camera
permission in the child process. Move it to the parent process, where
the permission is actually checked.

MozReview-Commit-ID: 2OE3BznlVTD
2018-05-18 10:16:04 -04:00
Jim Chen
4053e24872 Bug 1458020 - 3. Set JavaVM when actually using video capture; r=jib
We currently set the Android JavaVM pointer in MediaEngineWebRTC.
However, because of that, we end up setting the pointer in the child
process, even though we really want to set the pointer in the parent
process because that's where the camera will be accessed.

This patch makes us set JavaVM inside VideoEngine itself, where we
actually access the camera in the parent process.

MozReview-Commit-ID: 3TeLiiK2vyh
2018-05-18 10:16:04 -04:00
Jim Chen
9a556235ef Bug 1458020 - 2. Add PermissionDelegateTest; r=snorp
Add a test for the permission delegate that currently tests for Android
and content media permissions.

MozReview-Commit-ID: LEGfkN11Bh9
2018-05-18 10:16:04 -04:00
Jim Chen
0a61f5d916 Bug 1458020 - 1b. Add forceGarbageCollection; r=me
Add GeckoSessionTestRule.forceGarbageCollection() for improving the
stability of resource-intensive tests, by garbage-collecting before
running the test.

MozReview-Commit-ID: A4ITTPsPNNy
2018-05-18 10:16:04 -04:00
Jim Chen
4dd13f4142 Bug 1458020 - 1a. Add waitForJS and waitForChromeJS; r=me
Add waitForJS and waitForChromeJS methods that are similar to evaluateJS
and evaluateChromeJS. However, the wait methods count as wait events,
and will affect the behavior of forCallbacksDuringWait and
delegateDuringNextWait. The wait methods also wait for Promises to
resolve before returning their values.

MozReview-Commit-ID: IG41fw9zrBW
2018-05-18 10:16:03 -04:00
Paolo Amadini
fefb57eaed Bug 1462297 - Fix leftover reference to "browser-tabPreviews.xml". rs=Aryx on a CLOSED TREE
--HG--
extra : rebase_source : bf8b607435de2a0dc92d9bfdb85ec92b4f8bf5e7
extra : amend_source : 17ef46c9aaee692d91c7603cd7d8f8bcad0d5c4c
2018-05-18 14:43:37 +01:00
Jan de Mooij
d576950ebd Bug 1461938 part 7 - Move varNames from JSCompartment to JS::Realm. r=jwalden 2018-05-18 15:18:24 +02:00
Jan de Mooij
b95abd503e Bug 1461938 part 6 - Move global object from JSCompartment to JS::Realm. r=jonco 2018-05-18 15:18:23 +02:00
Jan de Mooij
f820ec7afa Bug 1461938 part 5 - Some atoms compartment/realm related changes. r=jonco 2018-05-18 15:18:23 +02:00
Paolo Amadini
5c9fd0f400 Bug 1462297 - Remove the "ctrlTab-preview" binding. r=bgrins
MozReview-Commit-ID: BPJiakgo3wR

--HG--
extra : rebase_source : d8286c8ff275694ed8ccbc8f755ca208ac979f97
2018-05-18 14:07:00 +01:00
Andrew Osmond
fd436b732a Backed out changeset 6c8bf287d25b (bug 1462431) for web platform reftest failure. r=aosmond 2018-05-18 08:59:26 -04:00
Andrew Osmond
f3770eb5fc Bug 1462431 - Expand image downscale-on-decode to perform best effort sizing. r=tnikkel
When an image must be upscaled in only one dimension, we can
downscale-on-decode to a closer size than the native size. For example,
if an image is 32000x100, and we want 200x200, we can choose to decode
at 200x100. This allows drawing to scale in only one dimension, and use
less memory to store the decoded data, all the while not affecting the
display quality.
2018-05-18 08:32:12 -04:00
James Graham
2d7e839e1d Bug 1462414 - Remove bogus use of marionetteScriptFinished, r=maja_zf
This no longer works since we moved to running scripts with sandbox=None

MozReview-Commit-ID: C51dvQULcgF
2018-05-18 11:15:13 +01:00
moz-wptsync-bot
56078e8e45 Bug 1462329 - [wpt-sync] Update web-platform-tests to b395fb03bf62cbda20a383842b8da1701080ec43, a=testonly
wpt-head: b395fb03bf62cbda20a383842b8da1701080ec43
wpt-type: landing
2018-05-18 11:15:13 +01:00
moz-wptsync-bot
15c43fdaf5 Bug 1461325 [wpt PR 10984] - Update wpt metadata, a=testonly
wpt-pr: 10984
wpt-type: metadata
2018-05-18 11:15:13 +01:00
Simon Pieters
c939307658 Bug 1461325 [wpt PR 10984] - WebCryptoAPI: Use .any.js for generateKey tests and split up slow tests, a=testonly
Automatic update from web-platform-testsWebCryptoAPI: Use .any.js for generateKey tests and split up slow tests (#10984)

Slow tests test 10 subtests at a time, using the `// META: variant=...`
feature.

Fixes #10794.
--

wpt-commits: b395fb03bf62cbda20a383842b8da1701080ec43
wpt-pr: 10984
2018-05-18 11:15:13 +01:00
jimevans
9cd337831e Bug 1460763 [wpt PR 10957] - Properly switching window focus after close of window, a=testonly
Automatic update from web-platform-testswebdriver: properly switching window focus after close of window (#10957)

The test_handle_prompt_accept test for closing a window tests to see if an
alert was handled. It does so by calling the Get Alert Text end point.
However, the Get Alert Text end point requires an active, valid top-level
browsing context to have the focus. The test now switches focus back to
the previous window before checking that an alert was handled. In between
checking the alert, confirm, and prompt cases, it recreates the new window
required so it can be closed.

--

wpt-commits: 973caf595dbfc6f7b101244ba3d8871c0c5bd510
wpt-pr: 10957
2018-05-18 11:15:13 +01:00
moz-wptsync-bot
fa7d51309b Bug 1461200 [wpt PR 10976] - Update wpt metadata, a=testonly
wpt-pr: 10976
wpt-type: metadata
2018-05-18 11:15:13 +01:00
Dominic Farolino
70f10d64b2 Bug 1461200 [wpt PR 10976] - Enable attr-referrer script-tag tests, a=testonly
Automatic update from web-platform-testsEnable script attr-referrer tests

--

wpt-commits: f2417cc4dc3befddf1ca7cae43022cdfd9934ac1
wpt-pr: 10976
2018-05-18 11:15:13 +01:00
moz-wptsync-bot
5b95cff94d Bug 1460490 [wpt PR 10946] - Update wpt metadata, a=testonly
wpt-pr: 10946
wpt-type: metadata
2018-05-18 11:15:13 +01:00
Victor Costan
1fea07d2d4 Bug 1460490 [wpt PR 10946] - Async Cookies: Change events in service workers., a=testonly
Automatic update from web-platform-testsAsync Cookies: Change events in service workers.

While installing, a service worker may call
cookieStore.subscribeToChanges() to express interest in observing the
changes to the list of cookies sent in a request to a specific URL.
After the service worker becomes active, it is notified of changes to
the cookies it is interested in via  "cookiechange" events, which are
dispatched to the service worker's global scope.

This CL lays the last piece in the foundation of the Async Cookies API,
which is currently gated by the Experimental Web Platform Features flag.
This CL focuses on the core functionality and plumbing. Follow-up CLs
will add more tests, fix the handling of edge cases, and improve
performance.

Bug: 729800
Change-Id: I52f2e550d7901d746ed1a973426d3181ea091147
Reviewed-on: https://chromium-review.googlesource.com/979334
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Mark Pearson <mpearson@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558682}

--

wpt-commits: c16fdfb6fe53019649d14179bce3e50acdefa3b4
wpt-pr: 10946
2018-05-18 11:15:13 +01:00
Mike Pennisi
19633055bf Bug 1459723 [wpt PR 10878] - Improve definition of non-existent origin, a=testonly
Automatic update from web-platform-tests[wptserve] Correct domain configuration on *nix

Because Windows and UNIX-like systems differ in how they interpret the
IP address `0.0.0.0`, the hosts file contents generated for use with the
WPT server must take the platform into account.

Extend the hosts file generation logic and introduce "infrastructure
assumptions" tests to assert the inavailibility of the domain.

--
[infra] Rename nonexistent domain

Contributors have expressed confusion over the term "nonexistent origin"
to describe a domain that is not intended to exist. Rename the subdomain
to "nonexistent" to clarify its role.

--

wpt-commits: 136154864a88788cb58d6ff079e6d030cbe8c60f, 927cd2216d34dc2f9824a6899476f26b6b11dd31
wpt-pr: 10878
2018-05-18 11:15:13 +01:00
Philip Jägenstedt
3a64944c1d Bug 1461607 [wpt PR 11004] - Rename *-expected.html to *-ref.html, a=testonly
Automatic update from web-platform-testsRename *-expected.html to *-ref.html (#11004)

While there is no rule or lint for the naming, *-expected.html is the
convention in WebKit/Blink, and in WPT *-ref.html is the norm. (These
were the only *-expected.html, and there are 3000+ *-ref.html.)
--

wpt-commits: 7f1de072fc9eac6757d0b0691ad2194894b74a67
wpt-pr: 11004


--HG--
rename : testing/web-platform/tests/css/css-fonts/support/fonts/font-feature-settings-rendering-2-expected.html => testing/web-platform/tests/css/css-fonts/support/fonts/font-feature-settings-rendering-2-ref.html
rename : testing/web-platform/tests/fetch/corb/img-html-correctly-labeled.sub-expected.html => testing/web-platform/tests/fetch/corb/img-html-correctly-labeled.sub-ref.html
rename : testing/web-platform/tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub-expected.html => testing/web-platform/tests/fetch/corb/img-png-mislabeled-as-html-nosniff.tentative.sub-ref.html
rename : testing/web-platform/tests/fetch/corb/img-png-mislabeled-as-html.sub-expected.html => testing/web-platform/tests/fetch/corb/img-png-mislabeled-as-html.sub-ref.html
rename : testing/web-platform/tests/svg/extensibility/foreignObject/stacking-context-expected.html => testing/web-platform/tests/svg/extensibility/foreignObject/stacking-context-ref.html
2018-05-18 11:15:13 +01:00