Index: third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-data.html |
diff --git a/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-data.html b/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-data.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..97ef33cf2a680005e61ee9d6907f090b4ae8af12 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-data.html |
@@ -0,0 +1,9 @@ |
+<!DOCTYPE html> |
+<title>InputEvent data should be non nullable</title> |
foolip
2016/12/15 10:53:49
This can be upstreamed directly to imported/wpt/in
|
+<script src="../../../resources/testharness.js"></script> |
+<script src="../../../resources/testharnessreport.js"></script> |
+<script> |
+test(function() { |
+ assert_equals(new InputEvent('type', { data: null }).data, "null"); |
+}, 'InputEvent.data should be non nullable'); |
+</script> |