Issue 1445 in google-caja: "script is busy" dialogs may allow resize/blur handlers to fire

2 views
Skip to first unread message

googl...@googlecode.com

unread,
Feb 12, 2012, 4:01:13 AM2/12/12
to google-ca...@googlegroups.com
Status: New
Owner: feli...@gmail.com
Labels: Type-Defect Priority-Medium

New issue 1445 by feli...@gmail.com: "script is busy" dialogs may allow
resize/blur handlers to fire
http://code.google.com/p/google-caja/issues/detail?id=1445

'the “A script on this page may be busy...” dialogue box, even if you
choose to let the script continue to run, allows events like resize and
blur to fire and be handled even whilst the script is in the middle of a
busy-loop, except in Opera.'
[ from
http://stackoverflow.com/questions/2734025/is-javascript-guaranteed-to-be-single-threaded/2734311#2734311
]

I don't think handlers firing during an alert() is a problem, but handlers
firing during a "may be busy" might be a problem. can avoid that by
forcing handlers to be deferring with setTimeout.

googl...@googlecode.com

unread,
Feb 12, 2012, 10:11:32 AM2/12/12
to google-ca...@googlegroups.com

Comment #1 on issue 1445 by kpreid.switchb.org: "script is busy" dialogs

Deferring handlers will prevent "return false", preventDefault, etc. from
functioning as intended.

googl...@googlecode.com

unread,
Jul 23, 2012, 7:53:18 PM7/23/12
to google-ca...@googlegroups.com

Comment #2 on issue 1445 by felix8a: "script is busy" dialogs may allow
So this came up in es-discuss recently. It seems to be an issue only in
Firefox, and Brendan Eich thinks it's a bug in Firefox, so I think there's
nothing we need to do other than keep track of the issue.
https://mail.mozilla.org/pipermail/es-discuss/2012-July/023937.html
https://mail.mozilla.org/pipermail/es-discuss/2012-July/023970.html
https://mail.mozilla.org/pipermail/es-discuss/2012-July/024014.html

googl...@googlecode.com

unread,
May 1, 2013, 2:05:40 PM5/1/13
to google-ca...@googlegroups.com
Updates:
Status: Invalid

Comment #3 on issue 1445 by ihab.a...@gmail.com: "script is busy" dialogs
may allow resize/blur handlers to fire
http://code.google.com/p/google-caja/issues/detail?id=1445

Closing -- not our issue.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages