Changeset 268761 in webkit
- Timestamp:
- Oct 20, 2020, 2:40:40 PM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 5 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/pylintrc (modified) (1 diff)
-
Scripts/webkitpy/style/checkers/cpp.py (modified) (1 diff)
-
Scripts/webkitpy/w3c/common.py (modified) (1 diff)
-
flatpak/flatpakutils.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r268752 r268761 1 2020-10-20 Jonathan Bedard <jbedard@apple.com> 2 3 [webkitpy] Use allowlist and blocklist 4 https://bugs.webkit.org/show_bug.cgi?id=217985 5 <rdar://problem/70499499> 6 7 Reviewed by Aakash Jain. 8 9 * Scripts/webkitpy/pylintrc: 10 * Scripts/webkitpy/style/checkers/cpp.py: 11 (check_namespace_indentation): 12 * Scripts/webkitpy/w3c/common.py: 13 (is_basename_skipped): 14 * flatpak/flatpakutils.py: 15 (WebkitFlatpak.setup_gstbuild): 16 1 17 2020-10-20 Aakash Jain <aakash_jain@apple.com> 2 18 -
trunk/Tools/Scripts/webkitpy/pylintrc
r133504 r268761 39 39 profile=no 40 40 41 # Add files or directories to the bl acklist. They should be base names, not41 # Add files or directories to the blocklist. They should be base names, not 42 42 # paths. 43 43 ignore=CVS -
trunk/Tools/Scripts/webkitpy/style/checkers/cpp.py
r267917 r268761 2485 2485 2486 2486 2487 # Enum declaration whitelist2487 # Enum declaration allowlist 2488 2488 _ALLOW_ALL_UPPERCASE_ENUM = ['JSTokenType'] 2489 2489 -
trunk/Tools/Scripts/webkitpy/w3c/common.py
r246434 r268761 80 80 """ 81 81 assert '/' not in basename 82 bl acklist = [82 blocklist = [ 83 83 'MANIFEST.json', # MANIFEST.json is automatically regenerated. 84 84 'OWNERS', # https://crbug.com/584660 https://crbug.com/702283 85 85 'reftest.list', # https://crbug.com/582838 86 86 ] 87 return (basename in bl acklist87 return (basename in blocklist 88 88 or is_testharness_baseline(basename) 89 89 or basename.startswith('.')) -
trunk/Tools/flatpak/flatpakutils.py
r268639 r268761 616 616 command = [os.path.join(gst_dir, 'gst-env.py'), '--builddir', gst_builddir, '--srcdir', gst_dir, "--only-environment"] 617 617 gst_env = run_sanitized(command, gather_output=True) 618 whitelist = ("LD_LIBRARY_PATH", "PATH", "PKG_CONFIG_PATH")618 allowlist = ("LD_LIBRARY_PATH", "PATH", "PKG_CONFIG_PATH") 619 619 nopathlist = ("GST_DEBUG", "GST_VERSION", "GST_ENV") 620 620 env = [] … … 622 622 tokens = line.split("=") 623 623 var_name, contents = tokens[0], "=".join(tokens[1:]) 624 if not var_name.startswith("GST_") and var_name not in whitelist:624 if not var_name.startswith("GST_") and var_name not in allowlist: 625 625 continue 626 626 if var_name not in nopathlist:
Note:
See TracChangeset
for help on using the changeset viewer.