Bug 76160 - Browser freezes on typing a key into one of 10,000 <input> elements.
Summary: Browser freezes on typing a key into one of 10,000 <input> elements.
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-12 02:26 PST by Akio Nishikawa
Modified: 2012-01-25 02:12 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akio Nishikawa 2012-01-12 02:26:39 PST
Hi.

For the title of, 1 million units to provide a text box, the browser freezes when trying to enter in the text box either.

Reproduced below the code.

<script>
document.write(' <form method="post" action="">');
for (var i = 0; i < 10000; i++) {
    document.write(' <input type="text" name="loginUserId">');
}
document.write(' </form>');
</script>
Comment 1 Akio Nishikawa 2012-01-12 02:28:56 PST
「<form> </ form>」does not reproduce and erase.
「name= 」does not reproduce and erase.
Comment 2 Akio Nishikawa 2012-01-12 16:16:56 PST
I'm sorry...
「1 million」 is incorrect 「10000」...
Comment 3 Kent Tamura 2012-01-25 02:12:18 PST
It seems Safari 5.1 and Google Chrome 16 have this issue, but I found this was not a WebKit bug and their root causes should be different. I filed a Chromium bug; http://code.google.com/p/chromium/issues/detail?id=111319