Skip to content

Commit 23d98fa

Browse files
Silence ApplicationCache related errors when running http/tests/inspector/network/x-frame-options.html
https://bugs.webkit.org/show_bug.cgi?id=218830 * http/tests/inspector/network/x-frame-options.html: This makes the test output deterministic, even after trying to message a frame that has been destroyed. The actual fix was the revision referred to in the bugzilla, but this was needed to make the test not print out mostly-unrelated errors. Canonical link: https://commits.webkit.org/231846@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 175ac10 commit 23d98fa

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

LayoutTests/ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2020-11-20 Alex Christensen <achristensen@webkit.org>
2+
3+
Silence ApplicationCache related errors when running http/tests/inspector/network/x-frame-options.html
4+
https://bugs.webkit.org/show_bug.cgi?id=218830
5+
6+
* http/tests/inspector/network/x-frame-options.html:
7+
This makes the test output deterministic, even after trying to message a frame that has been destroyed.
8+
The actual fix was the revision referred to in the bugzilla, but this was needed to make the test not print out mostly-unrelated errors.
9+
110
2020-11-20 Kate Cheney <katherine_cheney@apple.com>
211

312
PCM: Persist pending ad clicks and attributions so they can survive browser restart

LayoutTests/http/tests/inspector/network/x-frame-options.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
async test() {
2020
const option = "DENY";
2121
InspectorTest.evaluateInPage(`createIFrame("${option}")`);
22+
WI.reportInternalError = (e) => { };
2223

2324
let event = await WI.Resource.awaitEvent(WI.Resource.Event.ResponseReceived);
2425

@@ -33,6 +34,7 @@
3334
async test() {
3435
const option = "SAMEORIGIN";
3536
InspectorTest.evaluateInPage(`createIFrame("${option}")`);
37+
WI.reportInternalError = (e) => { };
3638

3739
let event = await WI.Resource.awaitEvent(WI.Resource.Event.ResponseReceived);
3840

0 commit comments

Comments
 (0)