@@ -10,13 +10,5 @@ const { WPTRunner } = require('../common/wpt');
|
10 | 10 | |
11 | 11 | const runner = new WPTRunner('url'); |
12 | 12 | |
13 | | -runner.setScriptModifier((obj) => { |
14 | | -if (obj.filename.includes('toascii.window.js')) { |
15 | | -// `a` and `area` in `toascii.window.js` is for testing `Element` that |
16 | | -// created via `document.createElement`. So we need to ignore them and just |
17 | | -// test `URL`. |
18 | | -obj.code = obj.code.replace(/\["url", "a", "area"\]/, '[ "url" ]'); |
19 | | -} |
20 | | -}); |
21 | 13 | runner.pretendGlobalThisAs('Window'); |
22 | 14 | runner.runJsTests(); |