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

Side by Side Diff: mozilla-tests/e4x/Regress/regress-350238.js

Issue 2865028: Update the mozilla tests to new version (as of 2010-06-29). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 5 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 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 1 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 2
3 /* ***** BEGIN LICENSE BLOCK ***** 3 /* ***** BEGIN LICENSE BLOCK *****
4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 * 5 *
6 * The contents of this file are subject to the Mozilla Public License Version 6 * The contents of this file are subject to the Mozilla Public License Version
7 * 1.1 (the "License"); you may not use this file except in compliance with 7 * 1.1 (the "License"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at 8 * the License. You may obtain a copy of the License at
9 * http://www.mozilla.org/MPL/ 9 * http://www.mozilla.org/MPL/
10 * 10 *
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 var expect = 'No Crash'; 44 var expect = 'No Crash';
45 45
46 printBugNumber(BUGNUMBER); 46 printBugNumber(BUGNUMBER);
47 START(summary); 47 START(summary);
48 48
49 if (typeof document != 'undefined' && 'addEventListener' in document) 49 if (typeof document != 'undefined' && 'addEventListener' in document)
50 { 50 {
51 document.addEventListener('load', 51 document.addEventListener('load',
52 (function () { 52 (function () {
53 var iframe = document.createElement('iframe'); 53 var iframe = document.createElement('iframe');
54 document.body.appendChild('iframe'); 54 document.body.appendChild(iframe);
55 iframe.contentDocument.location.href='javascri pt:<x/>.@*++;'; 55 iframe.contentDocument.location.href='javascri pt:<x/>.@*++;';
56 }), true); 56 }), true);
57 } 57 }
58 else 58 else
59 { 59 {
60 <x/>.@*++; 60 <x/>.@*++;
61 } 61 }
62 62
63 TEST(1, expect, actual); 63 TEST(1, expect, actual);
64 64
65 END(); 65 END();
OLDNEW
« no previous file with comments | « mozilla-tests/e4x/Regress/regress-328249.js ('k') | mozilla-tests/e4x/Regress/regress-354998.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698