| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_local_removeitem.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_local_removeitem.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_local_removeitem.html
|
| index d59cc7a3c7a9539f220a9de6d5995206a738273e..9d8070f0e1d8e452806b041968c42a43c4a5f16f 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_local_removeitem.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/webstorage/event_local_removeitem.html
|
| @@ -9,10 +9,11 @@
|
|
|
| <script>
|
|
|
| -var t = async_test("key property test of local event");
|
| -
|
| -t.step(function() {
|
| +async_test(function(t) {
|
| localStorage.clear();
|
| + t.add_cleanup(function() { localStorage.clear() });
|
| +
|
| + self.step = function(f) { t.step(f); };
|
|
|
| var event_index = 0;
|
| window.addEventListener('storage', t.step_func(function(event) {
|
| @@ -39,6 +40,6 @@ t.step(function() {
|
| el.setAttribute('id', 'ifrm');
|
| el.setAttribute('src', 'resources/local_set_item_remove_iframe.html');
|
| document.body.appendChild(el);
|
| -});
|
| +}, "key property test of local event");
|
|
|
| </script>
|
|
|