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

Unified Diff: Source/bindings/scripts/compute_global_objects.py

Issue 434133002: Support WebIDL's ExtendedAttributeIdentList in the Blink parser (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 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: Source/bindings/scripts/compute_global_objects.py
diff --git a/Source/bindings/scripts/compute_global_objects.py b/Source/bindings/scripts/compute_global_objects.py
index 93d2eed5db3d4e7f505fc2bf722938a395152fcd..2e83e466ef0803abebed04b9343a8cedf623f623 100755
--- a/Source/bindings/scripts/compute_global_objects.py
+++ b/Source/bindings/scripts/compute_global_objects.py
@@ -73,9 +73,7 @@ def idl_file_to_global_names(idl_filename):
global_value = extended_attributes[global_key]
if global_value:
- # FIXME: In spec names are comma-separated, which makes parsing very
- # difficult (https://www.w3.org/Bugs/Public/show_bug.cgi?id=24959).
- return global_value.split('&')
+ return global_value.strip('()').split(',')
return [interface_name]
« no previous file with comments | « Source/bindings/scripts/blink_idl_parser.py ('k') | Source/bindings/scripts/generate_global_constructors.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698