Closed Bug 1327708 Opened 9 years ago Closed 5 years ago

Debugger doesn't display source if it was loaded via srcdoc in iframe [0x80004005 (NS_ERROR_FAILURE)] [0x80070057 (NS_ERROR_ILLEGAL_VALUE)]

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: arni2033, Unassigned)

References

(Blocks 1 open bug)

Details

>>> STR_1: 1. Open url [1] 2. Open debugger AR: Debugger shows error [0x80004005 (NS_ERROR_FAILURE)] ER: Debugger should open sources STR_2: 1. Open url [1] 2. Open debugger 3. Switch to iframe "about:srcdoc" AR: Debugger shows error [0x80070057 (NS_ERROR_ILLEGAL_VALUE)] ER: Debugger should open sources Note: You may run into bug 1211514. To work around bug 1211514, open "events" tab in debugger > [1] data:text/html,<iframe srcdoc="<script>onclick=function(){}</script>"></iframe>
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Canvas Debugger
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Product: Firefox → DevTools
FWIW, at Figma we're running our extension system through <iframe srcdoc="...extension code here...">. This means our extension developers won't be able to use Firefox if they want to debug their extensions. To be clear, this is not about Firefox extensions, but rather about the extension system that we're building for the Figma website.
Blocks: dbg-sources
Priority: -- → P3

I'm going to close this because I cannot reproduce the NS_ errors. I do however see https://bugzilla.mozilla.org/show_bug.cgi?id=1651543 so I've filed that.

@jonas I unfortunately can't tell exactly what issue here was blocking you for extension work, so if you're still having issues, it would be wonderful if you could file a new bug for that.

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