Open
Bug 259163
Opened 21 years ago
Updated 3 years ago
Try to open file using JS with an invalid hex coded drive gives infinite loop
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: mozilla, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
333 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
If popups are enabled when reading the following local html, firefox consumes
the cpu
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Infinite loop</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<script>
open("file:\x9f:\\boot.ini","boo","width=800,height=500,toolbar=yes,scrollbars=yes,status=yes,location=yes");
</script>
</html>
Reproducible: Always
Steps to Reproduce:
1.Write the above html into an html file
2.Open the file using open with
3.
Actual Results:
Two windows will open. One will have the hour glass and will be consuming all of
the resources of the cpu
Expected Results:
said it couldn't find the file since there is no drive with that index
IE6 will crash with this file even if it is coming from the internet zone. It
looks up the drive in a table but ox9f expands to 0xffffff9f which is a very
illegal address
If this means Firefox stalls or acts as though it is going to open and never
does, this is what I am experiencing.... on WIN 2000 OS.... have made no major
changes, that might lead to this.... after reading the below description,what I
am experiencing is different.... I never get a warning message, nor error
message... just nil.... Explorer works fine... when reinstall firefox... it
appears running in backgrond? Not sure the procedure here? Any advice? Thanks!
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5
Okay, this does cause an infinite loop. However, by default the popup blocker doesn't let this get anywhere, and you can stop the loop. Overall, not critical I think -> normal
Severity: critical → normal
Keywords: testcase
Component: OS Integration → JavaScript Engine
Product: Firefox → Core
Summary: open using an invalid hex coded drive makes firefox compute bound → Try to open file using JS with an invalid hex coded drive gives infinite loop
Version: unspecified → 1.4 Branch
Updated•20 years ago
|
Assignee: bugs → general
Component: JavaScript Engine → DOM
QA Contact: os.integration → ian
Version: 1.4 Branch → Trunk
Updated•17 years ago
|
Assignee: general → nobody
QA Contact: ian → general
Comment 4•8 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•