Closed Bug 1524600 Opened 5 years ago Closed 5 years ago

Errors in browser console when enabling CSS errors in the filter

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(firefox-esr60 wontfix, firefox65 wontfix, firefox66 wontfix, firefox67 fixed)

RESOLVED DUPLICATE of bug 1523020
Tracking Status
firefox-esr60 --- wontfix
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- fixed

People

(Reporter: Gijs, Unassigned)

Details

(Keywords: regression, regressionwindow-wanted)

STR:

  1. clean profile on nightly/beta/release (I tested on mac, but I'd be surprised if it were machine dependent)
  2. open browser console
  3. click filter button
  4. enable CSS errors

ER:
it works

AR:
errors:

Error while calling actor 'parentProcessTarget's method 'ensureCSSErrorReportingEnabled' Argument 1 of InspectorUtils.getAllStyleSheets is not an object. protocol.js:1042:5

ensureCSSErrorReportingEnabled@resource://devtools/server/actors/targets/browsing-context.js:1003:9
handler@resource://devtools/shared/protocol.js:1189:21
onPacket@resource://devtools/server/main.js:1279:15
send/<@resource://devtools/shared/transport/local-transport.js:64:11
exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14
exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14
protocol.js:1045:7
    writeError resource://devtools/shared/protocol.js:1045
    handler resource://devtools/shared/protocol.js:1226
    handler resource://devtools/shared/protocol.js:1226
    _queueResponse resource://devtools/shared/protocol.js:1056
    handler resource://devtools/shared/protocol.js:1225
    onPacket resource://devtools/server/main.js:1279
    send resource://devtools/shared/transport/local-transport.js:64
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:109
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:109

Stylesheets without CSSOM changes reparsed to check for errors. Refresh the page to also see errors from stylesheets changed from CSSOM and from style attributes.

uncaught exception: Protocol error (unknownError): Argument 1 of InspectorUtils.getAllStyleSheets is not an object.

This has been happening since at least 65. :-(

Component: General → Console
Summary: Errors in browser console → Errors in browser console when enabling CSS errors in the filter

Thanks for filing Gijs, I'm going to mark this one as dupe of Bug 1523020.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.