Open Bug 481513 Opened 15 years ago Updated 2 years ago

javascript window.find() ignores wholeWord parameter

Categories

(Firefox :: General, defect)

x86
All
defect

Tracking

()

People

(Reporter: mozillabugs, Unassigned)

References

(Depends on 1 open bug)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; nl; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; nl; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6

<html>
<head>
<script>
window.onload= function() {
	window.find("cat", false, false, false, true, false, false);
}
</script>
</head>
<body>
vacation
</body>
</html>

Reproducible: Always

Steps to Reproduce:
See sample code. Finds "cat" in "vacation" with the 5th parameter set to true
Depends on: 14871
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
No longer depends on: 14871
Depends on: 14871
Depends on: 672395
Summary: javascript document.find ignores wholeWord parameter → javascript window.find() ignores wholeWord parameter
Blocks: 998801
(In reply to Blake Winton (:bwinton) from bug 998801 comment #6)
> That would be okay for fixing one of the two bugs Thomas D. mentioned above.
> But, since we need those bugs to get fixed before we can fix this bug, I
> would say sure, go for it!  (But you should probably leave your questions
> and comments in bug 481513. ;)

Thanks :)
But if the intention of bug 672395 is to remove window.find(), should we wait for it
to go away or try to fix it in the first place itself?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.