| Index: third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-storage-dom-access.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-storage-dom-access.php b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-storage-dom-access.php
|
| index c63df4240c60e117c6c8beccf44f47d3326981a6..68a56ae526ee5e46c7e4d9327ae550a8415fcf85 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-storage-dom-access.php
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-storage-dom-access.php
|
| @@ -34,13 +34,13 @@ async_test(make_storage_accessibility_test(sessionStorage),
|
| function make_xorigin_test(storage_name, item_name) {
|
| var storage = window[storage_name];
|
| return function(test) {
|
| - window.addEventListener('message', function(event) {
|
| + window.addEventListener('message', test.step_func(function(event) {
|
| if (event.data != 'ready' && event.data.type == storage_name) {
|
| assert_equals(event.data.value, null);
|
| assert_equals(storage.getItem(item_name), null);
|
| test.done();
|
| }
|
| - });
|
| + }));
|
| };
|
| }
|
|
|
|
|