Closed
Bug 568180
Opened 15 years ago
Closed 12 years ago
unhiding key protected channels shouldn't cause a key prompt to appear
Categories
(Other Applications :: ChatZilla, defect)
Other Applications
ChatZilla
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: svetlana, Assigned: svetlana)
Details
(Whiteboard: [cz-0.9.90])
Attachments
(1 file)
2.33 KB,
patch
|
bugzilla-mozilla-20000923
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 XPCOMViewer/0.9.2
Build Identifier: ChatZilla 0.9.86-2010031920; Firefox 3.6.3, 3.6.4rc, 3.7.a5pre (all of them)
The redundant key prompt appears.
Reproducible: Always
Steps to Reproduce:
1.open ChatZilla
2./server moznet
3./j #chan
4./mode +k test
5.midddle-click the #chan tab to hide it
6.In the menu, go to IRC - Views - #chan to unhide it
Actual Results:
The "Enter key for url irc://moznet/chan,needkey:" prompt pops up.
Whatever you put or hit Cancel, the channel opens anyway.
Expected Results:
The channel should have opened without the prompt for the key.
Comment 1•15 years ago
|
||
I can confirm this in Minefield as XULRunner. (firefox -app ...)
Comment 2•15 years ago
|
||
Gryllida wishes this assigned to him, I'm not about to mark as confirmed based on an XULRunner-based test though.
Assignee: rginda → gryllida
Updated•15 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Updated•15 years ago
|
Status: ASSIGNED → NEW
Updated•15 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Comment on attachment 679879 [details] [diff] [review]
fix
Review of attachment 679879 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good!
::: xul/content/static.js
@@ +2035,3 @@
> }
>
> + if (url.needkey && chan.joined == false)
Nit: if (url.needkey && !chan.joined)
@@ +2036,5 @@
>
> + if (url.needkey && chan.joined == false)
> + {
> + if (url.key)
> + key = url.key;
Nit: missing 1 space of indentation here.
Attachment #679879 -
Flags: review+
Comment 5•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Whiteboard: [cz-0.9.90]
You need to log in
before you can comment on or make changes to this bug.
Description
•