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

Side by Side Diff: LayoutTests/fast/dom/gc-9-expected.txt

Issue 1033613002: Mark wrappers of canvas rendering context objects as dependent. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test expectation Created 5 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
OLDNEW
1 This page tests whether custom properties on DOM objects persist after garbage c ollection. 1 This page tests whether custom properties on DOM objects persist after garbage c ollection.
2 2
3 If the test passes, you'll see a series of 'PASS' messages below. 3 If the test passes, you'll see a series of 'PASS' messages below.
4 4
5 Because neither WinIE nor FF has reasonable or predictable behavior in this scen ario, this test just documents our behavior to ensure that we don't change it ac cidentally. It is not a prescription for how things should behave. 5 Because neither WinIE nor FF has reasonable or predictable behavior in this scen ario, this test just documents our behavior to ensure that we don't change it ac cidentally. It is not a prescription for how things should behave.
6 6
7 DOM OBJECTS BEFORE GARBAGE COLLECTION: 7 DOM OBJECTS BEFORE GARBAGE COLLECTION:
8 PASS: document.implementation.myCustomProperty should be 1 and is. 8 PASS: document.implementation.myCustomProperty should be 1 and is.
9 PASS: document.myCustomProperty should be 1 and is. 9 PASS: document.myCustomProperty should be 1 and is.
10 PASS: document.body.myCustomProperty should be 1 and is. 10 PASS: document.body.myCustomProperty should be 1 and is.
(...skipping 27 matching lines...) Expand all
38 PASS: new XPathEvaluator().myCustomProperty should be undefined and is. 38 PASS: new XPathEvaluator().myCustomProperty should be undefined and is.
39 PASS: new XPathEvaluator().evaluate('/', document, null, 0, null).myCustomProper ty should be undefined and is. 39 PASS: new XPathEvaluator().evaluate('/', document, null, 0, null).myCustomProper ty should be undefined and is.
40 PASS: document.createNSResolver(document).myCustomProperty should be undefined a nd is. 40 PASS: document.createNSResolver(document).myCustomProperty should be undefined a nd is.
41 PASS: document.createExpression('/', document.createNSResolver(document)).myCust omProperty should be undefined and is. 41 PASS: document.createExpression('/', document.createNSResolver(document)).myCust omProperty should be undefined and is.
42 DOM OBJECTS AFTER GARBAGE COLLECTION: 42 DOM OBJECTS AFTER GARBAGE COLLECTION:
43 PASS: document.implementation.myCustomProperty should be 1 and is. 43 PASS: document.implementation.myCustomProperty should be 1 and is.
44 PASS: document.myCustomProperty should be 1 and is. 44 PASS: document.myCustomProperty should be 1 and is.
45 PASS: document.body.myCustomProperty should be 1 and is. 45 PASS: document.body.myCustomProperty should be 1 and is.
46 PASS: document.body.attributes.myCustomProperty should be 1 and is. 46 PASS: document.body.attributes.myCustomProperty should be 1 and is.
47 PASS: document.getElementsByTagName('body').myCustomProperty should be 1 and is. 47 PASS: document.getElementsByTagName('body').myCustomProperty should be 1 and is.
48 FAIL: document.getElementsByTagName('canvas')[0].getContext('2d').myCustomProper ty should be 1 but instead is undefined. 48 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').myCustomProper ty should be 1 and is.
49 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').createLinearGr adient(0, 0, 0, 0).myCustomProperty should be undefined and is. 49 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').createLinearGr adient(0, 0, 0, 0).myCustomProperty should be undefined and is.
50 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').createPattern( document.getElementsByTagName('canvas')[0], 'no-repeat').myCustomProperty should be undefined and is. 50 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').createPattern( document.getElementsByTagName('canvas')[0], 'no-repeat').myCustomProperty should be undefined and is.
51 PASS: document.getElementsByTagName('select')[0].options.myCustomProperty should be 1 and is. 51 PASS: document.getElementsByTagName('select')[0].options.myCustomProperty should be 1 and is.
52 PASS: document.body.childNodes.myCustomProperty should be 1 and is. 52 PASS: document.body.childNodes.myCustomProperty should be 1 and is.
53 PASS: document.all.myCustomProperty should be 1 and is. 53 PASS: document.all.myCustomProperty should be 1 and is.
54 PASS: document.images.myCustomProperty should be 1 and is. 54 PASS: document.images.myCustomProperty should be 1 and is.
55 PASS: document.embeds.myCustomProperty should be 1 and is. 55 PASS: document.embeds.myCustomProperty should be 1 and is.
56 PASS: document.applets.myCustomProperty should be 1 and is. 56 PASS: document.applets.myCustomProperty should be 1 and is.
57 PASS: document.links.myCustomProperty should be 1 and is. 57 PASS: document.links.myCustomProperty should be 1 and is.
58 PASS: document.forms.myCustomProperty should be 1 and is. 58 PASS: document.forms.myCustomProperty should be 1 and is.
(...skipping 13 matching lines...) Expand all
72 FAIL: document.styleSheets[0].cssRules[0].myCustomProperty should be 1 but inste ad is undefined. 72 FAIL: document.styleSheets[0].cssRules[0].myCustomProperty should be 1 but inste ad is undefined.
73 PASS: new XPathEvaluator().myCustomProperty should be undefined and is. 73 PASS: new XPathEvaluator().myCustomProperty should be undefined and is.
74 PASS: new XPathEvaluator().evaluate('/', document, null, 0, null).myCustomProper ty should be undefined and is. 74 PASS: new XPathEvaluator().evaluate('/', document, null, 0, null).myCustomProper ty should be undefined and is.
75 PASS: document.createNSResolver(document).myCustomProperty should be undefined a nd is. 75 PASS: document.createNSResolver(document).myCustomProperty should be undefined a nd is.
76 PASS: document.createExpression('/', document.createNSResolver(document)).myCust omProperty should be undefined and is. 76 PASS: document.createExpression('/', document.createNSResolver(document)).myCust omProperty should be undefined and is.
77 DOM EVENT BEFORE GARBAGE COLLECTION 77 DOM EVENT BEFORE GARBAGE COLLECTION
78 PASS: event.myCustomProperty should be 1 and is. 78 PASS: event.myCustomProperty should be 1 and is.
79 DOM EVENT AFTER GARBAGE COLLECTION 79 DOM EVENT AFTER GARBAGE COLLECTION
80 PASS: event.myCustomProperty should be 1 and is. 80 PASS: event.myCustomProperty should be 1 and is.
81 81
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698