diff --git a/browser/base/content/test/static/browser_parsable_css.js b/browser/base/content/test/static/browser_parsable_css.js index 5ff888d8707c..cf464749cd2d 100644 --- a/browser/base/content/test/static/browser_parsable_css.js +++ b/browser/base/content/test/static/browser_parsable_css.js @@ -13,7 +13,7 @@ let whitelist = [ // CodeMirror is imported as-is, see bug 1004423. { sourceName: /codemirror\.css$/i, isFromDevTools: true }, { - sourceName: /devtools\/content\/debugger\/src\/components\/([A-z\/]+).css/i, + sourceName: /devtools\/client\/debugger\/src\/components\/([A-z\/]+).css/i, isFromDevTools: true, }, // Highlighter CSS uses a UA-only pseudo-class, see bug 985597. diff --git a/caps/nsScriptSecurityManager.cpp b/caps/nsScriptSecurityManager.cpp index 511a2e71f59b..99742118c8ee 100644 --- a/caps/nsScriptSecurityManager.cpp +++ b/caps/nsScriptSecurityManager.cpp @@ -881,12 +881,24 @@ nsresult nsScriptSecurityManager::CheckLoadURIFlags( &targetURIIsUIResource); NS_ENSURE_SUCCESS(rv, rv); if (targetURIIsUIResource) { - // ALLOW_CHROME is a flag that we pass on all loads _except_ docshell - // loads (since docshell loads run the loaded content with its origin - // principal). We are effectively allowing resource:// and chrome:// - // URIs to load as long as they are content accessible and as long - // they're not loading it as a document. if (aFlags & nsIScriptSecurityManager::ALLOW_CHROME) { + // Allow a URI_IS_UI_RESOURCE source to link to a URI_IS_UI_RESOURCE + // target if ALLOW_CHROME is set. + // + // ALLOW_CHROME is a flag that we pass on all loads _except_ docshell + // loads (since docshell loads run the loaded content with its origin + // principal). So we're effectively allowing resource://, chrome://, + // and moz-icon:// source URIs to load resource://, chrome://, and + // moz-icon:// files, so long as they're not loading it as a document. + bool sourceIsUIResource; + rv = NS_URIChainHasFlags(aSourceBaseURI, + nsIProtocolHandler::URI_IS_UI_RESOURCE, + &sourceIsUIResource); + NS_ENSURE_SUCCESS(rv, rv); + if (sourceIsUIResource) { + return NS_OK; + } + if (targetScheme.EqualsLiteral("resource")) { if (StaticPrefs::security_all_resource_uri_content_accessible()) { return NS_OK; diff --git a/devtools/client/aboutdebugging/aboutdebugging.css b/devtools/client/aboutdebugging/aboutdebugging.css index ca7d8eb3a11e..13f5cb5df9bf 100644 --- a/devtools/client/aboutdebugging/aboutdebugging.css +++ b/devtools/client/aboutdebugging/aboutdebugging.css @@ -5,30 +5,30 @@ /* * Global styles */ -@import "chrome://devtools/skin/variables.css"; -@import "chrome://devtools/content/aboutdebugging/src/base.css"; +@import "resource://devtools/client/themes/variables.css"; +@import "resource://devtools/client/aboutdebugging/src/base.css"; /* * Components */ -@import "chrome://devtools/content/aboutdebugging/src/components/App.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/ProfilerDialog.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/RuntimeActions.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/RuntimeInfo.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/connect/ConnectPage.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/connect/ConnectSection.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/connect/ConnectSteps.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/connect/NetworkLocationsForm.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/connect/NetworkLocationsList.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/debugtarget/DebugTargetItem.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/debugtarget/DebugTargetList.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/debugtarget/DebugTargetPane.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/debugtarget/FieldPair.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/debugtarget/ServiceWorkerAction.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/debugtarget/TemporaryExtensionInstallSection.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/shared/IconLabel.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/shared/Message.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/sidebar/Sidebar.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/sidebar/SidebarFixedItem.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/sidebar/SidebarItem.css"; -@import "chrome://devtools/content/aboutdebugging/src/components/sidebar/SidebarRuntimeItem.css"; +@import "resource://devtools/client/aboutdebugging/src/components/App.css"; +@import "resource://devtools/client/aboutdebugging/src/components/ProfilerDialog.css"; +@import "resource://devtools/client/aboutdebugging/src/components/RuntimeActions.css"; +@import "resource://devtools/client/aboutdebugging/src/components/RuntimeInfo.css"; +@import "resource://devtools/client/aboutdebugging/src/components/connect/ConnectPage.css"; +@import "resource://devtools/client/aboutdebugging/src/components/connect/ConnectSection.css"; +@import "resource://devtools/client/aboutdebugging/src/components/connect/ConnectSteps.css"; +@import "resource://devtools/client/aboutdebugging/src/components/connect/NetworkLocationsForm.css"; +@import "resource://devtools/client/aboutdebugging/src/components/connect/NetworkLocationsList.css"; +@import "resource://devtools/client/aboutdebugging/src/components/debugtarget/DebugTargetItem.css"; +@import "resource://devtools/client/aboutdebugging/src/components/debugtarget/DebugTargetList.css"; +@import "resource://devtools/client/aboutdebugging/src/components/debugtarget/DebugTargetPane.css"; +@import "resource://devtools/client/aboutdebugging/src/components/debugtarget/FieldPair.css"; +@import "resource://devtools/client/aboutdebugging/src/components/debugtarget/ServiceWorkerAction.css"; +@import "resource://devtools/client/aboutdebugging/src/components/debugtarget/TemporaryExtensionInstallSection.css"; +@import "resource://devtools/client/aboutdebugging/src/components/shared/IconLabel.css"; +@import "resource://devtools/client/aboutdebugging/src/components/shared/Message.css"; +@import "resource://devtools/client/aboutdebugging/src/components/sidebar/Sidebar.css"; +@import "resource://devtools/client/aboutdebugging/src/components/sidebar/SidebarFixedItem.css"; +@import "resource://devtools/client/aboutdebugging/src/components/sidebar/SidebarItem.css"; +@import "resource://devtools/client/aboutdebugging/src/components/sidebar/SidebarRuntimeItem.css"; diff --git a/devtools/client/aboutdebugging/src/components/connect/moz.build b/devtools/client/aboutdebugging/src/components/connect/moz.build index b33d65ae4341..5f1e81c17908 100644 --- a/devtools/client/aboutdebugging/src/components/connect/moz.build +++ b/devtools/client/aboutdebugging/src/components/connect/moz.build @@ -3,9 +3,14 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. DevToolsModules( + 'ConnectPage.css', 'ConnectPage.js', + 'ConnectSection.css', 'ConnectSection.js', + 'ConnectSteps.css', 'ConnectSteps.js', + 'NetworkLocationsForm.css', 'NetworkLocationsForm.js', + 'NetworkLocationsList.css', 'NetworkLocationsList.js', ) diff --git a/devtools/client/aboutdebugging/src/components/debugtarget/moz.build b/devtools/client/aboutdebugging/src/components/debugtarget/moz.build index 3fb310275868..eadf4fae2de3 100644 --- a/devtools/client/aboutdebugging/src/components/debugtarget/moz.build +++ b/devtools/client/aboutdebugging/src/components/debugtarget/moz.build @@ -3,13 +3,18 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. DevToolsModules( + 'DebugTargetItem.css', 'DebugTargetItem.js', + 'DebugTargetList.css', 'DebugTargetList.js', + 'DebugTargetPane.css', 'DebugTargetPane.js', 'ExtensionDetail.js', + 'FieldPair.css', 'FieldPair.js', 'InspectAction.js', 'ProcessDetail.js', + 'ServiceWorkerAction.css', 'ServiceWorkerAction.js', 'ServiceWorkerAdditionalActions.js', 'TabAction.js', @@ -17,6 +22,7 @@ DevToolsModules( 'TemporaryExtensionAdditionalActions.js', 'TemporaryExtensionDetail.js', 'TemporaryExtensionInstaller.js', + 'TemporaryExtensionInstallSection.css', 'TemporaryExtensionInstallSection.js', 'WorkerDetail.js', ) diff --git a/devtools/client/aboutdebugging/src/components/moz.build b/devtools/client/aboutdebugging/src/components/moz.build index c429da00f68b..f7fd2b8f13d8 100644 --- a/devtools/client/aboutdebugging/src/components/moz.build +++ b/devtools/client/aboutdebugging/src/components/moz.build @@ -10,11 +10,15 @@ DIRS += [ ] DevToolsModules( + 'App.css', 'App.js', 'CompatibilityWarning.js', 'ConnectionPromptSetting.js', + 'ProfilerDialog.css', 'ProfilerDialog.js', + 'RuntimeActions.css', 'RuntimeActions.js', + 'RuntimeInfo.css', 'RuntimeInfo.js', 'RuntimePage.js', 'ServiceWorkersWarning.js', diff --git a/devtools/client/aboutdebugging/src/components/shared/moz.build b/devtools/client/aboutdebugging/src/components/shared/moz.build index 22caad270f1e..beff0c33d527 100644 --- a/devtools/client/aboutdebugging/src/components/shared/moz.build +++ b/devtools/client/aboutdebugging/src/components/shared/moz.build @@ -4,6 +4,8 @@ DevToolsModules( 'DetailsLog.js', + 'IconLabel.css', 'IconLabel.js', + 'Message.css', 'Message.js', ) diff --git a/devtools/client/aboutdebugging/src/components/sidebar/moz.build b/devtools/client/aboutdebugging/src/components/sidebar/moz.build index d308dbbb6d45..b138b2fd7f36 100644 --- a/devtools/client/aboutdebugging/src/components/sidebar/moz.build +++ b/devtools/client/aboutdebugging/src/components/sidebar/moz.build @@ -4,8 +4,12 @@ DevToolsModules( 'RefreshDevicesButton.js', + 'Sidebar.css', 'Sidebar.js', + 'SidebarFixedItem.css', 'SidebarFixedItem.js', + 'SidebarItem.css', 'SidebarItem.js', + 'SidebarRuntimeItem.css', 'SidebarRuntimeItem.js', ) diff --git a/devtools/client/aboutdebugging/src/moz.build b/devtools/client/aboutdebugging/src/moz.build index fbb4b77a6315..e4ccec91bb07 100644 --- a/devtools/client/aboutdebugging/src/moz.build +++ b/devtools/client/aboutdebugging/src/moz.build @@ -12,6 +12,7 @@ DIRS += [ ] DevToolsModules( + 'base.css', 'constants.js', 'create-store.js', ) diff --git a/devtools/client/accessibility/index.html b/devtools/client/accessibility/index.html index 9160ec56d57e..0eceab0443ae 100644 --- a/devtools/client/accessibility/index.html +++ b/devtools/client/accessibility/index.html @@ -9,11 +9,11 @@ - - - - - + + + + + diff --git a/devtools/client/accessibility/moz.build b/devtools/client/accessibility/moz.build index aacfbe463868..b39e216942e2 100644 --- a/devtools/client/accessibility/moz.build +++ b/devtools/client/accessibility/moz.build @@ -16,6 +16,7 @@ DevToolsModules( 'accessibility-proxy.js', 'accessibility-startup.js', 'accessibility-view.js', + 'accessibility.css', 'constants.js', 'panel.js', 'picker.js', diff --git a/devtools/client/application/application.css b/devtools/client/application/application.css index 3001ec22b867..2526886d8717 100644 --- a/devtools/client/application/application.css +++ b/devtools/client/application/application.css @@ -5,28 +5,28 @@ /* * Global styles */ -@import "chrome://devtools/content/application/src/base.css"; +@import "resource://devtools/client/application/src/base.css"; /* * Components */ -@import "chrome://devtools/content/application/src/components/App.css"; -@import "chrome://devtools/content/application/src/components/manifest/ManifestColorItem.css"; -@import "chrome://devtools/content/application/src/components/manifest/ManifestIconItem.css"; -@import "chrome://devtools/content/application/src/components/manifest/ManifestIssue.css"; -@import "chrome://devtools/content/application/src/components/manifest/ManifestIssueList.css"; -@import "chrome://devtools/content/application/src/components/manifest/ManifestItem.css"; -@import "chrome://devtools/content/application/src/components/manifest/ManifestJsonLink.css"; -@import "chrome://devtools/content/application/src/components/manifest/ManifestLoader.css"; -@import "chrome://devtools/content/application/src/components/manifest/ManifestSection.css"; -@import "chrome://devtools/content/application/src/components/routing/PageSwitcher.css"; -@import "chrome://devtools/content/application/src/components/routing/Sidebar.css"; -@import "chrome://devtools/content/application/src/components/routing/SidebarItem.css"; -@import "chrome://devtools/content/application/src/components/service-workers/Registration.css"; -@import "chrome://devtools/content/application/src/components/service-workers/RegistrationList.css"; -@import "chrome://devtools/content/application/src/components/service-workers/RegistrationListEmpty.css"; -@import "chrome://devtools/content/application/src/components/service-workers/Worker.css"; -@import "chrome://devtools/content/application/src/components/ui/UIButton.css"; +@import "resource://devtools/client/application/src/components/App.css"; +@import "resource://devtools/client/application/src/components/manifest/ManifestColorItem.css"; +@import "resource://devtools/client/application/src/components/manifest/ManifestIconItem.css"; +@import "resource://devtools/client/application/src/components/manifest/ManifestIssue.css"; +@import "resource://devtools/client/application/src/components/manifest/ManifestIssueList.css"; +@import "resource://devtools/client/application/src/components/manifest/ManifestItem.css"; +@import "resource://devtools/client/application/src/components/manifest/ManifestJsonLink.css"; +@import "resource://devtools/client/application/src/components/manifest/ManifestLoader.css"; +@import "resource://devtools/client/application/src/components/manifest/ManifestSection.css"; +@import "resource://devtools/client/application/src/components/routing/PageSwitcher.css"; +@import "resource://devtools/client/application/src/components/routing/Sidebar.css"; +@import "resource://devtools/client/application/src/components/routing/SidebarItem.css"; +@import "resource://devtools/client/application/src/components/service-workers/Registration.css"; +@import "resource://devtools/client/application/src/components/service-workers/RegistrationList.css"; +@import "resource://devtools/client/application/src/components/service-workers/RegistrationListEmpty.css"; +@import "resource://devtools/client/application/src/components/service-workers/Worker.css"; +@import "resource://devtools/client/application/src/components/ui/UIButton.css"; html, body, diff --git a/devtools/client/application/index.html b/devtools/client/application/index.html index b886735ca552..727af8658199 100644 --- a/devtools/client/application/index.html +++ b/devtools/client/application/index.html @@ -5,7 +5,7 @@
- + diff --git a/devtools/client/application/moz.build b/devtools/client/application/moz.build index 1d3565991ec8..1cb34dc02d8d 100644 --- a/devtools/client/application/moz.build +++ b/devtools/client/application/moz.build @@ -7,6 +7,7 @@ DIRS += [ ] DevToolsModules( + 'application.css', 'initializer.js', 'panel.js' ) diff --git a/devtools/client/application/src/components/manifest/moz.build b/devtools/client/application/src/components/manifest/moz.build index 217319ab9a61..33d6da3f849a 100644 --- a/devtools/client/application/src/components/manifest/moz.build +++ b/devtools/client/application/src/components/manifest/moz.build @@ -4,14 +4,22 @@ DevToolsModules( 'Manifest.js', + 'ManifestColorItem.css', 'ManifestColorItem.js', 'ManifestEmpty.js', + 'ManifestIconItem.css', 'ManifestIconItem.js', + 'ManifestIssue.css', 'ManifestIssue.js', + 'ManifestIssueList.css', 'ManifestIssueList.js', + 'ManifestItem.css', 'ManifestItem.js', + 'ManifestJsonLink.css', 'ManifestJsonLink.js', + 'ManifestLoader.css', 'ManifestLoader.js', 'ManifestPage.js', + 'ManifestSection.css', 'ManifestSection.js', ) diff --git a/devtools/client/application/src/components/moz.build b/devtools/client/application/src/components/moz.build index eaedf97ac789..06e5987d81d7 100644 --- a/devtools/client/application/src/components/moz.build +++ b/devtools/client/application/src/components/moz.build @@ -10,5 +10,6 @@ DIRS += [ ] DevToolsModules( + 'App.css', 'App.js', ) diff --git a/devtools/client/application/src/components/routing/moz.build b/devtools/client/application/src/components/routing/moz.build index 4fa4f49057c8..bc7efb930632 100644 --- a/devtools/client/application/src/components/routing/moz.build +++ b/devtools/client/application/src/components/routing/moz.build @@ -3,7 +3,10 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. DevToolsModules( + 'PageSwitcher.css', 'PageSwitcher.js', + 'Sidebar.css', 'Sidebar.js', + 'SidebarItem.css', 'SidebarItem.js' ) diff --git a/devtools/client/application/src/components/service-workers/moz.build b/devtools/client/application/src/components/service-workers/moz.build index 187758a5920c..ea2d5e26eef3 100644 --- a/devtools/client/application/src/components/service-workers/moz.build +++ b/devtools/client/application/src/components/service-workers/moz.build @@ -3,9 +3,13 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. DevToolsModules( + 'Registration.css', 'Registration.js', + 'RegistrationList.css', 'RegistrationList.js', + 'RegistrationListEmpty.css', 'RegistrationListEmpty.js', + 'Worker.css', 'Worker.js', 'WorkersPage.js', ) diff --git a/devtools/client/application/src/components/ui/moz.build b/devtools/client/application/src/components/ui/moz.build index d1e10ee710a5..102f43a2012d 100644 --- a/devtools/client/application/src/components/ui/moz.build +++ b/devtools/client/application/src/components/ui/moz.build @@ -3,5 +3,6 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. DevToolsModules( + 'UIButton.css', 'UIButton.js', ) diff --git a/devtools/client/application/src/moz.build b/devtools/client/application/src/moz.build index 45aac5855bda..3af6532b0d1f 100644 --- a/devtools/client/application/src/moz.build +++ b/devtools/client/application/src/moz.build @@ -11,6 +11,7 @@ DIRS += [ ] DevToolsModules( + 'base.css', 'constants.js', 'create-store.js', ) diff --git a/devtools/client/debugger/dist/moz.build b/devtools/client/debugger/dist/moz.build index 471f1445f007..ac5553ca49ec 100644 --- a/devtools/client/debugger/dist/moz.build +++ b/devtools/client/debugger/dist/moz.build @@ -7,5 +7,6 @@ DevToolsModules( 'parser-worker.js', 'pretty-print-worker.js', 'search-worker.js', + 'vendors.css', 'vendors.js', ) diff --git a/devtools/client/debugger/index.html b/devtools/client/debugger/index.html index ec934d925dda..84d33e97efb2 100644 --- a/devtools/client/debugger/index.html +++ b/devtools/client/debugger/index.html @@ -22,17 +22,17 @@ diff --git a/devtools/client/debugger/src/components/Editor/Preview/moz.build b/devtools/client/debugger/src/components/Editor/Preview/moz.build index ffdad73a01d7..cf2838087223 100644 --- a/devtools/client/debugger/src/components/Editor/Preview/moz.build +++ b/devtools/client/debugger/src/components/Editor/Preview/moz.build @@ -11,3 +11,7 @@ CompiledModules( 'index.js', 'Popup.js', ) + +DevToolsModules( + 'Popup.css', +) diff --git a/devtools/client/debugger/src/components/Editor/moz.build b/devtools/client/debugger/src/components/Editor/moz.build index 4797ea870187..3910152df465 100644 --- a/devtools/client/debugger/src/components/Editor/moz.build +++ b/devtools/client/debugger/src/components/Editor/moz.build @@ -31,3 +31,15 @@ CompiledModules( 'Tab.js', 'Tabs.js', ) + +DevToolsModules( + 'Breakpoints.css', + 'ConditionalPanel.css', + 'Editor.css', + 'Footer.css', + 'HighlightCalls.css', + 'InlinePreview.css', + 'Preview.css', + 'SearchBar.css', + 'Tabs.css', +) diff --git a/devtools/client/debugger/src/components/PrimaryPanes/moz.build b/devtools/client/debugger/src/components/PrimaryPanes/moz.build index 74109f29921c..50767a414ce4 100644 --- a/devtools/client/debugger/src/components/PrimaryPanes/moz.build +++ b/devtools/client/debugger/src/components/PrimaryPanes/moz.build @@ -14,3 +14,9 @@ CompiledModules( 'SourcesTree.js', 'SourcesTreeItem.js', ) + +DevToolsModules( + 'Outline.css', + 'OutlineFilter.css', + 'Sources.css', +) diff --git a/devtools/client/debugger/src/components/SecondaryPanes/Breakpoints/moz.build b/devtools/client/debugger/src/components/SecondaryPanes/Breakpoints/moz.build index 41c50f67965d..2bc6d610adda 100644 --- a/devtools/client/debugger/src/components/SecondaryPanes/Breakpoints/moz.build +++ b/devtools/client/debugger/src/components/SecondaryPanes/Breakpoints/moz.build @@ -15,3 +15,7 @@ CompiledModules( 'ExceptionOption.js', 'index.js', ) + +DevToolsModules( + 'Breakpoints.css', +) diff --git a/devtools/client/debugger/src/components/SecondaryPanes/Frames/moz.build b/devtools/client/debugger/src/components/SecondaryPanes/Frames/moz.build index 7855fc896ba6..89856f34bac8 100644 --- a/devtools/client/debugger/src/components/SecondaryPanes/Frames/moz.build +++ b/devtools/client/debugger/src/components/SecondaryPanes/Frames/moz.build @@ -14,3 +14,8 @@ CompiledModules( 'Group.js', 'index.js', ) + +DevToolsModules( + 'Frames.css', + 'Group.css', +) diff --git a/devtools/client/debugger/src/components/SecondaryPanes/moz.build b/devtools/client/debugger/src/components/SecondaryPanes/moz.build index 664d2b80d84b..9723cba969a0 100644 --- a/devtools/client/debugger/src/components/SecondaryPanes/moz.build +++ b/devtools/client/debugger/src/components/SecondaryPanes/moz.build @@ -20,3 +20,15 @@ CompiledModules( 'WhyPaused.js', 'XHRBreakpoints.js', ) + +DevToolsModules( + 'CommandBar.css', + 'DOMMutationBreakpoints.css', + 'EventListeners.css', + 'Expressions.css', + 'Scopes.css', + 'SecondaryPanes.css', + 'Threads.css', + 'WhyPaused.css', + 'XHRBreakpoints.css', +) diff --git a/devtools/client/debugger/src/components/moz.build b/devtools/client/debugger/src/components/moz.build index 8630b23e7841..c2f414e31caa 100644 --- a/devtools/client/debugger/src/components/moz.build +++ b/devtools/client/debugger/src/components/moz.build @@ -18,3 +18,13 @@ CompiledModules( 'ShortcutsModal.js', 'WelcomeBox.js', ) + +DevToolsModules( + 'A11yIntention.css', + 'App.css', + 'ProjectSearch.css', + 'QuickOpenModal.css', + 'ShortcutsModal.css', + 'variables.css', + 'WelcomeBox.css', +) diff --git a/devtools/client/debugger/src/components/shared/Button/styles/moz.build b/devtools/client/debugger/src/components/shared/Button/styles/moz.build index 3ebd4a0c9b4e..98cc709c58b2 100644 --- a/devtools/client/debugger/src/components/shared/Button/styles/moz.build +++ b/devtools/client/debugger/src/components/shared/Button/styles/moz.build @@ -10,3 +10,9 @@ DIRS += [ CompiledModules( ) + +DevToolsModules( + 'CloseButton.css', + 'CommandBarButton.css', + 'PaneToggleButton.css', +) diff --git a/devtools/client/debugger/src/components/shared/moz.build b/devtools/client/debugger/src/components/shared/moz.build index 104fb3f7c322..13eeb9c2f32f 100644 --- a/devtools/client/debugger/src/components/shared/moz.build +++ b/devtools/client/debugger/src/components/shared/moz.build @@ -22,3 +22,19 @@ CompiledModules( 'SourceIcon.js', 'SmartGap.js', ) + +DevToolsModules( + 'AccessibleImage.css', + 'Accordion.css', + 'Badge.css', + 'BracketArrow.css', + 'Dropdown.css', + 'ManagedTree.css', + 'menu.css', + 'Modal.css', + 'Popover.css', + 'PreviewFunction.css', + 'ResultList.css', + 'SearchInput.css', + 'SourceIcon.css', +) diff --git a/devtools/client/debugger/src/debugger.css b/devtools/client/debugger/src/debugger.css index 46fe7260af26..51418bc57c24 100644 --- a/devtools/client/debugger/src/debugger.css +++ b/devtools/client/debugger/src/debugger.css @@ -2,56 +2,56 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -@import url("chrome://devtools/content/debugger/src/components/variables.css"); -@import url("chrome://devtools/content/shared/components/reps/reps.css"); +@import url("./components/variables.css"); +@import url("resource://devtools/client/shared/components/reps/reps.css"); -@import url("chrome://devtools/content/debugger/src/components/A11yIntention.css"); -@import url("chrome://devtools/content/debugger/src/components/App.css"); +@import url("./components/A11yIntention.css"); +@import url("./components/App.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/AccessibleImage.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/Accordion.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/Badge.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/BracketArrow.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/Button/styles/CloseButton.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/Button/styles/CommandBarButton.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/Button/styles/PaneToggleButton.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/Dropdown.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/ManagedTree.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/menu.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/Modal.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/Popover.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/PreviewFunction.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/ResultList.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/SearchInput.css"); -@import url("chrome://devtools/content/debugger/src/components/shared/SourceIcon.css"); +@import url("./components/shared/AccessibleImage.css"); +@import url("./components/shared/Accordion.css"); +@import url("./components/shared/Badge.css"); +@import url("./components/shared/BracketArrow.css"); +@import url("./components/shared/Button/styles/CloseButton.css"); +@import url("./components/shared/Button/styles/CommandBarButton.css"); +@import url("./components/shared/Button/styles/PaneToggleButton.css"); +@import url("./components/shared/Dropdown.css"); +@import url("./components/shared/ManagedTree.css"); +@import url("./components/shared/menu.css"); +@import url("./components/shared/Modal.css"); +@import url("./components/shared/Popover.css"); +@import url("./components/shared/PreviewFunction.css"); +@import url("./components/shared/ResultList.css"); +@import url("./components/shared/SearchInput.css"); +@import url("./components/shared/SourceIcon.css"); -@import url("chrome://devtools/content/debugger/src/components/Editor/Breakpoints.css"); -@import url("chrome://devtools/content/debugger/src/components/Editor/ConditionalPanel.css"); -@import url("chrome://devtools/content/debugger/src/components/Editor/Editor.css"); -@import url("chrome://devtools/content/debugger/src/components/Editor/Footer.css"); -@import url("chrome://devtools/content/debugger/src/components/Editor/InlinePreview.css"); -@import url("chrome://devtools/content/debugger/src/components/Editor/Preview.css"); -@import url("chrome://devtools/content/debugger/src/components/Editor/Preview/Popup.css"); -@import url("chrome://devtools/content/debugger/src/components/Editor/HighlightCalls.css"); -@import url("chrome://devtools/content/debugger/src/components/Editor/SearchBar.css"); -@import url("chrome://devtools/content/debugger/src/components/Editor/Tabs.css"); -@import url("chrome://devtools/content/debugger/src/components/PrimaryPanes/Outline.css"); -@import url("chrome://devtools/content/debugger/src/components/PrimaryPanes/OutlineFilter.css"); -@import url("chrome://devtools/content/debugger/src/components/PrimaryPanes/Sources.css"); -@import url("chrome://devtools/content/debugger/src/components/ProjectSearch.css"); -@import url("chrome://devtools/content/debugger/src/components/QuickOpenModal.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/Breakpoints/Breakpoints.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/CommandBar.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/EventListeners.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/DOMMutationBreakpoints.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/Expressions.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/Frames/Frames.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/Frames/Group.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/Scopes.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/SecondaryPanes.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/WhyPaused.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/Threads.css"); -@import url("chrome://devtools/content/debugger/src/components/SecondaryPanes/XHRBreakpoints.css"); -@import url("chrome://devtools/content/debugger/src/components/ShortcutsModal.css"); -@import url("chrome://devtools/content/debugger/src/components/WelcomeBox.css"); -@import url("chrome://devtools/content/debugger/src/utils/editor/source-editor.css"); +@import url("./components/Editor/Breakpoints.css"); +@import url("./components/Editor/ConditionalPanel.css"); +@import url("./components/Editor/Editor.css"); +@import url("./components/Editor/Footer.css"); +@import url("./components/Editor/InlinePreview.css"); +@import url("./components/Editor/Preview.css"); +@import url("./components/Editor/Preview/Popup.css"); +@import url("./components/Editor/HighlightCalls.css"); +@import url("./components/Editor/SearchBar.css"); +@import url("./components/Editor/Tabs.css"); +@import url("./components/PrimaryPanes/Outline.css"); +@import url("./components/PrimaryPanes/OutlineFilter.css"); +@import url("./components/PrimaryPanes/Sources.css"); +@import url("./components/ProjectSearch.css"); +@import url("./components/QuickOpenModal.css"); +@import url("./components/SecondaryPanes/Breakpoints/Breakpoints.css"); +@import url("./components/SecondaryPanes/CommandBar.css"); +@import url("./components/SecondaryPanes/EventListeners.css"); +@import url("./components/SecondaryPanes/DOMMutationBreakpoints.css"); +@import url("./components/SecondaryPanes/Expressions.css"); +@import url("./components/SecondaryPanes/Frames/Frames.css"); +@import url("./components/SecondaryPanes/Frames/Group.css"); +@import url("./components/SecondaryPanes/Scopes.css"); +@import url("./components/SecondaryPanes/SecondaryPanes.css"); +@import url("./components/SecondaryPanes/WhyPaused.css"); +@import url("./components/SecondaryPanes/Threads.css"); +@import url("./components/SecondaryPanes/XHRBreakpoints.css"); +@import url("./components/ShortcutsModal.css"); +@import url("./components/WelcomeBox.css"); +@import url("./utils/editor/source-editor.css"); diff --git a/devtools/client/debugger/src/moz.build b/devtools/client/debugger/src/moz.build index 92737286e344..801fefc5b241 100644 --- a/devtools/client/debugger/src/moz.build +++ b/devtools/client/debugger/src/moz.build @@ -18,3 +18,7 @@ CompiledModules( 'main.js', 'vendors.js', ) + +DevToolsModules( + 'debugger.css', +) diff --git a/devtools/client/debugger/src/utils/editor/moz.build b/devtools/client/debugger/src/utils/editor/moz.build index 2727b06ffc46..70de08ca31a0 100644 --- a/devtools/client/debugger/src/utils/editor/moz.build +++ b/devtools/client/debugger/src/utils/editor/moz.build @@ -17,3 +17,7 @@ CompiledModules( 'source-search.js', 'token-events.js', ) + +DevToolsModules( + 'source-editor.css', +) diff --git a/devtools/client/debugger/src/utils/editor/source-editor.js b/devtools/client/debugger/src/utils/editor/source-editor.js index 5b3a46907a08..78658a3a3b3e 100644 --- a/devtools/client/debugger/src/utils/editor/source-editor.js +++ b/devtools/client/debugger/src/utils/editor/source-editor.js @@ -12,7 +12,7 @@ const CodeMirror = require("codemirror"); // $FlowIgnore -require("raw!chrome://devtools/content/shared/sourceeditor/codemirror/lib/codemirror.css"); +require("codemirror/lib/codemirror.css"); require("codemirror/mode/javascript/javascript"); require("codemirror/mode/htmlmixed/htmlmixed"); require("codemirror/mode/coffeescript/coffeescript"); @@ -32,7 +32,7 @@ require("codemirror/addon/display/placeholder"); require("codemirror/mode/clike/clike"); require("codemirror/mode/rust/rust"); -require("raw!chrome://devtools/content/debugger/src/utils/editor/source-editor.css"); +require("./source-editor.css"); // NOTE: we should eventually use debugger-html context type mode type Mode = string | Object; diff --git a/devtools/client/dom/content/moz.build b/devtools/client/dom/content/moz.build index ddf6dbca32a7..b4a9c76bfbd0 100644 --- a/devtools/client/dom/content/moz.build +++ b/devtools/client/dom/content/moz.build @@ -12,6 +12,7 @@ DIRS += [ DevToolsModules( 'constants.js', 'dom-decorator.js', + 'dom-view.css', 'dom-view.js', 'grip-provider.js', 'utils.js', diff --git a/devtools/client/dom/index.html b/devtools/client/dom/index.html index 0e4fd84b769f..1cefa3b99375 100644 --- a/devtools/client/dom/index.html +++ b/devtools/client/dom/index.html @@ -7,9 +7,9 @@ - - - + + + diff --git a/devtools/client/framework/browser-toolbox/window.html b/devtools/client/framework/browser-toolbox/window.html index 6043a9e5bcab..ae89030ca69f 100644 --- a/devtools/client/framework/browser-toolbox/window.html +++ b/devtools/client/framework/browser-toolbox/window.html @@ -8,7 +8,7 @@ persist="screenX screenY width height sizemode"> - + diff --git a/devtools/client/framework/components/moz.build b/devtools/client/framework/components/moz.build index 3cde71701ea8..384b2201089b 100644 --- a/devtools/client/framework/components/moz.build +++ b/devtools/client/framework/components/moz.build @@ -6,6 +6,7 @@ DevToolsModules( + 'DebugTargetErrorPage.css', 'DebugTargetErrorPage.js', 'DebugTargetInfo.js', 'MeatballMenu.js', diff --git a/devtools/client/framework/toolbox.xhtml b/devtools/client/framework/toolbox.xhtml index 91ba0826c0e7..4e97c55db908 100644 --- a/devtools/client/framework/toolbox.xhtml +++ b/devtools/client/framework/toolbox.xhtml @@ -4,8 +4,8 @@ - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - - + + diff --git a/devtools/client/inspector/components/moz.build b/devtools/client/inspector/components/moz.build index 0bb0fd189847..eb97966c12b2 100644 --- a/devtools/client/inspector/components/moz.build +++ b/devtools/client/inspector/components/moz.build @@ -5,5 +5,6 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. DevToolsModules( + 'InspectorTabPanel.css', 'InspectorTabPanel.js', ) diff --git a/devtools/client/inspector/index.xhtml b/devtools/client/inspector/index.xhtml index 118e1f0b8be3..1f77bfcee58d 100644 --- a/devtools/client/inspector/index.xhtml +++ b/devtools/client/inspector/index.xhtml @@ -19,13 +19,13 @@ - - - - - - - + + + + + + + diff --git a/devtools/client/responsive/moz.build b/devtools/client/responsive/moz.build index cc16f060f313..2ef23a95343d 100644 --- a/devtools/client/responsive/moz.build +++ b/devtools/client/responsive/moz.build @@ -8,15 +8,18 @@ DIRS += [ 'actions', 'browser', 'components', + 'images', 'reducers', 'utils', ] DevToolsModules( 'constants.js', + 'index.css', 'index.js', 'manager.js', 'reducers.js', + 'responsive-browser.css', 'store.js', 'types.js', 'ui.js', diff --git a/devtools/client/responsive/toolbar.xhtml b/devtools/client/responsive/toolbar.xhtml index 96fcb14c7f3f..cc13c4a6e141 100644 --- a/devtools/client/responsive/toolbar.xhtml +++ b/devtools/client/responsive/toolbar.xhtml @@ -7,7 +7,7 @@ + href="resource://devtools/client/responsive/index.css"/> diff --git a/devtools/client/shared/components/moz.build b/devtools/client/shared/components/moz.build index 7c713c752eda..18e697bf60d1 100644 --- a/devtools/client/shared/components/moz.build +++ b/devtools/client/shared/components/moz.build @@ -14,16 +14,22 @@ DIRS += [ ] DevToolsModules( + 'Accordion.css', 'Accordion.js', 'Frame.js', 'HSplitBox.js', + 'List.css', 'List.js', + 'MdnLink.css', 'MdnLink.js', + 'NotificationBox.css', 'NotificationBox.js', 'SearchBox.js', 'SearchBoxAutocompletePopup.js', 'Sidebar.js', + 'SidebarToggle.css', 'SidebarToggle.js', + 'SmartTrace.css', 'SmartTrace.js', 'StackTrace.js', 'VirtualizedTree.js', diff --git a/devtools/client/shared/components/reps/moz.build b/devtools/client/shared/components/reps/moz.build index b9c6487d7052..899b84d23dd5 100644 --- a/devtools/client/shared/components/reps/moz.build +++ b/devtools/client/shared/components/reps/moz.build @@ -9,5 +9,6 @@ DIRS += [ ] DevToolsModules( + 'reps.css', 'reps.js', ) diff --git a/devtools/client/shared/components/splitter/moz.build b/devtools/client/shared/components/splitter/moz.build index 41efbece0263..f682aaf5d3b4 100644 --- a/devtools/client/shared/components/splitter/moz.build +++ b/devtools/client/shared/components/splitter/moz.build @@ -6,6 +6,8 @@ DevToolsModules( 'Draggable.js', + 'GridElementResizer.css', 'GridElementWidthResizer.js', + 'SplitBox.css', 'SplitBox.js', ) diff --git a/devtools/client/shared/components/tabs/moz.build b/devtools/client/shared/components/tabs/moz.build index d28fc33adfdf..8e1ae44ec7e7 100644 --- a/devtools/client/shared/components/tabs/moz.build +++ b/devtools/client/shared/components/tabs/moz.build @@ -6,5 +6,6 @@ DevToolsModules( 'TabBar.js', + 'Tabs.css', 'Tabs.js', ) diff --git a/devtools/client/shared/components/test/chrome/test_GridElementWidthResizer.html b/devtools/client/shared/components/test/chrome/test_GridElementWidthResizer.html index 271169ec4477..3c02d755952b 100644 --- a/devtools/client/shared/components/test/chrome/test_GridElementWidthResizer.html +++ b/devtools/client/shared/components/test/chrome/test_GridElementWidthResizer.html @@ -10,8 +10,8 @@ - - + +