[Webkit-unassigned] [Bug 280671] ASSERTION FAILED: result in WebKit::NetworkProcess::allowsFirstPartyForCookies() (cross-origin frame)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 1 03:48:53 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=280671

--- Comment #2 from Kimmo Kinnunen <kkinnunen at apple.com> ---
diff --git a/LayoutTests/http/tests/frames/frame-write-crash.html b/LayoutTests/http/tests/frames/frame-write-crash.html
new file mode 100644
index 000000000000..2215c76aaf1a
--- /dev/null
+++ b/LayoutTests/http/tests/frames/frame-write-crash.html
@@ -0,0 +1,11 @@
+<!-- webkit-test-runner [ runInCrossOriginFrame=true ] -->
+<body>
+<script>
+console.log(location)
+testRunner?.dumpAsText();
+w = window.open();
+w.document.open();
+w.document.write("<iframe></iframe>");
+w.document.close();
+</script>
+</body>

run-webkit-tests --no-build --debug-rwt-logging  LayoutTests/http/tests/frames/frame-write-crash.html --no-retry-failures

DYLD_FRAMEWORK_PATH=$PWD ./WebKitTestRunner --no-timeout - <<EOF
http://127.0.0.1:8000/frames/frame-write-crash.html'--absolutePath'/Users/kkinnunen/WebKit/OpenSource/LayoutTests/http/tests/frames/frame-write-crash.html'--timeout'30000

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241001/154aef66/attachment.htm>


More information about the webkit-unassigned mailing list