wrong exception being thrown for node.insertBefore

VERIFIED INVALID

Status

()

P3
critical
VERIFIED INVALID
19 years ago
18 years ago

People

(Reporter: ckritzer, Assigned: jst)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [nsbeta3-] trivial fix, URL)

(Reporter)

Description

19 years ago
Overview: node.insertBefore() is throwing NOT_FOUND_ERR instead of 
NO_MODIFICATION_ALLOWED_ERR

Steps to Reproduce:
1) Launch 2000-06-19-xx-M17 commercial build
2) Load http://bubblegum/ngdriver/suites/dom1/cdex023.html

Actual Results:  NOT_FOUND_ERR thrown

Expected Results: NO_MODIFICATION_ALLOWED_ERR

Platforms Tested/Found on:
- MacOS9 2000-06-19-08-M17 Commercial
- Linux6 2000-06-19-20-M17 Commercial
- Win98  2000-06-19-21-M17 Commercial

Additional Comments: I'll add a simplified testcase as soon as I can.
(Reporter)

Comment 1

19 years ago
Setting self as QAContact.
QA Contact: gerardok → ckritzer
(Assignee)

Comment 2

19 years ago
What is "node" in the testcase? (I can't access the testcase).

Anyway, we should fix this for nsbeta3 if we're violating the DOM Level 1 spec.
Status: NEW → ASSIGNED
Keywords: nsbeta3
Target Milestone: --- → M18
correctness of DOM1 implementation.
Keywords: correctness

Comment 4

18 years ago
It is important that we return the correct error values so that content 
developed for DOM1 APIs does not start depending on incorrect values.  Marking 
nsbeta3+
Whiteboard: [nsbeta3+] trivial fix

Comment 5

18 years ago
Marking nsbeta3-.
Whiteboard: [nsbeta3+] trivial fix → [nsbeta3-] trivial fix
(Reporter)

Comment 6

18 years ago
As jst pointed out to me (thanks dude), this bug is invalid...
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → INVALID
(Reporter)

Comment 7

18 years ago
Marking VERIFIED INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.