mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
Since we want to add a few APIs that AMO can use to query and manipulate the user's add-ons we want to expose a custom API. This implements the webidl and a stub implementation in JavaScript. We use the webidl functions for controlling access to the API, only the AMO production domains (and some test domains when testing is enabled) can access it and only when retrieved securely and not in an inner frame of a page that shouldn't have the API. MozReview-Commit-ID: 3HUUrduuHwf
8 lines
193 B
HTML
8 lines
193 B
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<body>
|
|
<iframe id="frame" height="200" width="200" src="https://example.com/browser/toolkit/mozapps/extensions/test/browser/webapi_checkavailable.html">
|
|
</body>
|
|
</html>
|