| 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/debugger-test.js"></script> | 4 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
| 5 <script src="../debugger/resources/jquery-1.11.1.min.js"></script> | 5 <script src="../debugger/resources/jquery-1.11.1.min.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function testFunction() | 8 function testFunction() |
| 9 { | 9 { |
| 10 var pp = $("p"); | 10 var pp = $("p"); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 } | 35 } |
| 36 | 36 |
| 37 function onEachScript(index, script) | 37 function onEachScript(index, script) |
| 38 { | 38 { |
| 39 return script.textContent; | 39 return script.textContent; |
| 40 } | 40 } |
| 41 | 41 |
| 42 function test() | 42 function test() |
| 43 { | 43 { |
| 44 var frameworkRegexString = "/jquery-1\\.11\\.1\\.min\\.js$"; | 44 var frameworkRegexString = "/jquery-1\\.11\\.1\\.min\\.js$"; |
| 45 WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexStri
ng); | 45 Common.settingForTest("skipStackFramesPattern").set(frameworkRegexString); |
| 46 | 46 |
| 47 InspectorTest.startDebuggerTest(step1, true); | 47 InspectorTest.startDebuggerTest(step1, true); |
| 48 | 48 |
| 49 function step1() | 49 function step1() |
| 50 { | 50 { |
| 51 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); | 51 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); |
| 52 } | 52 } |
| 53 | 53 |
| 54 function step2() | 54 function step2() |
| 55 { | 55 { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 76 </script> | 76 </script> |
| 77 </head> | 77 </head> |
| 78 | 78 |
| 79 <body onload="runTest()"> | 79 <body onload="runTest()"> |
| 80 <input type='button' onclick='testFunction()' value='Test'/> | 80 <input type='button' onclick='testFunction()' value='Test'/> |
| 81 <p> | 81 <p> |
| 82 Tests framework blackboxing feature on jQuery. | 82 Tests framework blackboxing feature on jQuery. |
| 83 </p> | 83 </p> |
| 84 </body> | 84 </body> |
| 85 </html> | 85 </html> |
| OLD | NEW |