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

Unified Diff: Source/devtools/scripts/check_injected_script_source.py

Issue 987363002: DevTools: fix injectedscriptsource compilation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/inspector/InjectedScriptSource.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/scripts/check_injected_script_source.py
diff --git a/Source/devtools/scripts/check_injected_script_source.py b/Source/devtools/scripts/check_injected_script_source.py
index 6d1c51312fdd2dff253b15940d03378a7bb250f0..c3da9aac714487ce9e5a65488afd31ef65d1acae 100755
--- a/Source/devtools/scripts/check_injected_script_source.py
+++ b/Source/devtools/scripts/check_injected_script_source.py
@@ -63,6 +63,8 @@ def validate_injected_script(fileName):
errors_found = False
for i, line in enumerate(lines):
+ if line.find("suppressBlacklist"):
kozy 2016/08/10 17:17:11 find in python returns -1 if not found :(
+ continue
for match in re.finditer(black_list_call_regex, line):
errors_found = True
print "ERROR: Black listed expression in %s at line %02d column %02d: %s" % (os.path.basename(fileName), i + 1, match.start(), match.group(0))
« no previous file with comments | « Source/core/inspector/InjectedScriptSource.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698