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

Side by Side Diff: chrome/test/data/dom_checker/dom_checker.html

Issue 53064: - Launch DOM checker in the subdirectory 'dom_checker/', as specified by the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 <html> 1 <html>
2 <!-- 2 <!--
3 3
4 DOM checker - browser domain context separation validator 4 DOM checker - browser domain context separation validator
5 ---------------------------------------------------------- 5 ----------------------------------------------------------
6 6
7 Authors: Michal Zalewski <lcamtuf@google.com> 7 Authors: Michal Zalewski <lcamtuf@google.com>
8 Filipe Almeida <filipe@google.com> 8 Filipe Almeida <filipe@google.com>
9 9
10 Copyright 2008 by Google Inc. All Rights Reserved. 10 Copyright 2008 by Google Inc. All Rights Reserved.
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 431
432 if (option_badonly) return; 432 if (option_badonly) return;
433 x = x.replace('frames[0].frames[0]','(blank)').replace('frames[0]','(third-par ty)'); 433 x = x.replace('frames[0].frames[0]','(blank)').replace('frames[0]','(third-par ty)');
434 log('<font color=teal>Check passed : ' + x + ' access denied.</font>'); 434 log('<font color=teal>Check passed : ' + x + ' access denied.</font>');
435 } 435 }
436 436
437 437
438 /* Log test failure. */ 438 /* Log test failure. */
439 function BAD(x) { 439 function BAD(x) {
440 automation.IncrementTestCount(); 440 automation.IncrementTestCount();
441 automation.AddFailure(x);
442 441
443 bad++; 442 bad++;
444 x = x.replace('frames[0].frames[0]','(blank)').replace('frames[0]','(third-par ty)'); 443 x = x.replace('frames[0].frames[0]','(blank)').replace('frames[0]','(third-par ty)');
445 log('<font color=red>CHECK FAILED : ' + x + ' is possible!</font>'); 444 log('<font color=red>CHECK FAILED : ' + x + ' is possible!</font>');
445
446 automation.AddFailure(x);
446 } 447 }
447 448
448 449
449 /* For debugging and notification purposes... */ 450 /* For debugging and notification purposes... */
450 function DEBUG(x) { 451 function DEBUG(x) {
451 log('<font color=black>Debug output : ' + x + '</font>'); 452 log('<font color=black>Debug output : ' + x + '</font>');
452 } 453 }
453 454
454 455
455 /* Let's see if the target page succeeded at planting a variable in our 456 /* Let's see if the target page succeeded at planting a variable in our
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 <!-- Test frame used for file:/// URLs --> 1243 <!-- Test frame used for file:/// URLs -->
1243 <iframe height=1 width=1 id=ef name=ef onload="ef_load_ok()" style="border-width : 0px"> 1244 <iframe height=1 width=1 id=ef name=ef onload="ef_load_ok()" style="border-width : 0px">
1244 </iframe> 1245 </iframe>
1245 1246
1246 <!-- IPC frame for write validation --> 1247 <!-- IPC frame for write validation -->
1247 <iframe id=ipc_read name=ipc_read src="dom_blank_page.html#NONE" height=1 width= 1 style="border-width: 0px"> 1248 <iframe id=ipc_read name=ipc_read src="dom_blank_page.html#NONE" height=1 width= 1 style="border-width: 0px">
1248 </iframe> 1249 </iframe>
1249 1250
1250 </body> 1251 </body>
1251 </html> 1252 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/dom_checker/automation.js ('k') | chrome/test/data/dom_checker/expected_failures-file.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698