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

Side by Side Diff: LayoutTests/fast/dom/element-attribute-js-null.html

Issue 220563002: Remove HTMLFrameElement.location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix tests Created 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/element-attribute-js-null-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style type="text/css"> 3 <style type="text/css">
4 .pass { color: green; } 4 .pass { color: green; }
5 .fail { color: red; } 5 .fail { color: red; }
6 </style> 6 </style>
7 <script> 7 <script>
8 function printOut(msg) 8 function printOut(msg)
9 { 9 {
10 var console = document.getElementById("console"); 10 var console = document.getElementById("console");
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 {name: 'encoding', expectedNull: 'application/x-www-form -urlencoded'}, 258 {name: 'encoding', expectedNull: 'application/x-www-form -urlencoded'},
259 {name: 'method', expectedNull: 'get'}, 259 {name: 'method', expectedNull: 'get'},
260 {name: 'name', expectedNull: 'null'}, 260 {name: 'name', expectedNull: 'null'},
261 {name: 'target', expectedNull: 'null'} 261 {name: 'target', expectedNull: 'null'}
262 ] 262 ]
263 }, 263 },
264 { 264 {
265 type: 'HTMLFrameElement', 265 type: 'HTMLFrameElement',
266 elementToUse: document.createElement('frame'), 266 elementToUse: document.createElement('frame'),
267 attributes: [ 267 attributes: [
268 // location is a non-standard attribute, which reflects the src content
269 // attribute when getting, and must therefore be tested before src.
270 {name: 'location', expectedNull: ''},
271 {name: 'frameBorder', expectedNull: 'null'}, 268 {name: 'frameBorder', expectedNull: 'null'},
272 {name: 'longDesc', expectedNull: 'null', isUrl: true}, 269 {name: 'longDesc', expectedNull: 'null', isUrl: true},
273 {name: 'marginHeight', expectedNull: ''}, 270 {name: 'marginHeight', expectedNull: ''},
274 {name: 'marginWidth', expectedNull: ''}, 271 {name: 'marginWidth', expectedNull: ''},
275 {name: 'name', expectedNull: 'null'}, 272 {name: 'name', expectedNull: 'null'},
276 {name: 'scrolling', expectedNull: 'null'}, 273 {name: 'scrolling', expectedNull: 'null'},
277 {name: 'src', expectedNull: 'null', isUrl: true} 274 {name: 'src', expectedNull: 'null', isUrl: true}
278 ] 275 ]
279 }, 276 },
280 { 277 {
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 printOut(''); 716 printOut('');
720 } 717 }
721 } 718 }
722 </script> 719 </script>
723 </head> 720 </head>
724 <body onload="runTests()"> 721 <body onload="runTests()">
725 <p>This test setting various attributes of a elements to JavaScript null.</p > 722 <p>This test setting various attributes of a elements to JavaScript null.</p >
726 <div id="console"></div> 723 <div id="console"></div>
727 </body> 724 </body>
728 </html> 725 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/element-attribute-js-null-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698