Revert "Bug 1968202 - Generalize GlobalStyleSheetCache to support author stylesheets. r=smaug" for causing wpt failures in prefetch-transfer-size-executor.html.
This reverts commit e2ac38c2a8.
This commit is contained in:
committed by
sstanca@mozilla.com
parent
0374590d23
commit
4c663869d9
@@ -997,8 +997,8 @@ class StyleSheetsManager extends EventEmitter {
|
||||
// FIXME(bug 1826538): Make accessiblecaret.css and similar UA-widget
|
||||
// sheets system sheets, then remove this special-case.
|
||||
if (
|
||||
href === "resource://gre-resources/accessiblecaret.css" ||
|
||||
href === "resource://gre-resources/details.css" ||
|
||||
href === "resource://content-accessible/accessiblecaret.css" ||
|
||||
href === "resource://content-accessible/details.css" ||
|
||||
(href === "resource://devtools-highlighter-styles/highlighters.css" &&
|
||||
this.#targetActor.sessionContext.type !== "all")
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user