Closed Bug 1688335 Opened 3 years ago Closed 3 years ago

namespaces shouldn't define `.length` and `.name`

Categories

(Core :: DOM: Bindings (WebIDL), defect, P2)

defect

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

References

Details

Attachments

(1 file)

The following should all log undefined:

console.log(console.length);
console.log(console.name);
console.log(CSS.length);
console.log(CSS.name);
Severity: -- → S3
Priority: -- → P2

Does P2 mean you are already working on it? Because I have a patch 👀

Assignee: nobody → krosylight
Status: NEW → ASSIGNED
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/656cb753f1d4
Remove .length and .name from namespaces r=edgar
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/27321 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Upstream PR merged by saschanaz
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e95672021ce7
[wpt PR 27321] - [Gecko Bug 1688335] Remove .length and .name from namespaces, a=testonly
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: