Closed Bug 263320 Opened 20 years ago Closed 20 years ago

JavaScript console line always = 1 on "Warning: Non-standard document.all property was used"

Categories

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

defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 11240

People

(Reporter: easy_target, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040927
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040927

In the JavaScript console, line always equals to 1 on "Warning: Non-standard
document.all property was used"

Reproducible: Always
Steps to Reproduce:
1.Goto to http://www.ghostdogs.net/bb/index.php or anypage using document.all
2.Open the JavaScript console
3.Check for "Warning: Non-standard document.all property was used. Use W3C
standard document.getElementById() instead" errors

Actual Results:  
Always give line number equals to 1

Expected Results:  
Give the line number of the actual Non-standard document.all property usage.
Assignee: js-console → general
Component: JavaScript Console → DOM
QA Contact: jrgmorrison → ian
Confirmed using Mozilla 1.8a4 on Windows XP SP1 (I had to scroll down to the
bottom of the page to get the warnings, however). But other pages show warnings
about document.all on the correct line -- try going to
http://www.medicineshoppe.com/ and clicking on the links on the left side of the
window, for example.
Assignee: general → js-console
Status: UNCONFIRMED → NEW
Component: DOM → JavaScript Console
Ever confirmed: true
QA Contact: ian → jrgmorrison
Here, document.all is used in an inline event handler. Maybe a dupe of or 
dependant on bug 11240?
Yup, dupe of bug 11240.

*** This bug has been marked as a duplicate of 11240 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: JavaScript Console → DOM
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.