<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>New Tab</title>
	<link rel="stylesheet" href="app.css">
</head>
<body class="is-loading">
	<!--
	The `type="content"` attribute is used for security purposes to avoid
	giving the iframe a privileged context that could be used to
	access browser (cookies, history, etc) or user files.
	See https://mdn.io/Displaying_web_content_in_an_extension_without_security_issues
	-->
	<iframe id="cntp-iframe" class="cntp-iframe" type="content" src="about:blank"></iframe>
	<script src="app.js"></script>
</body>
</html>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>New Tab</title>
	<link rel="stylesheet" href="app.css">
</head>
<body class="is-loading">
	<!--
	The `type="content"` attribute is used for security purposes to avoid
	giving the iframe a privileged context that could be used to
	access browser (cookies, history, etc) or user files.
	See https://mdn.io/Displaying_web_content_in_an_extension_without_security_issues
	-->
	<iframe id="cntp-iframe" class="cntp-iframe" type="content" allow="geolocation" src="about:blank"></iframe>
	<script src="app.js"></script>
</body>
</html>

Allow geolocation from the iframe
:sparkles: Allow geolocation from the iframe

As of Firefox v74, in order to use certain web APIs from inside an iframe the appropriate feature policy must be specified via an `allow` attribute.

See:
- https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/74
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#Attributes

> "Feature Policy is now enabled by default! Use the <iframe> element's allow attribute (and the HTMLIFrameElement property allow) to set permissions for your frames (bug 1617219)."
> -- https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/74
