summaryrefslogtreecommitdiff
path: root/dom/base/test/test_bug1263696.html
blob: 289a26ba4ff14f97ee3d32c4f385a26f80af6673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
  <head>
    <meta><charset="utf-8"/>
    <title>Test Embed/Object Node Conflicts</title>
    <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
    <script type="application/javascript" src="plugin-utils.js"></script>
    <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
    <script type="application/javascript">
     SimpleTest.waitForExplicitFinish();
     var index = 0;
     function startTest() {
       is(index, 12, "Should have loaded all passing frames.");
       SimpleTest.finish();
     }
    </script>
  </head>
  <body onload="startTest()">
    <object data="file_bug1263696_frame_pass.html" style="width: 100px; height: 100px">
      <embed type="text/html" src="file_bug1263696_frame_fail.html" />
    </object>
    <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test">
      <embed type="text/html" src="file_bug1263696_frame_pass.html" />
    </object>
    <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test">
      <div></div>
      <embed type="text/html" src="file_bug1263696_frame_pass.html" />
    </object>
    <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test">
      <div>
        <embed type="text/html" src="file_bug1263696_frame_pass.html" />
      </div>
    </object>
    <object style="width: 100px; height: 100px" data="data:application/x-does-not-exist,test">
      <embed type="text/html" src="file_bug1263696_frame_pass.html" />
      <embed type="text/html" src="file_bug1263696_frame_pass.html" />
      <object data="file_bug1263696_frame_pass.html">
        <embed type="text/html" src="file_bug1263696_frame_fail.html" />
      </object>
      <object data="data:application/x-does-not-exist,test">
        <embed type="text/html" src="file_bug1263696_frame_pass.html" />
      </object>
    </object>
    <div>
      <object data="file_bug1263696_frame_pass.html" style="width: 100px; height: 100px"></object>
      <embed type="text/html" src="file_bug1263696_frame_pass.html" />
    </div>
    <div>
      <embed type="text/html" src="file_bug1263696_frame_pass.html" />
      <object data="file_bug1263696_frame_pass.html" style="width: 100px; height: 100px"></object>
    </div>
  </body>
</html>