Skip to content

Commit 20a4998

Browse files
otherdanielevilpie
authored andcommitted
Fix Sanitizer API IDL harness test.
The 'sanitizer-api.idl' file was removed in commit bdb3065, because the API has been integrated into the main DOM / HTML apis. We follow this by testing the `Sanitizer` object as part of the 'html' idlharness test. Ref: bdb3065 The current test seems to fail on all browsers: https://wpt.fyi/results/sanitizer-api/idlharness.https.window.html?label=experimental&label=master&aligned&q=sanitizer-api%2F
1 parent e3cad70 commit 20a4998

2 files changed

Lines changed: 2 additions & 13 deletions

File tree

html/dom/idlharness.https.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ <h1>HTML IDL tests</h1>
234234
'localStorage',
235235
'sessionStorage',
236236
],
237-
StorageEvent: ['new StorageEvent("storage")']
237+
StorageEvent: ['new StorageEvent("storage")'],
238+
Sanitizer: ['new Sanitizer({})']
238239
});
239240
idlArray.prevent_multiple_testing('HTMLElement');
240241
await waitForLoad;

sanitizer-api/idlharness.https.window.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)