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
{{ message }}
This repository was archived by the owner on Mar 10, 2022. It is now read-only.
js-test.js tests usually use window to set variables in order for eval() to work.
For example: window.files = files;
When we convert those functions to testharness.js, we need to clean up those variables. It doesn't affect the correctness of the transformation in most cases, but this would be nice since it would make the new test less confusing and more readable.
For now, cleanup can be done manually after transformation.
js-test.jstests usually usewindowto set variables in order foreval()to work.For example:
window.files = files;When we convert those functions to
testharness.js, we need to clean up those variables. It doesn't affect the correctness of the transformation in most cases, but this would be nice since it would make the new test less confusing and more readable.For now, cleanup can be done manually after transformation.