Closed
Bug 579340
Opened 14 years ago
Closed 14 years ago
Miscellaneous code cleanup
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mfinkle, Assigned: mfinkle)
Details
Attachments
(1 file)
3.44 KB,
patch
|
vingtetun
:
review+
|
Details | Diff | Splinter Review |
This patch fixes two things: * BrowserView::updateScrolledArea does not check to make sure "tab" is valid. It can be null when about:blank pre-pages load faster than we put the new tab in the Browser.tabs collection. We want to ignore those anyway and fix them in the future. BrowserView is destined for the scrape heap anyway. * importDialog reuses the "parent" variable for two different things: the parent DOM node and the parent window. The patch uses aParent for the passed in param and parentNode for the DOM node. See http://hg.mozilla.org/mobile-browser/diff/c21d7d3748a8/chrome/content/browser.js for the original 'parent' DOM node http://hg.mozilla.org/mobile-browser/rev/b8146a648664 for the addition of the 'parent' param
Assignee | ||
Updated•14 years ago
|
Attachment #457855 -
Attachment is patch: true
Attachment #457855 -
Attachment mime type: application/octet-stream → text/plain
Attachment #457855 -
Flags: review?(21)
Comment 1•14 years ago
|
||
Comment on attachment 457855 [details] [diff] [review] patch >diff --git a/chrome/content/browser.js b/chrome/content/browser.js >--- a/chrome/content/browser.js >+++ b/chrome/content/browser.js > // we need to insert before select-container if we want it to show correctly > let selectContainer = document.getElementById("select-container"); >- let parent = selectContainer.parentNode; >+ let parentNode = selectContainer.parentNode; > I'm happy this "parent" var was being insult by xpcshell for a while (bug 539461) and your patch correct what I've not seen when cleaning it.
Attachment #457855 -
Flags: review?(21) → review+
Assignee | ||
Comment 2•14 years ago
|
||
pushed: http://hg.mozilla.org/mobile-browser/rev/93baa2cdfc1f
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•