javascript window.find() ignores wholeWord parameter

NEW
Unassigned

Status

()

Firefox
General
8 years ago
3 years ago

People

(Reporter: mozillabugs, Unassigned)

Tracking

(Depends on: 1 bug, Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
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

Updated

8 years ago
Depends on: 14871

Updated

8 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All

Updated

7 years ago
No longer depends on: 14871
Depends on: 14871

Updated

6 years ago
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?
You need to log in before you can comment on or make changes to this bug.