You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although the doGet() runs the test functions, the actual results are returned from the original QUnit library by various callback functions as JSON strings. These callbacks don't run until after the original doGet function has finished, so the doGet simply constructs the skeleton of the UI and the callbacks store the results in user cache ready to be retrieved by an async call from within the client-side UI. The success handler of this client-side call constructs the HTML to display the test results in the UI.
Because the client-side function - window.onload - is making a server-side call from within a library that getResultsFromServer() function has to be a global in the script project calling the library.
The QUnitGS2 library would need to be copied into the calling script to get around this at the moment, but a deeper dive into the original QUnit library may find a way around it.
The text was updated successfully, but these errors were encountered:
Although the doGet() runs the test functions, the actual results are returned from the original QUnit library by various callback functions as JSON strings. These callbacks don't run until after the original doGet function has finished, so the doGet simply constructs the skeleton of the UI and the callbacks store the results in user cache ready to be retrieved by an async call from within the client-side UI. The success handler of this client-side call constructs the HTML to display the test results in the UI.
Because the client-side function - window.onload - is making a server-side call from within a library that getResultsFromServer() function has to be a global in the script project calling the library.
The QUnitGS2 library would need to be copied into the calling script to get around this at the moment, but a deeper dive into the original QUnit library may find a way around it.
The text was updated successfully, but these errors were encountered: