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

Unified Diff: Source/devtools/scripts/jsdoc-validator/run_tests.py

Issue 659973003: [DevTools] Disallow use of global property "document". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 2 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: Source/devtools/scripts/jsdoc-validator/run_tests.py
diff --git a/Source/devtools/scripts/jsdoc-validator/run_tests.py b/Source/devtools/scripts/jsdoc-validator/run_tests.py
index c8a0112ce82feaea650e299cb9eb79542ea59f32..c591eadfc5472ea1fcf42505256b2b5ea132e369 100755
--- a/Source/devtools/scripts/jsdoc-validator/run_tests.py
+++ b/Source/devtools/scripts/jsdoc-validator/run_tests.py
@@ -55,6 +55,7 @@ def main():
return
result = run_and_communicate(validator_command, "Error running validator: %d")
+ result = result.replace(script_path, "") # pylint: disable=E1103
if need_dump:
print result
return

Powered by Google App Engine
This is Rietveld 408576698