Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 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(function(message, | |
| 8 sender, | |
| 9 sendResponse) { | |
| 10 chrome.test.assertTrue(Window.pass); | |
| 11 chrome.test.assertTrue("hi" == message); | |
|
Devlin
2014/07/15 18:07:36
prefer single-line quotes in js files.
ericzeng
2014/07/15 20:23:55
Done.
| |
| 12 chrome.test.pass(); | |
| 13 }); | |
| 14 | |
| 15 var extensionoptions = document.createElement('extensionoptions'); | |
| 16 extensionoptions.setAttribute('extension', chrome.runtime.id); | |
| 17 document.body.appendChild(extensionoptions); | |
| 18 console.log("<extensionoptions> created in test.js") | |
| 19 } | |
| 20 ]); | |
| OLD | NEW |