Closed Bug 537098 Opened 16 years ago Closed 16 years ago

|this.mInputElt is null| triggered by FireFTP extension.

Categories

(SeaMonkey :: Autocomplete, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.1a1

People

(Reporter: philip.chee, Assigned: philip.chee)

Details

(Whiteboard: parity-fx)

Attachments

(1 file)

The XPFE autocomplete textbox binding falls over when bound to a FireFTP autocomplete textbox because it uses a feature in the toolkit autocomplete.xml not back-synced to XPFE.
Summary: |this.mInputElt| is null triggered by FireFTP extension. → |this.mInputElt is null| triggered by FireFTP extension.
STR: 1. Install FireFTP mod from: <http://ftp.osuosl.org/pub/mozdev/xsidebar/mods/fireftp-1.0.7.xpi> to SeaMonkey 2.1a1pre. 2. Navigate to the FireFTP install location and edit the chrome.manifest commenting out the following line: #style chrome://fireftp/content/fireftp.xul chrome://fireftp/content/fireftp.css application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} 3. Re-Start SeaMonkey. Go Tools->FireFTP. 4. Open the error console. Observe error: Error: this.mInputElt is null Source file: chrome://global/content/autocomplete.xml
Attachment #419419 - Flags: superreview?(neil)
Attachment #419419 - Flags: review?(neil)
Comment on attachment 419419 [details] [diff] [review] Trunk Patch v1.0: Minimal backport from toolkit to fix the FireFTP problem [Checkin: Comment 7] >- <children includes="image|deck|stack"> >+ <children includes="image|deck|stack|box"> Does FireFTP actually use a box child?
> Does FireFTP actually use a box child? <textbox id = "remotepath" value = "/" flex = "1" tooltiptext = "&remotepath.tip;" onfocus = "onRemotePathFocus(event)" onblur = "onRemotePathBlur(event)" onkeypress = "if (event.keyCode == 13) remoteDirTree.changeDir(this.value)" ontextentered = "remoteDirTree.changeDir(this.value)" type = "autocomplete" tabscrolling = "true" enablehistory = "true" autocompletepopup = "PopupAutoComplete" autocompletesearch = "form-history" autocompletesearchparam = "remotepath"> <box id="identity-box" align="center" popup="identity-popup"> <deck id="page-proxy-deck"> <image id="page-proxy-button"/> <image id="page-proxy-favicon" validate="never" onload="this.parentNode.selectedIndex = 1; event.stopPropagation();" onerror="this.removeAttribute('src'); this.parentNode.selectedIndex = 0;"/> </deck> </box> </textbox>
> enablehistory = "true" Hmm. We don't have this either but fortunately disablehistory defaults to false
Comment on attachment 419419 [details] [diff] [review] Trunk Patch v1.0: Minimal backport from toolkit to fix the FireFTP problem [Checkin: Comment 7] I checked hg blame and gavin tried and failed not to include the box. Oh well.
Attachment #419419 - Flags: superreview?(neil)
Attachment #419419 - Flags: superreview+
Attachment #419419 - Flags: review?(neil)
Attachment #419419 - Flags: review+
(In reply to comment #4) >> enablehistory = "true" >Hmm. We don't have this either but fortunately disablehistory defaults to false Incompatible implementation anyway.
Keywords: checkin-needed
Comment on attachment 419419 [details] [diff] [review] Trunk Patch v1.0: Minimal backport from toolkit to fix the FireFTP problem [Checkin: Comment 7] http://hg.mozilla.org/mozilla-central/rev/ca1c43fda0a9
Attachment #419419 - Attachment description: Trunk Patch v1.0: Minimal backport from toolkit to fix the FireFTP problem. → Trunk Patch v1.0: Minimal backport from toolkit to fix the FireFTP problem [Checkin: Comment 7]
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1a1
Version: SeaMonkey 2.0 Branch → Trunk
Pushed by frgrahl@gmx.net: https://hg.mozilla.org/comm-central/rev/83e708826865 |this.mInputElt is null| triggered by FireFTP extension; Trunk Patch v1.0: Minimal backport from toolkit to fix the FireFTP problem.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: