Open Bug 1836210 Opened 2 years ago Updated 2 years ago

Warn when setting document.domain

Categories

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

enhancement

Tracking

()

People

(Reporter: zcorpan, Unassigned)

References

(Blocks 1 open bug)

Details

We'd like to make document.domain setter do nothing by default, see https://bugzilla.mozilla.org/show_bug.cgi?id=1817844

That end, it would be good if devtools console issued a warning when document.domain is set. It can link to https://developer.mozilla.org/en-US/docs/Web/API/Document/domain

Yeah, I think this just requires some DOM side changes. There's some documentation about it here.

Component: Console → DOM: Core & HTML
Product: DevTools → Core

Well, maybe Deprecated won't work because we only want it for the setter, but I think that would still require DOM side changes.

You need to log in before you can comment on or make changes to this bug.