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

Unified Diff: headless/lib/tab_socket_externs.js

Issue 2902583002: Add some closureised JS bindings for DevTools for use by headless embedder (Closed)
Patch Set: Try and fix python test Created 3 years, 6 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
« no previous file with comments | « headless/lib/headless_browsertest_resource_ids ('k') | headless/test/bindings_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/tab_socket_externs.js
diff --git a/headless/lib/tab_socket_externs.js b/headless/lib/tab_socket_externs.js
new file mode 100644
index 0000000000000000000000000000000000000000..96428747485b52d24dee3df19e2d0b8607c44067
--- /dev/null
+++ b/headless/lib/tab_socket_externs.js
@@ -0,0 +1,12 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @fileoverview Headless TabSocket externs.
+ * @externs
+ */
+
+window.TabSocket = {};
+window.TabSocket.send = function(a) {};
+window.TabSocket.onmessage = {};
« no previous file with comments | « headless/lib/headless_browsertest_resource_ids ('k') | headless/test/bindings_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698