Bug 18315 - alert from onblur handler can kill safari
Summary: alert from onblur handler can kill safari
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P1 Normal
Assignee: Nobody
URL:
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2008-04-04 16:24 PDT by Eric Seidel (no email)
Modified: 2010-02-03 14:51 PST (History)
3 users (show)

See Also:


Attachments
test case (will crash safari) (535 bytes, text/html)
2008-04-04 16:27 PDT, Eric Seidel (no email)
no flags Details
most awesome screenshot ever (41.33 KB, image/png)
2008-04-04 16:32 PDT, Eric Seidel (no email)
no flags Details
test case (crashes Safari 100%) (529 bytes, text/html)
2008-08-25 15:47 PDT, Joachim De Lombaert
no flags Details
Crash log for the latest nightly build (r38826) (35.71 KB, text/plain)
2008-11-28 09:30 PST, Alexander Willner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-04-04 16:24:40 PDT
alert from onblur handler can kill safari
Comment 1 Eric Seidel (no email) 2008-04-04 16:27:59 PDT
Created attachment 20345 [details]
test case (will crash safari)
Comment 2 Eric Seidel (no email) 2008-04-04 16:32:16 PDT
Created attachment 20346 [details]
most awesome screenshot ever
Comment 3 Alexey Proskuryakov 2008-04-07 00:30:54 PDT
See also: bug 5394.
Comment 4 Joachim De Lombaert 2008-08-25 15:47:39 PDT
Created attachment 22988 [details]
test case (crashes Safari 100%)

Causes a minor DOS and resource load by opening hundreds of popup windows when triggered.  Note: this could also be triggered on page load simply by showing an alert at load time.
Comment 5 Alexander Willner 2008-11-28 09:30:22 PST
Created attachment 25575 [details]
Crash log for the latest nightly build (r38826)
Comment 6 Daniel Bates 2009-11-15 14:20:41 PST
I am unable to reproduce this issue the latest nightly build r50918.

Is this still an issue?
Comment 7 Dmitry Titov 2010-02-03 14:51:00 PST
at r54201 it is still an issue. The "100%" attachment doesn't crash OSX version of the browser but it creates gazillion of alert boxes and makes this page impossible to close. Pretty bad.