Skip to content

Commit

Permalink
Merge pull request #62 from keithamus/drop-abortsignal-timeout
Browse files Browse the repository at this point in the history
drop AbortSignal.timeout
  • Loading branch information
keithamus authored Sep 17, 2024
2 parents ccef269 + 4fa1454 commit 8bf5dc8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 57 deletions.
27 changes: 0 additions & 27 deletions src/abortsignal-timeout.ts

This file was deleted.

4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as abortSignalTimeout from './abortsignal-timeout.js'
import * as clipboardItem from './clipboarditem.js'
import * as elementCheckVisibility from './element-checkvisibility.js'
import * as navigatorClipboard from './navigator-clipboard.js'
Expand Down Expand Up @@ -30,7 +29,7 @@ export const baseSupport =
'hasOwn' in Object &&
// ESNext
'abort' in AbortSignal &&
// 'timeout' in AbortSignal && // Polyfilled
'timeout' in AbortSignal &&
// DOM / HTML and other specs
typeof queueMicrotask === 'function' &&
typeof HTMLDialogElement === 'function' &&
Expand All @@ -44,7 +43,6 @@ export const baseSupport =
true

export const polyfills = {
abortSignalTimeout,
clipboardItem,
elementCheckVisibility,
navigatorClipboard,
Expand Down
27 changes: 0 additions & 27 deletions test/abortsignal-timeout.js

This file was deleted.

0 comments on commit 8bf5dc8

Please sign in to comment.