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

Side by Side Diff: LayoutTests/storage/indexeddb/event-init-expected.txt

Issue 177633006: Implement IDBVersionChangeEvent ctor w/ IDBVersionChangeEventInit dict (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/storage/indexeddb/event-init.html ('k') | Source/bindings/bindings.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Verify the use of IDBVersionChangeEventInit
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 event = new IDBVersionChangeEvent('default')
7 PASS event instanceof IDBVersionChangeEvent is true
8 PASS event.type is "default"
9 PASS event.oldVersion is 0
10 PASS event.newVersion is null
11
12 initEvent = {oldVersion: 123, newVersion: 456}
13 event = new IDBVersionChangeEvent('foo', initEvent)
14 PASS event instanceof IDBVersionChangeEvent is true
15 PASS event.type is "foo"
16 PASS event.oldVersion is initEvent.oldVersion
17 PASS event.newVersion is initEvent.newVersion
18
19 initEvent = {oldVersion: 'legacy', newVersion: null}
20 event = new IDBVersionChangeEvent('bar', initEvent)
21 PASS event instanceof IDBVersionChangeEvent is true
22 PASS event.type is "bar"
23 PASS event.oldVersion is 0
24 PASS event.newVersion is null
25 PASS successfullyParsed is true
26
27 TEST COMPLETE
28
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/event-init.html ('k') | Source/bindings/bindings.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698