Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: LayoutTests/http/tests/websocket/resources/construct-in-detached-frame.html

Issue 785933005: Check that ExecutionContext and LocalFrame pointers are not null before getting shouldBypassMainWor… (Closed) Base URL:
Patch Set: Fixed expectation file. Was empty Created 6 years 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/http/tests/websocket/resources/construct-in-detached-frame.html
diff --git a/LayoutTests/http/tests/websocket/resources/construct-in-detached-frame.html b/LayoutTests/http/tests/websocket/resources/construct-in-detached-frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..995de75e36647c0f5e6c0295ccfe5123ea6c98ea
--- /dev/null
+++ b/LayoutTests/http/tests/websocket/resources/construct-in-detached-frame.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+var parentWindow = parent;
+var webSocketClass = WebSocket;
+try {
+new webSocketClass('ws://');
+} catch (e) {
« no previous file with comments | « LayoutTests/http/tests/websocket/construct-in-detached-frame-expected.txt ('k') | Source/core/page/EventSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698