OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <p id="description"></p> | 7 <p id="description"></p> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 | 10 |
11 description("This tests the constructor for the StorageEvent DOM class."); | 11 description("This tests the constructor for the StorageEvent DOM class."); |
12 | 12 |
13 // No initializer is passed. | 13 // No initializer is passed. |
14 shouldBe("new StorageEvent('eventType').bubbles", "false"); | 14 shouldBe("new StorageEvent('eventType').bubbles", "false"); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 shouldBe("new StorageEvent('eventType', { bubbles: true, cancelable: false, key:
'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage
}).bubbles", "true"); | 77 shouldBe("new StorageEvent('eventType', { bubbles: true, cancelable: false, key:
'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage
}).bubbles", "true"); |
78 shouldBe("new StorageEvent('eventType', { bubbles: false, cancelable: true, key:
'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage
}).cancelable", "true"); | 78 shouldBe("new StorageEvent('eventType', { bubbles: false, cancelable: true, key:
'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage
}).cancelable", "true"); |
79 shouldBeEqualToString("new StorageEvent('eventType', { bubbles: true, cancelable
: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: l
ocalStorage }).key", "abc"); | 79 shouldBeEqualToString("new StorageEvent('eventType', { bubbles: true, cancelable
: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: l
ocalStorage }).key", "abc"); |
80 shouldBeEqualToString("new StorageEvent('eventType', { bubbles: true, cancelable
: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: l
ocalStorage }).oldValue", "def"); | 80 shouldBeEqualToString("new StorageEvent('eventType', { bubbles: true, cancelable
: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: l
ocalStorage }).oldValue", "def"); |
81 shouldBeEqualToString("new StorageEvent('eventType', { bubbles: true, cancelable
: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: l
ocalStorage }).newValue", "ghi"); | 81 shouldBeEqualToString("new StorageEvent('eventType', { bubbles: true, cancelable
: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: l
ocalStorage }).newValue", "ghi"); |
82 shouldBeEqualToString("new StorageEvent('eventType', { bubbles: true, cancelable
: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: l
ocalStorage }).url", "jkl"); | 82 shouldBeEqualToString("new StorageEvent('eventType', { bubbles: true, cancelable
: true, key: 'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: l
ocalStorage }).url", "jkl"); |
83 shouldBe("new StorageEvent('eventType', { bubbles: true, cancelable: true, key:
'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }
).storageArea", "localStorage"); | 83 shouldBe("new StorageEvent('eventType', { bubbles: true, cancelable: true, key:
'abc', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }
).storageArea", "localStorage"); |
84 </script> | 84 </script> |
85 </body> | 85 </body> |
86 </html> | 86 </html> |
OLD | NEW |