diff --git a/shells/browser/chrome/manifest.json b/shells/browser/chrome/manifest.json index ccbf29aa3c..c22e4b3849 100644 --- a/shells/browser/chrome/manifest.json +++ b/shells/browser/chrome/manifest.json @@ -27,13 +27,7 @@ "devtools_page": "main.html", "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", - "web_accessible_resources": [ - "elements.html", - "main.html", - "profiler.html", - "settings.html", - "build/backend.js" - ], + "web_accessible_resources": ["main.html", "panel.html", "build/backend.js"], "background": { "scripts": ["build/background.js"], diff --git a/shells/browser/firefox/manifest.json b/shells/browser/firefox/manifest.json index a1653d5005..e0015a59ff 100644 --- a/shells/browser/firefox/manifest.json +++ b/shells/browser/firefox/manifest.json @@ -33,13 +33,7 @@ "devtools_page": "main.html", "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", - "web_accessible_resources": [ - "elements.html", - "main.html", - "profiler.html", - "settings.html", - "build/backend.js" - ], + "web_accessible_resources": ["main.html", "panel.html", "build/backend.js"], "background": { "scripts": ["build/background.js"], diff --git a/shells/browser/shared/build.js b/shells/browser/shared/build.js index 3923c1f128..846f739670 100644 --- a/shells/browser/shared/build.js +++ b/shells/browser/shared/build.js @@ -7,14 +7,7 @@ const { join } = require('path'); // These files are copied along with Webpack-bundled files // to produce the final web extension -const STATIC_FILES = [ - 'icons', - 'popups', - 'elements.html', - 'main.html', - 'profiler.html', - 'settings.html', -]; +const STATIC_FILES = ['icons', 'popups', 'main.html', 'panel.html']; const preProcess = async (destinationPath, tempPath) => { await remove(destinationPath); // Clean up from previously completed builds diff --git a/shells/browser/shared/elements.html b/shells/browser/shared/panel.html similarity index 93% rename from shells/browser/shared/elements.html rename to shells/browser/shared/panel.html index bbaa81a0f2..60fd1bdf13 100644 --- a/shells/browser/shared/elements.html +++ b/shells/browser/shared/panel.html @@ -27,6 +27,6 @@