OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 chrome.test.runTests([ |
| 6 function createExtensionOptionsGuest() { |
| 7 chrome.runtime.onMessage.addListener( |
| 8 function(message, sender, sendResponse) { |
| 9 chrome.test.assertTrue(Window.pass); |
| 10 chrome.test.assertTrue('hi' == message); |
| 11 chrome.test.succeed(); |
| 12 }); |
| 13 |
| 14 var extensionoptions = document.createElement('extensionoptions'); |
| 15 extensionoptions.setAttribute('extension', chrome.runtime.id); |
| 16 document.body.appendChild(extensionoptions); |
| 17 console.log('<extensionoptions> created in test.js'); |
| 18 console.log(document.readyState); |
| 19 } |
| 20 ]); |
OLD | NEW |