Closed
Bug 784198
Opened 14 years ago
Closed 14 years ago
browserIter.docShell is undefined errors
Categories
(Firefox Graveyard :: SocialAPI, defect)
Firefox Graveyard
SocialAPI
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 17
People
(Reporter: Gavin, Assigned: jaws)
Details
(Whiteboard: [Fx17])
Attachments
(2 files, 1 obsolete file)
|
6.74 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
|
2.11 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
These are showing up in tests and sometimes in normal use as well. I think it's caused by us trying to access the docshell too shortly after document insertion of the iframe.
Updated•14 years ago
|
Whiteboard: [Fx17]
| Assignee | ||
Comment 1•14 years ago
|
||
This sets isAppTab to true when the panel is opened.
I tried adding a separate "load" event listener within updateButton but I still got iframe.docShell undefined errors (not sure why though). This patch works though without generating the errors.
| Assignee | ||
Comment 2•14 years ago
|
||
This patch renames the variables from notifBrowser to notificationFrame (and related changes). Just some cleanup that Gavin did while looking at this bug.
r=me, author=gavin
Attachment #653966 -
Flags: review+
Comment 3•14 years ago
|
||
Comment on attachment 653965 [details] [diff] [review]
Patch
Review of attachment 653965 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/base/content/browser-social.js
@@ +446,5 @@
> });
>
> panel.addEventListener("popupshown", function onpopupshown() {
> panel.removeEventListener("popupshown", onpopupshown);
> SocialToolbar.button.setAttribute("open", "true");
if notifBrowser.contentDocument exists, notifBrowser.docShell should exist as well. So you could set it unconditionally outside the if. But perhaps you have tried it and it didn't work?
| Assignee | ||
Comment 4•14 years ago
|
||
Thanks, I just didn't think of that. I tested it and it works fine.
Attachment #653965 -
Attachment is obsolete: true
Attachment #653965 -
Flags: review?(felipc)
Attachment #653977 -
Flags: review?(felipc)
Updated•14 years ago
|
Attachment #653977 -
Flags: review?(felipc) → review+
| Assignee | ||
Comment 5•14 years ago
|
||
Comment 6•14 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d0d826d18cec
https://hg.mozilla.org/mozilla-central/rev/903124068c07
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Updated•7 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•