Skip to content

Commit 6517b50

Browse files
authored
Add Web Install API (#173)
1 parent a6d1665 commit 6517b50

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

dist/fugu-apis.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,16 @@ const patterns = {
811811
blinkFeatureID: 5401,
812812
chromeStatusID: 6494349985841152,
813813
},
814+
'Web Install': {
815+
regEx: /\bnavigator\.install\s*\(/g,
816+
where: 'JavaScript',
817+
supported: (async () => 'install' in navigator)(),
818+
featureDetection: `(async () => 'install' in navigator)()`,
819+
documentation:
820+
'https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/WebInstall/explainer.md',
821+
blinkFeatureID: undefined,
822+
chromeStatusID: 5183481574850560,
823+
},
814824
};
815825

816826
const responseBodies = $WPT_BODIES;

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"homepage": "https://github.com/HTTPArchive/custom-metrics#readme",
2222
"devDependencies": {
23-
"fugu-api-data": "^1.22.0",
23+
"fugu-api-data": "^1.23.0",
2424
"jest": "^29.7.0",
2525
"webpagetest": "github:HTTPArchive/WebPageTest.api-nodejs"
2626
},

0 commit comments

Comments
 (0)