[webkit-changes] [WebKit/WebKit] 3bcac7: Web Inspector: Uncaught Exception: Missing script ...
Devin Rousso
noreply at github.com
Fri Sep 9 10:45:05 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3bcac79f7dbae8f5fe0a182037cf6366b019aa78
https://github.com/WebKit/WebKit/commit/3bcac79f7dbae8f5fe0a182037cf6366b019aa78
Author: Devin Rousso <drousso at apple.com>
Date: 2022-09-09 (Fri, 09 Sep 2022)
Changed paths:
M Source/WebInspectorUI/UserInterface/Views/TextResourceContentView.js
Log Message:
-----------
Web Inspector: Uncaught Exception: Missing script for scriptId in given start
https://bugs.webkit.org/show_bug.cgi?id=244956
Reviewed by Patrick Angle.
* Source/WebInspectorUI/UserInterface/Views/TextResourceContentView.js:
(WI.TextResourceContentView.prototype.closed):
Make sure to call `WI.SourceCodeTextEditor.prototype.close` when the `WI.TextResourceContentView` is
"destroyed" as that's what removes all the breakpoint event listeners, and we don't want an old
instance of the same file (e.g. after reloading the webpage) to suddenly start adding breakpoints
because the new instance added one.
Canonical link: https://commits.webkit.org/254311@main
More information about the webkit-changes
mailing list