diff options
author | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-28 19:13:57 +0000 |
---|---|---|
committer | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-28 19:13:57 +0000 |
commit | 432c01afc9975f4a4f251eed1268e4a79e301e66 (patch) | |
tree | 0d643f8d43b7b3089c5fba590990c50a6d56c7c2 /chrome/common/extensions/docs/build | |
parent | 5af52c96a8e35e256fd4e1d22205b2a7de7278c9 (diff) | |
download | chromium_src-432c01afc9975f4a4f251eed1268e4a79e301e66.zip chromium_src-432c01afc9975f4a4f251eed1268e4a79e301e66.tar.gz chromium_src-432c01afc9975f4a4f251eed1268e4a79e301e66.tar.bz2 |
Make the extension API docs point out the minimum version that supports an API call.
BUG=41127
TEST=none
Review URL: http://codereview.chromium.org/2812023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/build')
-rwxr-xr-x | chrome/common/extensions/docs/build/build.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/common/extensions/docs/build/build.py b/chrome/common/extensions/docs/build/build.py index 6795754..e073a01 100755 --- a/chrome/common/extensions/docs/build/build.py +++ b/chrome/common/extensions/docs/build/build.py @@ -60,7 +60,7 @@ def RenderPage(name, test_shell): p = Popen([test_shell, "--layout-tests", generator_url], stdout=PIPE) - # the remaining output will be the content of the generated page. + # The remaining output will be the content of the generated page. result = p.stdout.read() content_start = result.find(_expected_output_preamble) @@ -75,9 +75,10 @@ def RenderPage(name, test_shell): "\nAnd open it in chrome using the file: scheme.\n" + "Look from javascript errors via the inspector.") raise Exception("test_shell returned unexpected output: " + result) - result = result[content_start:content_end + len(_expected_output_postamble)] + "\n" + postamble_length = len(_expected_output_postamble) + result = result[content_start:content_end + postamble_length] + "\n" - # remove the trailing #EOF that test shell appends to the output. + # Remove the trailing #EOF that test shell appends to the output. result = result.replace('#EOF', '') # Remove page_shell |