-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: polyfills adding incorrect data
- Loading branch information
1 parent
3988e0e
commit 824da44
Showing
7 changed files
with
81 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 2 additions & 9 deletions
11
browser-profiler/dom-bridger/lib/extractors/HeadlessIndicatorExtractor.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
import BaseExtractor from './BaseExtractor'; | ||
|
||
export default class HeadlessIndicatorExtractor extends BaseExtractor { | ||
public static override definitePatterns = [ | ||
'window.navigator.languages', | ||
'window.navigator.plugins', | ||
'window.navigator.mimeTypes', | ||
'window.HTMLLinkElement.prototype.import', | ||
]; | ||
public static override definitePatterns = ['window.HTMLLinkElement.prototype.import']; | ||
|
||
public static override extraAddPatterns = []; | ||
public static override extraChangePatterns = []; | ||
|
||
public static override ignoredExtraPatterns = []; | ||
|
||
public static override regexps = [ | ||
/window.HTMLLinkElement.prototype.import/ | ||
]; | ||
public static override regexps = [/window.HTMLLinkElement.prototype.import/]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters