Summary: | Web Inspector: UISourceCode commitWorkingCopy should not fail when original script had syntax error. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | johnjbarton <johnjbarton> | ||||||
Component: | Web Inspector (Deprecated) | Assignee: | Vsevolod Vlasov <vsevik> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, vsevik, webkit.review.bot, yurys | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
johnjbarton
2012-09-20 16:37:07 PDT
Created attachment 165013 [details]
Patch
Comment on attachment 165013 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=165013&action=review > Source/WebCore/inspector/front-end/JavaScriptSource.js:104 > + var rawLocation = this.uiLocationToRawLocation(0, 0); We try to avoid exceptions in inspector code. Why not use if (!rawLocation) return; instead? > LayoutTests/inspector/debugger/live-edit.html:14 > + WebInspector.showPanel("scripts"); var panel = WebInspector.showPanel("scripts"); Created attachment 166842 [details]
Patch
Comment on attachment 166842 [details] Patch Clearing flags on attachment: 166842 Committed r130287: <http://trac.webkit.org/changeset/130287> All reviewed patches have been landed. Closing bug. |