Tags: burg/web-platform-tests
Tags
Upgrade Insecure Requests: OOPIF support, bugfixes & tests. This CL fixes several bugs with Upgrade Insecure Requests. The main one is that URL were compared against the 'upgrade insecure navigation set' of the frame that is navigating instead of the frame that has initiated the navigation. It fixes bug 796538. 8 new tests are added to ensure regressions won't happen anymore. Finally, it adds the support for OOPIF. The 'upgrade insecure navigations set' is now replicated across the different processes. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation BUG=670219, 796538 Change-Id: I1d138989a1873cd902435de25845ae660769ff98 Reviewed-on: https://chromium-review.googlesource.com/848836 Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#529732}
HTML: correct RenderingContext typedef See whatwg/html#3363.
Remove all remaining references to b2g (web-platform-tests#9052)
Modified location |href| atribute type from DOMString to USVString location |href| is implemented as URLString which is typedefed as (DOMString or TrustedURL). As per spec, |href| should be USVString. Since URLString is used only for |href| attribute, So 'DOMString' is modified to 'USVString' in typedef. https://html.spec.whatwg.org/multipage/history.html#location Bug: 790860 Change-Id: Ia76a5bb760216978a85316b29cb7415c6585feef Reviewed-on: https://chromium-review.googlesource.com/866619 Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Bhagirathi Satpathy <bhagirathi.s@samsung.com> Cr-Commit-Position: refs/heads/master@{#529556}
Use integer subtraction to calculate movement_x/y This CL changes the calculation of movement_x/y from "floor(cur_pos - last_pos)" to "floor(cur_pos) - floor(last_pos)" We store mouse event coordinates as pointF, If we have mouse move like: 0 -> 1.4 -> 2.8 -> 4.2 "floor(cur_pos - last_pos)" will get movement: 0->1.4=1; 1.4->2.8=1; 2.8->4.2=1. in total is 3. So that'll lose fraction part movement. To get correct movement_x/y, need to use "floor(cur_pos) - floor(last_pos)" instead. Bug: 795179 Change-Id: Iabae78962541cacc9f6a79eb0290a610f1818f02 Reviewed-on: https://chromium-review.googlesource.com/862903 Commit-Queue: Ella Ge <eirage@chromium.org> Reviewed-by: Timothy Dresser <tdresser@chromium.org> Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org> Cr-Commit-Position: refs/heads/master@{#529440}
Set explicit_timeout to true in nested window test environment in blo… …b URL tests. This way the tests will timeout when the outer window decides time has expired, rather than let the nested window decide it earlier. This mimics the behavior of fetch_tests_from_worker, since WorkerTestEnvironment always behaves as if explicit_timeout is set to true. This should fix spurious timeouts of this test that aren't detected as timeouts by our test runner (and specifically cases where we don't actually consider the test as timed out). Bug: 801078 Change-Id: I3a884bd746afcefd5cbe5008db7df4a609eb0044 Reviewed-on: https://chromium-review.googlesource.com/865002 Commit-Queue: Victor Costan <pwnall@chromium.org> Reviewed-by: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#529500}
CSP: Implement 'prefetch-src' behind a flag. As discussed in w3c/webappsec-csp#107, 'prefetch-src' gives developers the ability to control the endpoints from which resources may be prefetched. Bug: 801561 Change-Id: Ifedd78e3101ea66d242c6f3c7a2f49385a681bd1 Reviewed-on: https://chromium-review.googlesource.com/864362 Commit-Queue: Mike West <mkwst@chromium.org> Reviewed-by: Yoav Weiss <yoav@yoav.ws> Cr-Commit-Position: refs/heads/master@{#529413}
Upgrade Insecure Requests: OOPIF support, bugfixes & tests. This CL fixes several bugs with Upgrade Insecure Requests. The main one is that URL were compared against the 'upgrade insecure navigation set' of the frame that is navigating instead of the frame that has initiated the navigation. It fixes bug 796538. 8 new tests are added to ensure regressions won't happen anymore. Finally, it adds the support for OOPIF. The 'upgrade insecure navigations set' is now replicated across the different processes. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation BUG=670219, 796538 Change-Id: I1d138989a1873cd902435de25845ae660769ff98 Reviewed-on: https://chromium-review.googlesource.com/848836 Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#529732}
[ES6 Modules] Fix a test. This test incorrectly assumed a particular evaluation order in the presence of an async module script. Bug: Change-Id: I77faf777227cbfbe57a58e3779cbaca6dd3c9585 Reviewed-on: https://chromium-review.googlesource.com/859769 Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org> Commit-Queue: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/master@{#529434}
Treat policy-disallowed sync xhr as a network error Bug: 661283 Change-Id: I311cef40e03a264ca9db601842477d502e7cf12d Reviewed-on: https://chromium-review.googlesource.com/804057 Reviewed-by: Takeshi Yoshino <tyoshino@chromium.org> Reviewed-by: Rick Byers <rbyers@chromium.org> Commit-Queue: Ian Clelland <iclelland@chromium.org> Cr-Commit-Position: refs/heads/master@{#529775}
PreviousNext