Closed
Bug 903274
Opened 11 years ago
Closed 10 years ago
this.updateDisplay is not a function at chrome://browser/content/search/search.xml:79 from every window during tpaint and tspaint
Categories
(Firefox :: Search, defect)
Firefox
Search
Tracking
()
RESOLVED
FIXED
Firefox 29
People
(Reporter: MattN, Assigned: Gavin)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
1.78 KB,
patch
|
MattN
:
review+
|
Details | Diff | Splinter Review |
21:20:44 INFO - [Exception... "'[JavaScript Error: "this.updateDisplay is not a function" {file: "chrome://browser/content/search/search.xml" line: 79}]' when calling method: [nsIBrowserSearchInitObserver::onInitComplete]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource://gre/components/nsSearchService.js :: onSuccess :: line 3216" data: yes] This seems to happen on most, if not all, windows during tpaint talos runs. I think the error happens because the callback is being called after the binding is destroyed. Log: https://tbpl.mozilla.org/php/getParsedLog.php?id=26337997&tree=Try&full=1 I think this is mostly just log spew and probably doesn't have much impact elsewhere but correct me if I'm wrong.
Assignee | ||
Comment 1•11 years ago
|
||
I agree that this is probably harmless. Can we set a "_destroyed" expando on the node from the XBL destructor, and then check it in the initialization callback? Failing that, we could just null check this.updateDisplay.
Comment 2•11 years ago
|
||
I see this same JavaScript error every time I run a debug Firefox build if I have customized Australis to remove the search bar. ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this.updateDisplay is not a function" {file: "chrome://browser/content/search/search.xml" line: 83}]' when calling method: [nsIBrowserSearchInitObserver::onInitComplete]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///Users/cpeterson/Code/mozilla/inbound/objdir-mac/dist/NightlyDebug.app/Contents/MacOS/components/nsSearchService.js :: onSuccess :: line 3720" data: yes] ************************************************************
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Chris Peterson (:cpeterson) from comment #2) > I see this same JavaScript error every time I run a debug Firefox build if I > have customized Australis to remove the search bar. That's strange. Search bar binding code shouldn't be running at all in that case...
Assignee | ||
Comment 4•11 years ago
|
||
Oh, unless you meant that you moved the search bar into the Australis menu panel - I see this bug then as well.
Comment 5•11 years ago
|
||
I see this error when I move the search bar into the Australis menu panel, but I confirmed that I also see this error when I remove the search bar.
Assignee | ||
Comment 6•11 years ago
|
||
Oh, I suppose the search bar is in the document to start with, until the customizable toolbar code removes it. It would be nice to find a way to avoid that somehow...
Updated•10 years ago
|
Summary: this.updateDisplay is not a function at chrome://browser/content/search/search.xml:79 from every window during tpaint → this.updateDisplay is not a function at chrome://browser/content/search/search.xml:79 from every window during tpaint and tspaint
Assignee | ||
Comment 8•10 years ago
|
||
This fixes it for me.
Assignee: nobody → gavin.sharp
Status: NEW → ASSIGNED
Attachment #8357531 -
Flags: review?(MattN+bmo)
Reporter | ||
Updated•10 years ago
|
Attachment #8357531 -
Flags: review?(MattN+bmo) → review+
Assignee | ||
Comment 9•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/f3e7fa7d9748
Target Milestone: --- → Firefox 29
https://hg.mozilla.org/mozilla-central/rev/f3e7fa7d9748
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 11•10 years ago
|
||
Comment on attachment 8357531 [details] [diff] [review] patch [Approval Request Comment] Bug caused by (feature/regressing bug #): none User impact if declined: tbpl logspam on nearly every talos run Testing completed: on m-c Risk to taking this patch (and alternatives if risky): none, just an early return in the event of an already-destroyed binding String or UUID changes made by this patch: none
Attachment #8357531 -
Flags: approval-mozilla-esr24?
Attachment #8357531 -
Flags: approval-mozilla-beta?
Attachment #8357531 -
Flags: approval-mozilla-b2g26?
Attachment #8357531 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Attachment #8357531 -
Flags: approval-mozilla-esr24?
Attachment #8357531 -
Flags: approval-mozilla-esr24+
Attachment #8357531 -
Flags: approval-mozilla-beta?
Attachment #8357531 -
Flags: approval-mozilla-beta+
Attachment #8357531 -
Flags: approval-mozilla-b2g26?
Attachment #8357531 -
Flags: approval-mozilla-b2g26+
Attachment #8357531 -
Flags: approval-mozilla-aurora?
Attachment #8357531 -
Flags: approval-mozilla-aurora+
Comment 12•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/016a7b78157a https://hg.mozilla.org/releases/mozilla-beta/rev/ea46482ad289 https://hg.mozilla.org/releases/mozilla-esr24/rev/85745204e10f https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/c877921e74d3
status-b2g-v1.2:
--- → fixed
status-b2g-v1.3:
--- → fixed
status-firefox27:
--- → fixed
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
status-firefox-esr24:
--- → fixed
Assignee | ||
Updated•10 years ago
|
Flags: in-testsuite? → in-testsuite-
Comment 14•10 years ago
|
||
Gavin, given in-testsuite-, is there any manual testing QA needs to do here?
Flags: needinfo?(gavin.sharp)
Comment 17•10 years ago
|
||
Backed out from the branches for causing bug 960864. https://hg.mozilla.org/releases/mozilla-aurora/rev/c2fef4e82f98 https://hg.mozilla.org/releases/mozilla-beta/rev/94895bef7698 https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/f903e807a133 https://hg.mozilla.org/releases/mozilla-esr24/rev/9a9701aacae4
Updated•10 years ago
|
Attachment #8357531 -
Flags: approval-mozilla-esr24+
Attachment #8357531 -
Flags: approval-mozilla-beta+
Attachment #8357531 -
Flags: approval-mozilla-b2g26+
Attachment #8357531 -
Flags: approval-mozilla-aurora+
You need to log in
before you can comment on or make changes to this bug.
Description
•