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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_constructor_eventinit.html

Issue 1453993002: update-w3c-deps import using blink cc6d84edb87e89c363ab48dac8a983213b9dc02c: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Skip imported/web-platform-tests/html/webappapis/scripting/events/onerroreventhandler.html Created 5 years, 1 month 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: third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_constructor_eventinit.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_constructor_eventinit.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_constructor_eventinit.html
index 441a5627b9086a56458d944ef331649a7f9663bb..738e6035b9d6f0a218292467f4aed5bde7242ed0 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_constructor_eventinit.html
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_constructor_eventinit.html
@@ -9,21 +9,18 @@
<h1>event_Constructor</h1>
<div id="log"></div>
<script>
- test(function() {
- var t = async_test("StorageEvent constructor and nulls");
+ async_test(function(t) {
function onStorageEvent(event) {
- t.step(function() {
- assert_equals(event.type, 'storage', 'type');
- assert_equals(event.key, null, 'key');
- assert_equals(event.oldValue, null, 'oldValue');
- assert_equals(event.newValue, null, 'newValue');
- assert_equals(event.url, 'null', 'url');
- assert_equals(event.storageArea, null, 'storageArea');
- });
+ assert_equals(event.type, 'storage', 'type');
+ assert_equals(event.key, null, 'key');
+ assert_equals(event.oldValue, null, 'oldValue');
+ assert_equals(event.newValue, null, 'newValue');
+ assert_equals(event.url, 'null', 'url');
+ assert_equals(event.storageArea, null, 'storageArea');
t.done();
}
- window.addEventListener('storage', onStorageEvent, false);
+ window.addEventListener('storage', t.step_func(onStorageEvent), false);
var event = new StorageEvent('storage', {
key: null,
oldValue: null,
@@ -31,7 +28,7 @@
url: null
});
window.dispatchEvent(event);
- }, "Construct StorageEvent with StorageEventInit.");
+ }, "StorageEvent constructor and nulls - Construct StorageEvent with StorageEventInit.");
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698