Closed Bug 377151 Opened 17 years ago Closed 17 years ago

Javascript area.search and link.search doesn't work in browser

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: jan.pieniadz, Unassigned)

References

()

Details

Attachments

(1 file)

16.44 KB, application/x-zip-compressed
Details
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a4pre) Gecko/20070402 Minefield/3.0a4pre
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a4pre) Gecko/2007040204 Minefield/3.0a4pre

Javascript area.search and link.search doesn't work in browser

Reproducible: Always

Steps to Reproduce:
1. Open attached Test page.
Actual Results:  
?ser=../ should be found by search function.

Expected Results:  
Nothing is found.
Attached file Test page
The reason the testcase fails is because it's invalid. See bug 146788 comment 4 (by jst, who wrote the spec.). It works fine if you have the ?xxx part of the URL before the anchor. 

That said, we should probably get a correct testcase in our DOM testsuite for this.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Component: General → DOM: HTML
OS: Mac OS X → All
Hardware: Macintosh → All
Resolution: --- → INVALID
Version: unspecified → Trunk
Status: RESOLVED → VERIFIED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: general → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: