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

Unified Diff: tools/dom/scripts/dartmetadata.py

Issue 1679603002: cpsir: triage remainder of html test suite, fix a couple. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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
« tests/html/input_element_test.dart ('K') | « tests/html/input_element_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/dartmetadata.py
diff --git a/tools/dom/scripts/dartmetadata.py b/tools/dom/scripts/dartmetadata.py
index 3e16cf72d5f19a4a2474403f02bf2812f5b81567..e0d28aba27dc5f30bbf748b7788bd85c641dedf7 100644
--- a/tools/dom/scripts/dartmetadata.py
+++ b/tools/dom/scripts/dartmetadata.py
@@ -126,13 +126,13 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', {
# addEventListener on the target, so we avoid
'Event.currentTarget': [
"@Creates('Null')",
- "@Returns('EventTarget|=Object')",
+ "@Returns('EventTarget|=Object|Null')",
],
# Only nodes in the DOM bubble and have target !== currentTarget.
'Event.target': [
"@Creates('Node')",
- "@Returns('EventTarget|=Object')",
+ "@Returns('EventTarget|=Object|Null')",
],
'File.lastModifiedDate': [
@@ -273,7 +273,7 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', {
'MouseEvent.relatedTarget': [
"@Creates('Node')",
- "@Returns('EventTarget|=Object')",
+ "@Returns('EventTarget|=Object|Null')",
],
'PopStateEvent.state': [
« tests/html/input_element_test.dart ('K') | « tests/html/input_element_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698