Skip to content

Commit

Permalink
Add missing features for Profiler API (#13462)
Browse files Browse the repository at this point in the history
This PR is a part of a project to add missing interfaces and interface features to BCD that are from an active spec (including WICG specs) and is supported in at least one browser.  This particular PR adds the missing features of the Profiler API, populating the results using data from the [mdn-bcd-collector](https://mdn-bcd-collector.appspot.com) project (v4.0.0).

Tests Used: https://mdn-bcd-collector.appspot.com/tests/api/Profiler

Co-authored-by: Philip Jägenstedt <[email protected]>
  • Loading branch information
queengooborg and foolip authored Nov 12, 2021
1 parent d3b43a8 commit 41a3db7
Showing 1 changed file with 245 additions and 0 deletions.
245 changes: 245 additions & 0 deletions api/Profiler.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
{
"api": {
"Profiler": {
"__compat": {
"spec_url": "https://wicg.github.io/js-self-profiling/#the-profiler-interface",
"support": {
"chrome": {
"version_added": "94"
},
"chrome_android": {
"version_added": "94"
},
"edge": {
"version_added": "94"
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "80"
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": "94"
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
},
"Profiler": {
"__compat": {
"spec_url": "https://wicg.github.io/js-self-profiling/#dom-profiler-constructor",
"description": "<code>Profiler()</code> constructor",
"support": {
"chrome": {
"version_added": "94"
},
"chrome_android": {
"version_added": "94"
},
"edge": {
"version_added": "94"
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "80"
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": "94"
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"sampleInterval": {
"__compat": {
"spec_url": "https://wicg.github.io/js-self-profiling/#dom-profiler-sampleinterval",
"support": {
"chrome": {
"version_added": "94"
},
"chrome_android": {
"version_added": "94"
},
"edge": {
"version_added": "94"
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "80"
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": "94"
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"stop": {
"__compat": {
"spec_url": "https://wicg.github.io/js-self-profiling/#dom-profiler-stop",
"support": {
"chrome": {
"version_added": "94"
},
"chrome_android": {
"version_added": "94"
},
"edge": {
"version_added": "94"
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "80"
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": "94"
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"stopped": {
"__compat": {
"spec_url": "https://wicg.github.io/js-self-profiling/#dom-profiler-stopped",
"support": {
"chrome": {
"version_added": "94"
},
"chrome_android": {
"version_added": "94"
},
"edge": {
"version_added": "94"
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "80"
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": "94"
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
}
}
}

0 comments on commit 41a3db7

Please sign in to comment.