If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Devmo JS and CSS errors to check and fix

RESOLVED FIXED

Status

Mozilla Developer Network
General
RESOLVED FIXED
12 years ago
5 years ago

People

(Reporter: dria, Assigned: dria)

Tracking

Details

From an email...

"I happened to visit DevMo while doing some extension debugging, so I had the
JavaScript Console open with strict mode enabled (javascript.options.strict =
true). Dozens of warnings and a few errors show up during a page load. I don't
see any critical problems, but they should probably be fixed at some point.

A few examples:

* Error: Selector expected.  Ruleset ignored due to bad selector.
Source File: http://developer.mozilla.org/css/wiki.css
Line: 672

* Error: Unknown property '_width'.  Declaration dropped.
Source File: http://developer.mozilla.org/css/base.css
Line: 225

* Warning: function diffcheck does not always return a value
Source File: http://developer.mozilla.org/en/docs/skins/common/wikibits.js
Line: 107

* Warning: variable element hides argument
Source File: http://developer.mozilla.org/en/docs/skins/devmo/prototype.js
Line: 931, Column: 8

(Most of the warning look like the last two)"
(In reply to comment #0)
> * Error: Selector expected.  Ruleset ignored due to bad selector.
> Source File: http://developer.mozilla.org/css/wiki.css
> Line: 672

Extra "}" that should be removed.

> * Error: Unknown property '_width'.  Declaration dropped.
> Source File: http://developer.mozilla.org/css/base.css
> Line: 225

This is a common hack for IE, so it's probably intended.
Component: developer.mozilla.org → Infrastructure
Product: mozilla.org → Mozilla Developer Center
QA Contact: qa → infrastructure
Version: other → unspecified
invalid with deki switch
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Component: Deki Infrastructure → Other
Product: Mozilla Developer Network → Mozilla Developer Network
You need to log in before you can comment on or make changes to this bug.