OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
fs
2016/06/22 08:33:02
There's some overlap with imported/wpt/html/semant
Shanmuga Pandi
2016/06/22 10:27:32
Done.
| |
2 <meta charset="utf-8"> | |
foolip
2016/06/22 09:37:04
Don't need the charset if the file is entirely US-
Shanmuga Pandi
2016/06/22 10:27:32
Done.
| |
3 <title>Test</title> | |
fs
2016/06/22 08:33:02
Use a title that says something useful. Maybe "HTM
Shanmuga Pandi
2016/06/22 10:27:32
Done.
| |
4 <script src="../../resources/testharness.js"></script> | |
5 <script src="../../resources/testharnessreport.js"></script> | |
6 <body onload="onLoad()"> | |
fs
2016/06/22 08:33:02
Could drop the <body> and just use "window.onload
foolip
2016/06/22 09:37:04
Yep, it can be window.onload = t.step_func_done(fu
Shanmuga Pandi
2016/06/22 10:27:32
Done.
| |
7 <object id="obj" type="image/svg+xml" data="resources/svg-object-contentWindow.s vg"></object> | |
foolip
2016/06/22 09:37:04
You can probably drop all the attributes except da
| |
8 <script> | |
9 var t1 = async_test("Test content window"); | |
foolip
2016/06/22 09:37:04
There's just one test here. In any case, the struc
Shanmuga Pandi
2016/06/22 10:27:32
Done.
| |
10 function onLoad () { | |
11 t1.step(function() { | |
12 var contentWindow = document.getElementById('obj').contentWindow; | |
13 assert_equals(contentWindow.attrInContentWindow, "validAttr", "content win dow and attributes should be accessible"); | |
14 }); | |
15 t1.done() | |
16 } | |
17 </script> | |
18 </body> | |
OLD | NEW |