Summary: | Web Inspector: browser crashes on attempt to evaluate "alert(1)" while staying on a breakpoint | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yury Semikhatsky <yurys> | ||||||
Component: | Web Inspector (Deprecated) | Assignee: | Yury Semikhatsky <yurys> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, podivilov, rik, timothy, yurys | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Yury Semikhatsky
2010-08-31 04:48:12 PDT
Created attachment 66034 [details]
Patch
(In reply to comment #1) > Created an attachment (id=66034) [details] > Patch Could you please use new test harness (inspector-test2.js)? Created attachment 66366 [details]
Patch
Comment on attachment 66366 [details] Patch > diff --git LayoutTests/inspector/debugger-suspend-active-dom-objects-expected.txt > +Debugger was enabled. > +Set timer for test function. > +Script execution paused. > +Shown alert while staying on a breakpoint > +Script execution resumed. > +Debugger was disabled. Middle line is the only one with a period. Maybe add a period? I had to have some comment in my review! =) > + setTimeout("void 0", 0); // Create a timer that will be suspended on a breakpoint. I didn't know that `void` could be used like this. I thought it needed parens. But, this is valid, so it can be left this way. Cool. r=me as long as you ran LayoutTests and nothing else failed. 66813(In reply to comment #4) > (From update of attachment 66366 [details]) > > diff --git LayoutTests/inspector/debugger-suspend-active-dom-objects-expected.txt > > +Debugger was enabled. > > +Set timer for test function. > > +Script execution paused. > > +Shown alert while staying on a breakpoint > > +Script execution resumed. > > +Debugger was disabled. > > Middle line is the only one with a period. Maybe add a period? > I had to have some comment in my review! =) > Done. Committed r66813. |