diff options
Diffstat (limited to 'chrome/common/extensions/docs/build/generator.html')
-rwxr-xr-x | chrome/common/extensions/docs/build/generator.html | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/chrome/common/extensions/docs/build/generator.html b/chrome/common/extensions/docs/build/generator.html deleted file mode 100755 index 7e82e0e..0000000 --- a/chrome/common/extensions/docs/build/generator.html +++ /dev/null @@ -1,38 +0,0 @@ -<html> - <head> - <script> -var childFrame; - -function generate() { - if (!window.layoutTestController) { - alert("window.layoutTestController not defined."); - return; - } - - layoutTestController.dumpAsText(); - layoutTestController.waitUntilDone(); - - var page = window.location.search.substring(1); - if (!page) { - alert("please specify which page to generate via " + - "?<page> ... ie. generator.html?tabs"); - } - - childFrame = document.createElement('iframe'); - childFrame.src = "../" + page + ".html?regenerate"; - childFrame.style.display = "none"; - document.body.appendChild(childFrame); -} - -function done() { - var textNode = document.createTextNode( - childFrame.contentWindow.serializePage()); - document.getElementsByTagName("body")[0].appendChild(textNode); - - layoutTestController.notifyDone(); -} - </script> - </head> - <body onload="generate();"> - </body> -</html>
\ No newline at end of file |