Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3459)

Unified Diff: chrome/common/extensions/docs/build/build.py

Issue 179068: Extension Doc Changes (no building or testable changes): minor changes for tab & windows doc (Closed)
Patch Set: touch grd. rendered docs Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/build/build.py
diff --git a/chrome/common/extensions/docs/build/build.py b/chrome/common/extensions/docs/build/build.py
index 84f71d3abe78c8c8f9611bc200dd75602bf27ced..7d57a39f64bc6d3776bc80d27cf6e81865863ec2 100755
--- a/chrome/common/extensions/docs/build/build.py
+++ b/chrome/common/extensions/docs/build/build.py
@@ -59,11 +59,11 @@ def RenderPage(name, test_shell):
p = Popen([test_shell, "--layout-tests", generator_url], shell=True,
stdout=PIPE)
- # first output line is url that was processed by test_shell
+ # first output line is url that was processed by test_shell.
firstline = p.stdout.readline()
- # second output line is the layoutTestShell.dumpText() value.
- result = p.stdout.readline()
+ # the remaining output will be the content of the generated page.
+ result = p.stdout.read()
# Remove page_shell
os.remove(input_file)

Powered by Google App Engine
This is Rietveld 408576698