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

Side by Side Diff: LayoutTests/fast/events/constructors/storage-event-constructor-expected.txt

Issue 85263002: Improve handling of dictionary conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have conversion methods take a context argument; elaborate error msgs further. Created 7 years 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 unified diff | Download patch
OLDNEW
1 This tests the constructor for the StorageEvent DOM class. 1 This tests the constructor for the StorageEvent DOM class.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS new StorageEvent('eventType').bubbles is false 6 PASS new StorageEvent('eventType').bubbles is false
7 PASS new StorageEvent('eventType').cancelable is false 7 PASS new StorageEvent('eventType').cancelable is false
8 PASS new StorageEvent('eventType').key is "" 8 PASS new StorageEvent('eventType').key is ""
9 PASS new StorageEvent('eventType').oldValue is null 9 PASS new StorageEvent('eventType').oldValue is null
10 PASS new StorageEvent('eventType').newValue is null 10 PASS new StorageEvent('eventType').newValue is null
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 PASS new StorageEvent('eventType', { url: true }).url is "true" 61 PASS new StorageEvent('eventType', { url: true }).url is "true"
62 PASS new StorageEvent('eventType', { url: 12345 }).url is "12345" 62 PASS new StorageEvent('eventType', { url: 12345 }).url is "12345"
63 PASS new StorageEvent('eventType', { url: 18446744073709551615 }).url is "184467 44073709552000" 63 PASS new StorageEvent('eventType', { url: 18446744073709551615 }).url is "184467 44073709552000"
64 PASS new StorageEvent('eventType', { url: NaN }).url is "NaN" 64 PASS new StorageEvent('eventType', { url: NaN }).url is "NaN"
65 PASS new StorageEvent('eventType', { url: [] }).url is "" 65 PASS new StorageEvent('eventType', { url: [] }).url is ""
66 PASS new StorageEvent('eventType', { url: [1, 2, 3] }).url is "1,2,3" 66 PASS new StorageEvent('eventType', { url: [1, 2, 3] }).url is "1,2,3"
67 PASS new StorageEvent('eventType', { url: {abcde: 12345} }).url is "[object Obje ct]" 67 PASS new StorageEvent('eventType', { url: {abcde: 12345} }).url is "[object Obje ct]"
68 PASS new StorageEvent('eventType', { url: {valueOf: function () { return 'abcde' ; } } }).url is "[object Object]" 68 PASS new StorageEvent('eventType', { url: {valueOf: function () { return 'abcde' ; } } }).url is "[object Object]"
69 PASS new StorageEvent('eventType', { storageArea: localStorage }).storageArea is localStorage 69 PASS new StorageEvent('eventType', { storageArea: localStorage }).storageArea is localStorage
70 PASS new StorageEvent('eventType', { storageArea: sessionStorage }).storageArea is sessionStorage 70 PASS new StorageEvent('eventType', { storageArea: sessionStorage }).storageArea is sessionStorage
71 PASS new StorageEvent('eventType', { storageArea: test_object }).storageArea is null 71 PASS new StorageEvent('eventType', { storageArea: test_object }).storageArea thr ew exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' pr operty does not have a Storage type..
72 PASS new StorageEvent('eventType', { storageArea: window }).storageArea is null 72 PASS new StorageEvent('eventType', { storageArea: window }).storageArea threw ex ception TypeError: Failed to construct 'StorageEvent': The 'storageArea' propert y does not have a Storage type..
73 PASS new StorageEvent('eventType', { storageArea: document }).storageArea is nul l 73 PASS new StorageEvent('eventType', { storageArea: document }).storageArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' prope rty does not have a Storage type..
74 PASS new StorageEvent('eventType', { storageArea: undefined }).storageArea is nu ll 74 PASS new StorageEvent('eventType', { storageArea: undefined }).storageArea is nu ll
75 PASS new StorageEvent('eventType', { storageArea: null }).storageArea is null 75 PASS new StorageEvent('eventType', { storageArea: null }).storageArea is null
76 PASS new StorageEvent('eventType', { storageArea: false }).storageArea is null 76 PASS new StorageEvent('eventType', { storageArea: false }).storageArea threw exc eption TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type..
77 PASS new StorageEvent('eventType', { storageArea: true }).storageArea is null 77 PASS new StorageEvent('eventType', { storageArea: true }).storageArea threw exce ption TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type..
78 PASS new StorageEvent('eventType', { storageArea: '' }).storageArea is null 78 PASS new StorageEvent('eventType', { storageArea: '' }).storageArea threw except ion TypeError: Failed to construct 'StorageEvent': The 'storageArea' property do es not have a Storage type..
79 PASS new StorageEvent('eventType', { storageArea: 'chocolate' }).storageArea is null 79 PASS new StorageEvent('eventType', { storageArea: 'chocolate' }).storageArea thr ew exception TypeError: Failed to construct 'StorageEvent': The 'storageArea' pr operty does not have a Storage type..
80 PASS new StorageEvent('eventType', { storageArea: 12345 }).storageArea is null 80 PASS new StorageEvent('eventType', { storageArea: 12345 }).storageArea threw exc eption TypeError: Failed to construct 'StorageEvent': The 'storageArea' property does not have a Storage type..
81 PASS new StorageEvent('eventType', { storageArea: 18446744073709551615 }).storag eArea is null 81 PASS new StorageEvent('eventType', { storageArea: 18446744073709551615 }).storag eArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storag eArea' property does not have a Storage type..
82 PASS new StorageEvent('eventType', { storageArea: NaN }).storageArea is null 82 PASS new StorageEvent('eventType', { storageArea: NaN }).storageArea threw excep tion TypeError: Failed to construct 'StorageEvent': The 'storageArea' property d oes not have a Storage type..
83 PASS new StorageEvent('eventType', { storageArea: {valueOf: function () { return window; } } }).storageArea == window is false 83 PASS new StorageEvent('eventType', { storageArea: {valueOf: function () { return window; } } }).storageArea == window threw exception TypeError: Failed to const ruct 'StorageEvent': The 'storageArea' property does not have a Storage type..
84 PASS new StorageEvent('eventType', { get storageArea() { return 123; } }).storag eArea is null 84 PASS new StorageEvent('eventType', { get storageArea() { return localStorage; } }).storageArea is localStorage
85 PASS new StorageEvent('eventType', { get storageArea() { return 123; } }).storag eArea threw exception TypeError: Failed to construct 'StorageEvent': The 'storag eArea' property does not have a Storage type..
85 PASS new StorageEvent('eventType', { get storageArea() { throw 'StorageEvent Err or'; } }) threw exception StorageEvent Error. 86 PASS new StorageEvent('eventType', { get storageArea() { throw 'StorageEvent Err or'; } }) threw exception StorageEvent Error.
86 PASS new StorageEvent('eventType', { bubbles: true, cancelable: false, key: 'abc ', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).bu bbles is true 87 PASS new StorageEvent('eventType', { bubbles: true, cancelable: false, key: 'abc ', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).bu bbles is true
87 PASS new StorageEvent('eventType', { bubbles: false, cancelable: true, key: 'abc ', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).ca ncelable is true 88 PASS new StorageEvent('eventType', { bubbles: false, cancelable: true, key: 'abc ', oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).ca ncelable is true
88 PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc' , oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).key is "abc" 89 PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc' , oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).key is "abc"
89 PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc' , oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).old Value is "def" 90 PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc' , oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).old Value is "def"
90 PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc' , oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).new Value is "ghi" 91 PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc' , oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).new Value is "ghi"
91 PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc' , oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).url is "jkl" 92 PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc' , oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).url is "jkl"
92 PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc' , oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).sto rageArea is localStorage 93 PASS new StorageEvent('eventType', { bubbles: true, cancelable: true, key: 'abc' , oldValue: 'def', newValue: 'ghi', url: 'jkl', storageArea: localStorage }).sto rageArea is localStorage
93 PASS successfullyParsed is true 94 PASS successfullyParsed is true
94 95
95 TEST COMPLETE 96 TEST COMPLETE
96 97
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698