Jacek Caban (@jacek) commented about dlls/mshtml/tests/documentmode.js:
/* test window object and its global scope handling */ obj = window;
- ok("encodeURIComponent" in obj, "encodeURIComponent not in obj");
- try {
r = (delete window.encodeURIComponent);
It probably makes sense to restore `encodeURIComponent` at the end of the test to avoid potentially impacting other tests.