Changes between Version 6 and Version 7 of WebInspectorDebugging


Ignore:
Timestamp:
May 17, 2016 11:00:49 AM (6 years ago)
Author:
BJ Burg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebInspectorDebugging

    v6 v7  
    6767However, both will be interleaved if you enable output to the system console as above.
    6868
     69= Tips for Debugging Tests
     70
     71== Force Synchronous TestHarness Output
     72
     73Setting `InspectorTest.forceDebugLogging = true` will force all test output to be emitted via window.alert, which in a LayoutTest will add a message to test output without modifying the test page.
     74This is useful if you suspect problems in the test harness itself, or if the test crashes before writing buffered output into the test page (which is usually scraped to produce the test output).
     75
     76
    6977== Logging to System Console/stderr While Running Tests
    7078