Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: LayoutTests/fast/frames/sandboxed-iframe-workers.html

Issue 1126253007: Block modal dialogs inside sandboxes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WebSandboxFlags. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/frames/sandboxed-iframe-workers.html
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-workers.html b/LayoutTests/fast/frames/sandboxed-iframe-workers.html
index 76386a007eb7e982ff9a7b10ffb58609996a06fc..edb7a2cc397e86629bc81bf5497b766095fefcba 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-workers.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-workers.html
@@ -14,9 +14,9 @@
<script>
try {
var s = new SharedWorker('http://127.0.0.1:8080/fast/frames/resources/sandboxed-iframe-workers.js');
- alert('FAIL: SharedWorker creation should have thrown an exception.');
+ console.log('FAIL: SharedWorker creation should have thrown an exception.');
} catch (e) {
- alert('PASS: SharedWorker creation threw \'' + e + '\'.');
+ console.log('PASS: SharedWorker creation threw \'' + e + '\'.');
}
</script>
"></iframe>

Powered by Google App Engine
This is Rietveld 408576698