OLD | NEW |
---|---|
(Empty) | |
1 chrome.app.runtime.onLaunched.addListener(function() { | |
2 chrome.test.runTests([ | |
3 function testWindowDotPrintCallWorks() { | |
4 chrome.app.window.create('test.html', {}, chrome.test.callbackPass( | |
5 function(appWindow) { | |
6 appWindow.contentWindow.onload = chrome.test.callbackPass( | |
7 function() { | |
8 appWindow.contentWindow.print(); | |
9 chrome.test.notifyPass(); | |
asargent_no_longer_on_chrome
2013/08/13 22:38:54
nit: I don't think you need this final call here -
dharcourt
2013/08/13 23:06:31
Fixed, thanks! I thought I had tried that earlier
| |
10 }); | |
11 })); | |
12 } | |
13 ]); | |
14 }); | |
OLD | NEW |