Open Bug 1717037 Opened 3 years ago Updated 3 years ago

Properly fix issue in browser_webconsole_stubs_evaluation_result.js

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

Details

In Bug 1682921, a simple fix was added to ensure the test wouldn't fail intermittently; sometimes in the evaluation result of a throwing snippet, the exceptionStack sourceId would be null, instead of a proper actorID.
This might be because the Debugger#findAllSources method that is used to populate a list of known sources is not deterministic (https://searchfox.org/mozilla-central/rev/b172dd415c475e8b2899560e6005b3a953bead2a/js/src/doc/Debugger/Debugger.md#367-375).
We should try to find a way to properly fix this somehow.

Severity: -- → S3
Flags: needinfo?(nchevobbe)
Priority: -- → P3

The bug with masterplan about source ids is bug 1641121.

The failure was highlighting a possible issue where clicking on an error stracktrace frame in the console wouldn't open the file in the debugger.
We should note that the debugger does try to open the file from the URL when the sourceId is not set, and in the case it can't open the file, a new tab would be opened with the URL of the file.

Flags: needinfo?(nchevobbe)
You need to log in before you can comment on or make changes to this bug.