Closed Bug 923166 Opened 7 years ago Closed 7 years ago
IDOMWindow Utils .container Element inside of Layout Helpers .get Frame Element
Based on discussion in Bug 917448 and https://groups.google.com/d/msg/mozilla.dev.platform/Tkl68cZ1tQg/dPwxDIJsnT0J, we implemented a getter called containerElement in Bug 918884. This is a better way to get the DOM element from a window, specifically because it doesn't rely on querySelectorAll("iframe") which could be missing other elements, like <object>. We should update getFrameElement to use this new getter.
Paul, here is a small patch to use the new containerElement in place of the current getFrameElement workaround. Here is a push to try: https://tbpl.mozilla.org/?tree=Try&rev=52dd0d222a21.
Attachment #815362 - Flags: review?(paul)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
You need to log in before you can comment on or make changes to this bug.