Changes between Version 2 and Version 3 of WebInspectorTests


Ignore:
Timestamp:
Aug 10, 2014 3:54:46 PM (7 years ago)
Author:
Brian Burg
Comment:

bugfixes

Legend:

Unmodified
Added
Removed
Modified
  • WebInspectorTests

    v2 v3  
    3030
    31311. The test page is loaded by the test runner. Each test page must include `inspector-test.js`, which sets up the connection to the inspector page and provides other helpers. Its functions are in the namespace `InspectorTestProxy`, to remind you that it proxies calls from the test page to the inspector page.
    32 2. When the test page finishes loading, `runTest()` on the test page starts up the Inspector. The file `Test.js` initializes the inspecotr environment. Then, the frontend marshalls helper functions to the inspector page as well as the special `test()` method to be run.
    33 3. When the inspector finishes loading, it runs the marshalled `test()` __in the inspector page__.
     322. When the test page finishes loading, `runTest()` executes on the test page and asks the test runner to start up the Inspector. The file `Test.js` is loaded by the Inspector and initializes its environment. Functions that execute in the Inspector use the `InspectorTest` namespace.
     333. When the inspector finishes loading and receives all marshalled code from the test page, it runs the `test()` method __in the inspector page__.
    34344. As the test runs, results are marshalled back to the test page by injecting and eval'ing JavaScript code.
    3535