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

Side by Side Diff: LayoutTests/fast/dom/MicroData/itemtype-add-remove-tokens-expected.txt

Issue 14028014: Remove MicroData implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Also delete all the tests Created 7 years, 8 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
OLDNEW
(Empty)
1 This tests that itemType attribute must update correctly when token have been ad ded or removed.
2
3 Created element of type: div
4 itemType.add must reflect correctly.
5 PASS element.itemType.length == 2 is true
6 PASS element.itemType.toString() == 'http://example.com/foo http://example.com/F OO' is true
7 PASS element.itemType[0] is 'http://example.com/foo'
8 PASS element.itemType[1] is 'http://example.com/FOO'
9 PASS element.itemType.item(0) is 'http://example.com/foo'
10 PASS element.itemType.item(1) is 'http://example.com/FOO'
11
12 itemType.add must not make any changes if an existing token is added.
13 PASS element.itemType.length == 2 is true
14 PASS element.itemType.toString() == 'http://example.com/foo http://example.com/F OO' is true
15
16 itemType.remove must reflect correctly.
17 PASS element.itemType.length == 1 is true
18 PASS element.itemType.contains('http://example.com/foo') is false
19 PASS element.itemType.toString() == 'http://example.com/FOO' is true
20
21 itemType.remove must not make any changes if remove is called for a token that d oesn't exist.
22 PASS element.itemType.length == 1 is true
23 PASS element.itemType.contains('http://example.com/foo') is false
24 PASS element.itemType.toString() == 'http://example.com/FOO' is true
25
26 itemType.length must be 0 when all tokens are removed.
27 PASS element.itemType.length == 0 is true
28 PASS element.itemType.contains('http://example.com/foo') is false
29 PASS element.itemType.contains('http://example.com/FOO') is false
30 PASS successfullyParsed is true
31
32 TEST COMPLETE
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698