Changeset 226207 in webkit
- Timestamp:
- Dec 20, 2017 5:49:00 PM (6 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r226202 r226207 1 2017-12-20 Matt Lewis <jlewis3@apple.com> 2 3 Unreviewed, rolling out r226155. 4 5 This caused test failures. 6 7 Reverted changeset: 8 9 "Web Inspector: add TestPage.debug() to inspect evaluations 10 being sent to Inspector page" 11 https://bugs.webkit.org/show_bug.cgi?id=181005 12 https://trac.webkit.org/changeset/226155 13 1 14 2017-12-20 Brady Eidson <beidson@apple.com> 2 15 -
trunk/LayoutTests/http/tests/inspector/resources/inspector-test.js
r226155 r226207 98 98 let testFunctionCodeString = `(${runTestMethodInFrontend.toString()})(${testFunction.toString()});`; 99 99 100 TestPage.evaluateInWebInspector(initializationCodeString);101 TestPage.evaluateInWebInspector(testFunctionCodeString);100 testRunner.evaluateInWebInspector(initializationCodeString); 101 testRunner.evaluateInWebInspector(testFunctionCodeString); 102 102 } 103 103 … … 140 140 } 141 141 142 // Use this to dump evaluations that are sent from the TestPage to the InspectorTest page.143 TestPage.debug = function()144 {145 this.dumpInspectorPageEvaluations = true;146 }147 148 TestPage.evaluateInWebInspector = function(code)149 {150 if (this.dumpInspectorPageEvaluations)151 this.debugLog(code);152 153 testRunner.evaluateInWebInspector(code);154 }155 156 142 // Add and clear test output from the results window. 157 143 TestPage.addResult = function(text) … … 177 163 { 178 164 let dispatchEventCodeString = `InspectorTest.dispatchEventToListeners(${JSON.stringify(eventName)}, ${JSON.stringify(data)});`; 179 t his.evaluateInWebInspector(dispatchEventCodeString);165 testRunner.evaluateInWebInspector(dispatchEventCodeString); 180 166 }; 181 167
Note: See TracChangeset
for help on using the changeset viewer.