Index: sdk/lib/html/scripts/generator.py |
diff --git a/sdk/lib/html/scripts/generator.py b/sdk/lib/html/scripts/generator.py |
index 4cccaa09dcf20967b9c06691f2f4b29642c92be8..5526a2a460f4d65d0bb10ab12f7d7c05bc59d708 100644 |
--- a/sdk/lib/html/scripts/generator.py |
+++ b/sdk/lib/html/scripts/generator.py |
@@ -694,6 +694,12 @@ dart2js_annotations = { |
"@Creates('ArrayBuffer|Blob|Document|=Object|=List|String|num')", |
} |
+# Placeholder to add experimental flag, implementation for this is |
+# pending in a separate CL. |
+dart_annotations = { |
+ 'Element.webkitMatchesSelector': ['@Experimental()'], |
+} |
+ |
def FindAnnotations(idl_type, interface_name, member_name): |
ann1 = dart2js_annotations.get("%s.%s" % (interface_name, member_name)) |
if ann1: |