Closed
Bug 41756
Opened 24 years ago
Closed 24 years ago
[RFE] special-case console errors for document.layers, document.all
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
WONTFIX
People
(Reporter: jruderman, Assigned: jst)
References
Details
Splitting from bug 41636.
Mozilla should special-case the error messages shown on the javascript console
for document.all and document.layers to make it clear that mozilla
intentionally doesn't support document.all and document.layers, and to help
webpage authors figure out how to fix their pages for mozilla.
Current
http://www.variety.com/scripts/iHorzNav.js line 11: document.layers has no prope
rties
Better
http://www.variety.com/scripts/iHorzNav.js line 11: document.layers has no prope
rties. See http://sites.netscape.net/ekrock/standards.html for help migrating
from document.layers and document.all to document.getElementById.
Problems with this idea
a = document.all;
a.foo.value = ""; // what error message do you get here?
// bug 9378 [fixed] related
URL (http://sites.netscape.net/ekrock/standards.html) might not be clickable.
Comment 1•24 years ago
|
||
<tough_decision>Nice idea. Alas, out of time for new RFEs.
Plus, this would be too complicated to implement--you'd have to
have intelligent script analysis code that would understand
things like code forks, etc. The right place to implement code
analysis is in server-side CGI-based services that scan a page
& generate a report, like WebSiteGarage, rather than in the
browser itself. WONTFIX.</tough_decision>
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•