Skip to content

Commit

Permalink
fixup! Exclude IE from WebDriver BiDi data
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Jan 29, 2025
1 parent a4faea4 commit 25e4895
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lint/linter/test-browsers-presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const processData = (
: []),
].includes(browsers[b].type) &&
(category !== 'webextensions' || browsers[b].accepts_webextensions) &&
(!path.full.startsWith('webdriver.bidi.') ||
(!path.full?.startsWith('webdriver.bidi.') ||
browsers[b].implements_webdriver_bidi),
);
const requiredBrowsers = (
Expand All @@ -46,7 +46,7 @@ const processData = (
(b) =>
browsers[b].type == 'desktop' &&
(category !== 'webextensions' || browsers[b].accepts_webextensions) &&
(!path.full.startsWith('webdriver.bidi.') ||
(!path.full?.startsWith('webdriver.bidi.') ||
browsers[b].implements_webdriver_bidi),
);

Expand Down
2 changes: 1 addition & 1 deletion lint/linter/test-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const checkVersions = (
const browsersToCheck = Object.keys(browsers).filter((b) =>
category === 'webextensions'
? browsers[b].accepts_webextensions
: path.full.startsWith('webdriver.bidi.')
: path.full?.startsWith('webdriver.bidi.')
? browsers[b].implements_webdriver_bidi
: !!b,
) as BrowserName[];
Expand Down

0 comments on commit 25e4895

Please sign in to comment.