Index: chrome/test/data/extensions/api_test/bindings/nocompile/page.js |
diff --git a/chrome/test/data/extensions/api_test/bindings/nocompile/page.js b/chrome/test/data/extensions/api_test/bindings/nocompile/page.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..137af7099446391f46085dc17f43d1ebac3a85f9 |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/bindings/nocompile/page.js |
@@ -0,0 +1,9 @@ |
+// Copyright 2014 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. |
+ |
+// Devtools APIs are all marked nocompile, so they shouldn't exist. |
+chrome.test.assertEq(undefined, chrome.devtools); |
+chrome.test.assertEq('undefined', typeof chrome.devtools); |
+chrome.test.assertFalse(chrome.hasOwnProperty('devtools')); |
+chrome.test.succeed(); |