| 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 <script> | 5 <script> |
| 6 | 6 |
| 7 // Global Values | 7 // Global Values |
| 8 var globals = []; | 8 var globals = []; |
| 9 | 9 |
| 10 function log(current) | 10 function log(current) |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 }); | 59 }); |
| 60 var negZero = 1 / Number.NEGATIVE_INFINITY; | 60 var negZero = 1 / Number.NEGATIVE_INFINITY; |
| 61 | 61 |
| 62 var arrayLikeFunction = function() {}; | 62 var arrayLikeFunction = function() {}; |
| 63 arrayLikeFunction.splice = function() {}; | 63 arrayLikeFunction.splice = function() {}; |
| 64 | 64 |
| 65 globals = [ | 65 globals = [ |
| 66 regex1, regex2, str, str2, error, errorWithMessage, node, func, multilin
efunc, num, linkify, | 66 regex1, regex2, str, str2, error, errorWithMessage, node, func, multilin
efunc, num, linkify, |
| 67 null, undefined, valuelessAttribute, valuedAttribute, existingAttribute,
throwingLengthGetter, | 67 null, undefined, valuelessAttribute, valuedAttribute, existingAttribute,
throwingLengthGetter, |
| 68 NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [fun
ction() {}], bar, svg, | 68 NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [fun
ction() {}], bar, svg, |
| 69 objectWithNonEnumerables, negZero, Object.create(null), Object, Object.p
rototype, arrayLikeFunction | 69 objectWithNonEnumerables, negZero, Object.create(null), Object, Object.p
rototype, arrayLikeFunction, |
| 70 new Number(42), new String("abc") |
| 70 ]; | 71 ]; |
| 71 | 72 |
| 72 runTest(); | 73 runTest(); |
| 73 } | 74 } |
| 74 | 75 |
| 75 function test() | 76 function test() |
| 76 { | 77 { |
| 77 InspectorTest.hideInspectorView(); | 78 InspectorTest.hideInspectorView(); |
| 78 InspectorTest.evaluateInPage("globals.length", loopOverGlobals.bind(this, 0)
); | 79 InspectorTest.evaluateInPage("globals.length", loopOverGlobals.bind(this, 0)
); |
| 79 | 80 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 110 } | 111 } |
| 111 </script> | 112 </script> |
| 112 </head> | 113 </head> |
| 113 | 114 |
| 114 <body onload="onload()"> | 115 <body onload="onload()"> |
| 115 <div id="x"></div> | 116 <div id="x"></div> |
| 116 <p id="p">Tests that console logging dumps proper messages.</p> | 117 <p id="p">Tests that console logging dumps proper messages.</p> |
| 117 </body> | 118 </body> |
| 118 <svg id="svg-node"></svg> | 119 <svg id="svg-node"></svg> |
| 119 </html> | 120 </html> |
| OLD | NEW |