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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt

Issue 2781993003: Move tests for Attr interface to LayoutTests/dom/attr/. (Closed)
Patch Set: Created 3 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
OLDNEW
(Empty)
1 Tests that accessing Attr after its Element has been destroyed works without cra shing.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS attributes.length is 1
7 PASS attributes[0] is attributes.item(0)
8 PASS attributes.getNamedItem('a') is attributes.item(0)
9 PASS attributes.item(0).name is 'a'
10 PASS attributes.item(0).value is 'b'
11 PASS attributes.item(0).ownerElement.tagName is 'P'
12 PASS attributes.item(0).value is 'c'
13 PASS attributes.length is 0
14 PASS attr.name is 'a'
15 PASS attr.value is 'b'
16 PASS attr.ownerElement.tagName is 'P'
17 PASS attr.value is 'c'
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698