Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / wrapper-identity.html
blob069f5fdf275c3327ed664eed4179e84d847f4726
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 <script src="resources/wrapper-identity-base.js"></script>
6 <style id="style" media="screen">
7 .non-existent-class {
8 color: black;
9 clip: rect(0, 0, 1, 1);
10 content: counter(dummy, square);
12 </style>
13 </head>
14 <body>
15 <script>
17 function runTest()
19 description("This tests wrapper identity for JavaScript");
20 if (!window.testRunner)
21 debug("The ObjC tests only work in DumpRenderTree.\n");
23 var tests = [ ];
24 tests.push("[ ]");
25 tests.push("{ }");
26 tests.push("new Array()");
27 tests.push("new RegExp()");
28 tests.push("new String()");
29 for (var i = 0; i < staticWindowProperties.length; i++) //>
30 tests.push("window['" + staticWindowProperties[i] + "']");
32 for (var i = 0; i < tests.length; i++) //>
33 testJS(tests[i]);
35 // Not yet tested -- most interesting parts of the DOM, like the tests in
36 // wrapper-classes.html.
39 window.onload = runTest;
40 </script>
41 </body>
42 </html>