OLD | NEW |
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 Loading... |
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(); |
OLD | NEW |