1. Add AddressErrors in PaymentRequest.webidl.
2. IPC for passing AddressErrors.
3. Getters for AddressErrors in nsIPaymentDetails.
--HG--
extra : rebase_source : 64c57003d57e064b5284cc64447c0c0740f16121
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
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
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
Add GeckoSessionTestRule.forceGarbageCollection() for improving the
stability of resource-intensive tests, by garbage-collecting before
running the test.
MozReview-Commit-ID: A4ITTPsPNNy
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
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.
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
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
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
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
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