Chromium 86 no longer supports html imports, even for WebUI. We were only using it to: 1. Import a polymer component, br-toolbar. This has already been converted to an es module, so we simply include that. 2. Import cr.html which was never neccessary because we also include cr.js already. cr.html only additionally adds the import for PromiseResolver, which no brave code uses. TODO: remove calls to cr.js and just `import * as cr from cr.m.js` directly wherever cr.* is used.
22 lines
616 B
HTML
22 lines
616 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width">
|
|
<title>IPFS</title>
|
|
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
|
|
<script src="chrome://resources/js/cr.js"></script>
|
|
<script src="chrome://resources/js/load_time_data.js"></script>
|
|
<script src="chrome://resources/js/util.js"></script>
|
|
<script src="chrome://resources/js/i18n_template_no_process.js"></script>
|
|
<script src="/ipfs.bundle.js"></script>
|
|
<script src="/strings.js"></script>
|
|
<style>
|
|
#root { height: 100%; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|