Automatic update from web-platform-tests[ServiceWorker] Fix an incorrect usage of assert_equals() in wpt test
This prototype is 'assert_equals(actual, expected, description)', we
should pass 'actual' and 'expected' in order, to make the failure
message be reasonable.
This CL just fixes
external/wpt/service-workers/service-worker/navigate-window.https.html.
BUG=
Change-Id: Ic11ec67f27f7a9a5ae289ddda4362af72b4737d4
Reviewed-on: https://chromium-review.googlesource.com/955282
Commit-Queue: Han Leon <leon.han@intel.com>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542048}
wpt-commits: 0de8b996b14f080180b56a6999fc57d8a4a94898
wpt-pr: 9922
wpt-commits: 0de8b996b14f080180b56a6999fc57d8a4a94898
wpt-pr: 9922
Automatic update from web-platform-testsStreams: Modify tests to expect abort reason passthrough (#9926)
This tests the changes in https://github.com/whatwg/streams/pull/903.
Replace expectations that a TypeError will be stored after abort() is
called with with expectations that the reason passed to abort() will be
stored instead.
Also add a test of the stored error on the readable side of a
TransformStream after abort() has been called on the writable size. This
was not explicitly tested.
Also fix a bug in the general.js test: it didn't wrap a call to
assert_unreached properly, so a failure would have shown up as an
unhandled rejection rather than being reported properly.
wpt-commits: 81468a0b88d771af9dfa0feb5de99367e32d4b6e
wpt-pr: 9926
wpt-commits: 81468a0b88d771af9dfa0feb5de99367e32d4b6e
wpt-pr: 9926
Automatic update from web-platform-tests[css-typed-om] Clean up CSSUnparsedValue & CSSVariableRefValue tests.
This patch:
- Splits existing tests into different files testing different parts of
the IDL (e.g. separate file for cssUnparsedValue.length)
- Fix some stylistic issues.
Bug: 774887
Change-Id: I8b37679b96d1b1b6e44c4eb596036dcafa88264b
Reviewed-on: https://chromium-review.googlesource.com/954525
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542012}
wpt-commits: 68c1f9a88c22efb81b62f9e2365bf294996a3adf
wpt-pr: 9914
wpt-commits: 68c1f9a88c22efb81b62f9e2365bf294996a3adf
wpt-pr: 9914
Automatic update from web-platform-testsRemove tests testing <meta http-equiv=link> from cascade-import-002.xht (#9930)
Remove tests g,h,q,r from cascade-import-002.xht because they test the obsoleted and removed <meta http-equiv=link>.
Closes#9910
wpt-commits: df0b73bd250883fa768b6925cf7deed49abc65be
wpt-pr: 9930
wpt-commits: df0b73bd250883fa768b6925cf7deed49abc65be
wpt-pr: 9930
Automatic update from web-platform-testsAdd a lint to catch adding files that would otherwise be ignored by git.
wpt-commits: b3b4332e7aaf7b027c11be8a0750b9136bb90a70
wpt-pr: 9902
wpt-commits: b3b4332e7aaf7b027c11be8a0750b9136bb90a70
wpt-pr: 9902
Automatic update from web-platform-testsAdd regionCode test (manual and idl) (#9706)
* Add regionCode test (manual and idl)
wpt-commits: da1dbe3f91878a59a8981bdc9b99a84d552e131f
wpt-pr: 9706
wpt-commits: da1dbe3f91878a59a8981bdc9b99a84d552e131f
wpt-pr: 9706
Automatic update from web-platform-testsIntroduce InputDeviceInfo interface
InputDeviceInfo extends MediaDeviceInfo and represents audio and video input
devices. These objects are the result of calling MediaDevices.enumerateDevices().
This interface gives access to the capabilities of the input device it represents
via getCapabilities() method which will be implemented in asubsequent CL.
Intent to implement and ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/h4sCuIqb_78
Bug: 817769
Change-Id: Ic9a016a05e622ee02b86d567f64c3ed84f0926c3
Reviewed-on: https://chromium-review.googlesource.com/942961
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541772}
wpt-commits: aaea1a41a04ac0ce565bbc59f296a647902de015
wpt-pr: 9733
wpt-commits: aaea1a41a04ac0ce565bbc59f296a647902de015
wpt-pr: 9733
Automatic update from web-platform-testsRequire mozdownload and mozinstall when running wpt install. (#9875)
mozdownload and mozinstall are now used to install Firefox. Therefore
they are required to run the |wpt install| command.
wpt-commits: 6a8a912f1cd285b1a130fbb406dc5e76be08e625
wpt-pr: 9875
wpt-commits: 6a8a912f1cd285b1a130fbb406dc5e76be08e625
wpt-pr: 9875
Automatic update from web-platform-testsUpstream some CSSOM tests
Tests that were duplicates of those already existing in
web-platform-tests were deleted. Other tests were either moved to the
CSSOM directory in WPT, or appended to already existing tests. The
README was also deleted, as it is no longer accurate.
Change-Id: I0acb41c6102a572a1fc2401630732a8ff1c5263d
Reviewed-on: https://chromium-review.googlesource.com/945135
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Darren Shen <shend@chromium.org>
Commit-Queue: Chris Nardi <cnardi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541716}
wpt-commits: 8ef3fed7cdd966fbbd831215cedc0ee4b8ea8d6e
wpt-pr: 9739
wpt-commits: 8ef3fed7cdd966fbbd831215cedc0ee4b8ea8d6e
wpt-pr: 9739
Automatic update from web-platform-testsMove core CORB logic into //services/network.
This CL moves the core CORB logic (figuring out if a given response
should be CORB-protected based on 1) response metadata like initiator,
MIME type, CORS headers and 2) sniffing the first bytes of the response)
from //content/common into //services/network.
As part of the move, this CL makes some extra, opportunistic changes:
- Renames the moved files (and the moved class) to match the name agreed
upon in the explainer
(s/CrossSiteDocumentClassifier/CrossOriginReadBlocking)
- Also moves the explainer doc to //services/network
- Tweaks the old CrossSiteDocumentMimeType enum so that
- It is nested in CrossOriginReadBlocking::MimeType
- The enum values have shorter names
In the long-term, the core CORB logic should only be needed within
services/network. In the short-term, this logic has the following
consumers:
- content/browser/loader/cross_site_document_resource_handler.cc
(integrates CORB into the old, pre-network-service,
ResourceHandler-based world; this can go away after the network
service ships)
- content/renderer/loader/site_isolation_stats_gatherer.cc
(gathers UMA that help decide what responses can be blocked
by CORB with acceptably low risk of breaking existing websites;
this can go away after CORB ships)
- WIP(https://crbug.com/792546): services/network/url_loader.cc
(this will integrate CORB into the new, network-service world).
Bug: 792546
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Ib8fe412b1f807d23e41700b7f7090cd4b77c1783
Reviewed-on: https://chromium-review.googlesource.com/929446
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Nick Carter <nick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541661}
wpt-commits: 6cd55d2d27fa20b5c0f7d31e6899206eff44870b
wpt-pr: 9635
wpt-commits: 6cd55d2d27fa20b5c0f7d31e6899206eff44870b
wpt-pr: 9635
Automatic update from web-platform-testsbluetooth: Use DeviceUUID in FakeBluetooth
This change refactors the Web Bluetooth test API to use the
DeviceUUIDs helper class defined in BluetoothDevice. Additionally,
this change finishes the implementation of SimulateGATTServicesChanged,
and as a result, tests are updated to set the next discovery response
before calling this interface.
BUG=719826
Change-Id: I0f986eb7afe6fbf7ebaa80ac4b633d46a027b80d
Reviewed-on: https://chromium-review.googlesource.com/939984
Commit-Queue: Ovidio Henriquez <odejesush@chromium.org>
Reviewed-by: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541577}
wpt-commits: 4038be686e4912ac1779f73f9fca8d9cbfbb1ec0
wpt-pr: 9858
wpt-commits: 4038be686e4912ac1779f73f9fca8d9cbfbb1ec0
wpt-pr: 9858
Automatic update from web-platform-testsAdd more tests for data: URLs with space in body
This is to bring attention to the surprising difference between
application/xml, application/javascript and text/javascript. In Chrome
and Firefox, only the application/javascript case fails.
wpt-commits: 08d063d028f26c1ade1b151a1fb01a9d29877fdd
wpt-pr: 9693
wpt-commits: 08d063d028f26c1ade1b151a1fb01a9d29877fdd
wpt-pr: 9693
Automatic update from web-platform-testsEnforce RequestInit enum values
This makes the Fetch API more standards compliant by
enforcing the enum values in the RequestInit dictionary,
as this is not taken care of by the IDL bindings themselves.
This enforces the mode, credentials, cache, and redirect properties
of RequestInit.
R=yhirano@chromium.org, yoav@yoav.ws
Bug: 777116
Change-Id: I8db5fd991b5ffa039dc2f67b4d8f525647fbf915
Reviewed-on: https://chromium-review.googlesource.com/841270
Commit-Queue: Yoav Weiss <yoav@yoav.ws>
Reviewed-by: Yoav Weiss <yoav@yoav.ws>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541515}
wpt-commits: ab5b01b067b08ed34064b1eb0f7d82935969a20b
wpt-pr: 9860
wpt-commits: ab5b01b067b08ed34064b1eb0f7d82935969a20b
wpt-pr: 9860
Automatic update from web-platform-testsMove merger/splitter tests to WPT
Move the ChannelMerger and ChannelSplitter tests to WPT.
ChannelSplitteraudiochannelsplitter.html removed from SmokeTests.
Note that ChannelMerger/audiochannelmerger-cycle.html isn't moved.
Firefox currently fails this test, but I think Firefox is correct and
Chrome is wrong. We'll move this test later.
Bug: 745778
Change-Id: I981a773a9c654f26d15e80eb5ec699b0eca0c8d7
Reviewed-on: https://chromium-review.googlesource.com/949053
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541508}
wpt-commits: 2e161037e0797ced5b7b6edef3b9abfa5da1df30
wpt-pr: 9823
wpt-commits: 2e161037e0797ced5b7b6edef3b9abfa5da1df30
wpt-pr: 9823
Automatic update from web-platform-testsReland "Port another set of sticky tests to JS rather than reftests"
This is a reland of 913109149534a732bdb5461d0ba2759f5d2f50f4
Now that the WPT test infra has been pulled from upstream, the hope is
that changing tests from reftest to jsharness won't cause the bots to
fail horribly.
Original change's description:
> Port another set of sticky tests to JS rather than reftests
>
> Change-Id: Idf6dd882d2d50b1ec349f245d76717553ee266b3
> Reviewed-on: https://chromium-review.googlesource.com/882002
> Reviewed-by: Robert Flack <flackr@chromium.org>
> Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#532966}
Bug: 699244
Change-Id: Ib8c16d08f1327765e0bd322a708452373db8581c
Reviewed-on: https://chromium-review.googlesource.com/951662
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541437}
wpt-commits: 0070589338713156909137fbf4cc86ebdba8bc7c
wpt-pr: 9881
wpt-commits: 0070589338713156909137fbf4cc86ebdba8bc7c
wpt-pr: 9881
Automatic update from web-platform-testsAccName: Correct "embedded-menu" expectations; add three new test cases
wpt-commits: f30653cc02424fb8819890ca873cefc045e45868
wpt-pr: 9880
wpt-commits: f30653cc02424fb8819890ca873cefc045e45868
wpt-pr: 9880
Automatic update from web-platform-testsUpstream ConvolverNode tests to WPT
Add thresholds to allow for differences in expected results.
Needed for Firefox to pass the tests. Thresholds were set using
Firefox on Linux. Where the tests pass, the output looks correct
except for small numerical differences.
Bug: 745778
Change-Id: I8fa6582ac960922e777d83d9debc71aa36e1741b
Reviewed-on: https://chromium-review.googlesource.com/947096
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541318}
wpt-commits: 16376ce7a6ca10ca6ac31dff565c47b6555e3103
wpt-pr: 9798
wpt-commits: 16376ce7a6ca10ca6ac31dff565c47b6555e3103
wpt-pr: 9798