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

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

Issue 746433002: Revive tests for Attr.ownerElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
1 Tests that accessing Attr after its Element has been destroyed works without cra shing. 1 Tests that accessing Attr after its Element has been destroyed works without cra shing.
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 attributes.length is 1 6 PASS attributes.length is 1
7 PASS attributes[0] is attributes.item(0) 7 PASS attributes[0] is attributes.item(0)
8 PASS attributes.getNamedItem('a') is attributes.item(0) 8 PASS attributes.getNamedItem('a') is attributes.item(0)
9 PASS attributes.item(0).name is 'a' 9 PASS attributes.item(0).name is 'a'
10 PASS attributes.item(0).value is 'b' 10 PASS attributes.item(0).value is 'b'
11 PASS attributes.item(0).ownerElement.tagName is 'P'
11 PASS attributes.item(0).value is 'c' 12 PASS attributes.item(0).value is 'c'
12 PASS attributes.length is 0 13 PASS attributes.length is 0
13 PASS attr.name is 'a' 14 PASS attr.name is 'a'
14 PASS attr.value is 'b' 15 PASS attr.value is 'b'
16 PASS attr.ownerElement.tagName is 'P'
15 PASS attr.value is 'c' 17 PASS attr.value is 'c'
16 PASS successfullyParsed is true 18 PASS successfullyParsed is true
17 19
18 TEST COMPLETE 20 TEST COMPLETE
19 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698