| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../http/tests/inspector/console-test.js"></script> | 4 <script src="../../http/tests/inspector/console-test.js"></script> |
| 5 | 5 |
| 6 <script> | 6 <script> |
| 7 // Global Values | 7 // Global Values |
| 8 var globals = []; | 8 var globals = []; |
| 9 | 9 |
| 10 function log(current) | 10 function log(current) |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 arrayLikeFunction.splice = function() {}; | 69 arrayLikeFunction.splice = function() {}; |
| 70 var smallTypedArray = new Uint8Array(new ArrayBuffer(400)); | 70 var smallTypedArray = new Uint8Array(new ArrayBuffer(400)); |
| 71 smallTypedArray["foo"] = "bar"; | 71 smallTypedArray["foo"] = "bar"; |
| 72 var bigTypedArray = new Uint8Array(new ArrayBuffer(400 * 1000 * 1000)); | 72 var bigTypedArray = new Uint8Array(new ArrayBuffer(400 * 1000 * 1000)); |
| 73 bigTypedArray["FAIL"] = "FAIL: Object.getOwnPropertyNames() should not have
been run"; | 73 bigTypedArray["FAIL"] = "FAIL: Object.getOwnPropertyNames() should not have
been run"; |
| 74 var namespace = {}; | 74 var namespace = {}; |
| 75 namespace.longSubNamespace = {}; | 75 namespace.longSubNamespace = {}; |
| 76 namespace.longSubNamespace.x = {}; | 76 namespace.longSubNamespace.x = {}; |
| 77 namespace.longSubNamespace.x.className = function(){}; | 77 namespace.longSubNamespace.x.className = function(){}; |
| 78 var instanceWithLongClassName = new namespace.longSubNamespace.x.className()
; | 78 var instanceWithLongClassName = new namespace.longSubNamespace.x.className()
; |
| 79 var bigArray = []; |
| 80 bigArray.length = 200; |
| 81 bigArray.fill(1); |
| 79 globals = [ | 82 globals = [ |
| 80 regex1, regex2, str, str2, error, errorWithMessage, errorWithMultilineMe
ssage, node, func, multilinefunc, | 83 regex1, regex2, str, str2, error, errorWithMessage, errorWithMultilineMe
ssage, node, func, multilinefunc, |
| 81 num, linkify, null, undefined, valuelessAttribute, valuedAttribute, exis
tingAttribute, throwingLengthGetter, | 84 num, linkify, null, undefined, valuelessAttribute, valuedAttribute, exis
tingAttribute, throwingLengthGetter, |
| 82 NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [fun
ction() {}], bar, svg, | 85 NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [fun
ction() {}], bar, svg, |
| 83 objectWithNonEnumerables, negZero, Object.create(null), Object, Object.p
rototype, arrayLikeFunction, | 86 objectWithNonEnumerables, negZero, Object.create(null), Object, Object.p
rototype, arrayLikeFunction, |
| 84 new Number(42), new String("abc"), new Uint16Array([1, 2, 3]), textNode,
domException(), | 87 new Number(42), new String("abc"), new Uint16Array([1, 2, 3]), textNode,
domException(), |
| 85 smallTypedArray, bigTypedArray, instanceWithLongClassName | 88 smallTypedArray, bigTypedArray, instanceWithLongClassName, bigArray |
| 86 ]; | 89 ]; |
| 87 | 90 |
| 88 runTest(); | 91 runTest(); |
| 89 } | 92 } |
| 90 | 93 |
| 91 function domException() | 94 function domException() |
| 92 { | 95 { |
| 93 var result = "FAIL"; | 96 var result = "FAIL"; |
| 94 try { | 97 try { |
| 95 var a = document.createElement("div"); | 98 var a = document.createElement("div"); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 } | 148 } |
| 146 </script> | 149 </script> |
| 147 </head> | 150 </head> |
| 148 | 151 |
| 149 <body onload="onload()"> | 152 <body onload="onload()"> |
| 150 <div id="x"></div> | 153 <div id="x"></div> |
| 151 <p id="p">Tests that console logging dumps proper messages.</p> | 154 <p id="p">Tests that console logging dumps proper messages.</p> |
| 152 </body> | 155 </body> |
| 153 <svg id="svg-node"></svg> | 156 <svg id="svg-node"></svg> |
| 154 </html> | 157 </html> |
| OLD | NEW |