Auto merge of #24143 - gterzian:improve_spec_comp_bc_discarding, r=asajeffrey

Improve spec compliance of discarding BCs

<!-- Please describe your changes on the following line: -->

Came-up at https://github.com/servo/servo/pull/23637#issuecomment-528254988

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24143)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-09-27 12:37:27 -04:00 committed by GitHub
commit 75c201f78e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 133 additions and 53 deletions

View file

@ -1,7 +1,3 @@
[close-method.window.html]
[window.close() affects name targeting immediately]
expected: FAIL
[window.close() queues a task to discard, but window.closed knows immediately]
expected: FAIL

View file

@ -1,20 +1,20 @@
[nested-context-navigations-iframe.html]
expected: CRASH
expected: TIMEOUT
[Test that iframe navigations are not observable by the parent, even after history navigations by the parent]
expected: TIMEOUT
expected: FAIL
[Test that crossorigin iframe navigations are not observable by the parent, even after history navigations by the parent]
expected: NOTRUN
expected: FAIL
[Test that iframe refreshes are not observable by the parent]
expected: NOTRUN
expected: TIMEOUT
[Test that crossorigin iframe navigations are not observable by the parent]
expected: NOTRUN
expected: FAIL
[Test that crossorigin iframe refreshes are not observable by the parent]
expected: NOTRUN
[Test that iframe navigations are not observable by the parent]
expected: NOTRUN
expected: FAIL

View file

@ -1,29 +1,17 @@
[dedicated-worker-import-csp.html]
expected: CRASH
expected: OK
[DedicatedWorker: CSP for ES Modules]
expected: FAIL
[worker-src 'self' directive should disallow cross origin static import.]
expected: FAIL
[worker-src * directive should allow cross origin static import.]
expected: FAIL
[script-src 'self' directive should disallow cross origin static import.]
expected: FAIL
[script-src * directive should allow cross origin static import.]
expected: FAIL
[worker-src * directive should override script-src 'self' directive and allow cross origin static import.]
expected: FAIL
[worker-src 'self' directive should override script-src * directive and disallow cross origin static import.]
expected: FAIL
[script-src 'self' directive should disallow cross origin dynamic import.]
expected: FAIL
[script-src * directive should allow cross origin dynamic import.]
expected: FAIL