Index: tools/dom/scripts/dartmetadata.py |
diff --git a/tools/dom/scripts/dartmetadata.py b/tools/dom/scripts/dartmetadata.py |
index 8b6a4cda21c794226cbdeee04415981aacc58966..8fbc8aed039af62cea5fdec38533c7d9cd59cfac 100644 |
--- a/tools/dom/scripts/dartmetadata.py |
+++ b/tools/dom/scripts/dartmetadata.py |
@@ -133,6 +133,11 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', { |
"@Creates('Null')", |
], |
+ 'HTMLCanvasElement.getContext': [ |
+ "@Creates('CanvasRenderingContext2D|RenderingContext')", |
+ "@Returns('CanvasRenderingContext2D|RenderingContext|Null')", |
+ ], |
+ |
'HTMLInputElement.valueAsDate': [ |
"@Creates('Null')", # JS date object. |
], |