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

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

Issue 181693006: Refactoring source image usage in CanvasRenderingContext2D (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: applied last corrections 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
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.
11 PASS: document.body.attributes.myCustomProperty should be 1 and is. 11 PASS: document.body.attributes.myCustomProperty should be 1 and is.
12 PASS: document.getElementsByTagName('body').myCustomProperty should be 1 and is. 12 PASS: document.getElementsByTagName('body').myCustomProperty should be 1 and is.
13 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').myCustomProper ty should be 1 and is. 13 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').myCustomProper ty should be 1 and is.
14 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').createLinearGr adient(0, 0, 0, 0).myCustomProperty should be undefined and is. 14 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').createLinearGr adient(0, 0, 0, 0).myCustomProperty should be undefined and is.
15 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').createPattern( new Image(), 'no-repeat').myCustomProperty should be undefined and is. 15 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').createPattern( document.getElementsByTagName('canvas')[0], 'no-repeat').myCustomProperty should be undefined and is.
16 PASS: document.getElementsByTagName('select')[0].options.myCustomProperty should be 1 and is. 16 PASS: document.getElementsByTagName('select')[0].options.myCustomProperty should be 1 and is.
17 PASS: document.body.childNodes.myCustomProperty should be 1 and is. 17 PASS: document.body.childNodes.myCustomProperty should be 1 and is.
18 PASS: document.all.myCustomProperty should be 1 and is. 18 PASS: document.all.myCustomProperty should be 1 and is.
19 PASS: document.images.myCustomProperty should be 1 and is. 19 PASS: document.images.myCustomProperty should be 1 and is.
20 PASS: document.embeds.myCustomProperty should be 1 and is. 20 PASS: document.embeds.myCustomProperty should be 1 and is.
21 PASS: document.applets.myCustomProperty should be 1 and is. 21 PASS: document.applets.myCustomProperty should be 1 and is.
22 PASS: document.links.myCustomProperty should be 1 and is. 22 PASS: document.links.myCustomProperty should be 1 and is.
23 PASS: document.forms.myCustomProperty should be 1 and is. 23 PASS: document.forms.myCustomProperty should be 1 and is.
24 PASS: document.anchors.myCustomProperty should be 1 and is. 24 PASS: document.anchors.myCustomProperty should be 1 and is.
25 PASS: document.scripts.myCustomProperty should be 1 and is. 25 PASS: document.scripts.myCustomProperty should be 1 and is.
(...skipping 15 matching lines...) Expand all
41 PASS: document.createNSResolver(document).myCustomProperty should be undefined a nd is. 41 PASS: document.createNSResolver(document).myCustomProperty should be undefined a nd is.
42 PASS: document.createExpression('/', document.createNSResolver(document)).myCust omProperty should be undefined and is. 42 PASS: document.createExpression('/', document.createNSResolver(document)).myCust omProperty should be undefined and is.
43 DOM OBJECTS AFTER GARBAGE COLLECTION: 43 DOM OBJECTS AFTER GARBAGE COLLECTION:
44 PASS: document.implementation.myCustomProperty should be 1 and is. 44 PASS: document.implementation.myCustomProperty should be 1 and is.
45 PASS: document.myCustomProperty should be 1 and is. 45 PASS: document.myCustomProperty should be 1 and is.
46 PASS: document.body.myCustomProperty should be 1 and is. 46 PASS: document.body.myCustomProperty should be 1 and is.
47 PASS: document.body.attributes.myCustomProperty should be 1 and is. 47 PASS: document.body.attributes.myCustomProperty should be 1 and is.
48 PASS: document.getElementsByTagName('body').myCustomProperty should be 1 and is. 48 PASS: document.getElementsByTagName('body').myCustomProperty should be 1 and is.
49 FAIL: document.getElementsByTagName('canvas')[0].getContext('2d').myCustomProper ty should be 1 but instead is undefined. 49 FAIL: document.getElementsByTagName('canvas')[0].getContext('2d').myCustomProper ty should be 1 but instead is undefined.
50 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').createLinearGr adient(0, 0, 0, 0).myCustomProperty should be undefined and is.
51 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').createPattern( new Image(), 'no-repeat').myCustomProperty should be undefined and is. 51 PASS: document.getElementsByTagName('canvas')[0].getContext('2d').createPattern( document.getElementsByTagName('canvas')[0], 'no-repeat').myCustomProperty should be undefined and is.
52 PASS: document.getElementsByTagName('select')[0].options.myCustomProperty should be 1 and is. 52 PASS: document.getElementsByTagName('select')[0].options.myCustomProperty should be 1 and is.
53 PASS: document.body.childNodes.myCustomProperty should be 1 and is. 53 PASS: document.body.childNodes.myCustomProperty should be 1 and is.
54 PASS: document.all.myCustomProperty should be 1 and is. 54 PASS: document.all.myCustomProperty should be 1 and is.
55 PASS: document.images.myCustomProperty should be 1 and is. 55 PASS: document.images.myCustomProperty should be 1 and is.
56 PASS: document.embeds.myCustomProperty should be 1 and is. 56 PASS: document.embeds.myCustomProperty should be 1 and is.
57 PASS: document.applets.myCustomProperty should be 1 and is. 57 PASS: document.applets.myCustomProperty should be 1 and is.
58 PASS: document.links.myCustomProperty should be 1 and is. 58 PASS: document.links.myCustomProperty should be 1 and is.
59 PASS: document.forms.myCustomProperty should be 1 and is. 59 PASS: document.forms.myCustomProperty should be 1 and is.
60 PASS: document.anchors.myCustomProperty should be 1 and is. 60 PASS: document.anchors.myCustomProperty should be 1 and is.
61 PASS: document.scripts.myCustomProperty should be 1 and is. 61 PASS: document.scripts.myCustomProperty should be 1 and is.
(...skipping 12 matching lines...) Expand all
74 FAIL: document.styleSheets[0].cssRules[0].myCustomProperty should be 1 but inste ad is undefined. 74 FAIL: document.styleSheets[0].cssRules[0].myCustomProperty should be 1 but inste ad is undefined.
75 PASS: new XPathEvaluator().myCustomProperty should be undefined and is. 75 PASS: new XPathEvaluator().myCustomProperty should be undefined and is.
76 PASS: new XPathEvaluator().evaluate('/', document, null, 0, null).myCustomProper ty should be undefined and is. 76 PASS: new XPathEvaluator().evaluate('/', document, null, 0, null).myCustomProper ty should be undefined and is.
77 PASS: document.createNSResolver(document).myCustomProperty should be undefined a nd is. 77 PASS: document.createNSResolver(document).myCustomProperty should be undefined a nd is.
78 PASS: document.createExpression('/', document.createNSResolver(document)).myCust omProperty should be undefined and is. 78 PASS: document.createExpression('/', document.createNSResolver(document)).myCust omProperty should be undefined and is.
79 DOM EVENT BEFORE GARBAGE COLLECTION 79 DOM EVENT BEFORE GARBAGE COLLECTION
80 PASS: event.myCustomProperty should be 1 and is. 80 PASS: event.myCustomProperty should be 1 and is.
81 DOM EVENT AFTER GARBAGE COLLECTION 81 DOM EVENT AFTER GARBAGE COLLECTION
82 PASS: event.myCustomProperty should be 1 and is. 82 PASS: event.myCustomProperty should be 1 and is.
83 83
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/gc-9.html ('k') | LayoutTests/inspector/profiler/canvas2d/canvas2d-api-changes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698