Changeset 226207 in webkit


Ignore:
Timestamp:
Dec 20, 2017 5:49:00 PM (6 years ago)
Author:
Matt Lewis
Message:

Unreviewed, rolling out r226155.

This caused test failures.

Reverted changeset:

"Web Inspector: add TestPage.debug() to inspect evaluations
being sent to Inspector page"
https://bugs.webkit.org/show_bug.cgi?id=181005
https://trac.webkit.org/changeset/226155

Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r226202 r226207  
     12017-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
    1142017-12-20  Brady Eidson  <beidson@apple.com>
    215
  • trunk/LayoutTests/http/tests/inspector/resources/inspector-test.js

    r226155 r226207  
    9898    let testFunctionCodeString = `(${runTestMethodInFrontend.toString()})(${testFunction.toString()});`;
    9999
    100     TestPage.evaluateInWebInspector(initializationCodeString);
    101     TestPage.evaluateInWebInspector(testFunctionCodeString);
     100    testRunner.evaluateInWebInspector(initializationCodeString);
     101    testRunner.evaluateInWebInspector(testFunctionCodeString);
    102102}
    103103
     
    140140}
    141141
    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 
    156142// Add and clear test output from the results window.
    157143TestPage.addResult = function(text)
     
    177163{
    178164    let dispatchEventCodeString = `InspectorTest.dispatchEventToListeners(${JSON.stringify(eventName)}, ${JSON.stringify(data)});`;
    179     this.evaluateInWebInspector(dispatchEventCodeString);
     165    testRunner.evaluateInWebInspector(dispatchEventCodeString);
    180166};
    181167
Note: See TracChangeset for help on using the changeset viewer.