Closed Bug 1371027 Opened 7 years ago Closed 7 years ago

Add test to ensure changing the name attribute of a frame propagates to the docshell

Categories

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

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bytesized, Unassigned)

References

Details

Changing the name attribute of a frame should be propagated to the docshell [1], even if the name set is the same name that was already set. This is the current behavior, but there are no tests to ensure that the behavior remains this way.

This should be testable as a web platform test, since it's a spec issue. Though we should double-check what the spec says here, exactly, and maybe what other browsers do.

[1] http://searchfox.org/mozilla-central/rev/20963d7269b1b14d455f47bc0260d0653015bf84/dom/html/nsGenericHTMLFrameElement.cpp#322-330
Depends on: 1365092
Priority: -- → P3
Although it appears that our behavior matches the spec, no other major browser actually propagates frame name attribute changes that occur after browsing construct creation. For this reason, I will not be adding a web platform test to check for this.

It may even make more sense for us to match the behavior of other browsers and push for a spec change to match.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.