Closed Bug 183415 Opened 22 years ago Closed 21 years ago

PAC: Apparent typo

Categories

(Core :: Networking, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: nate, Assigned: Biesinger)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021029 Phoenix/0.4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021029 Phoenix/0.4 I can't tell if this is a bug, but it sure looks suspicious. I was reading through to see how proxy autoconfiguration is handled, and came across this code in nsProxyAutoConfig.js: 222 if (!iid.equals(nsIProxyAutoConfig) && 223 !!iid.equals(Components.interfaces.nsIStreamListener) && 224 !iid.equals(Components.interfaces.nsISupports)) { Can this double negative in line 223 be intentional? This line came in as a patch for bug #53080, and was like this even in the earliest versions of the patch. Could someone knowledgeable take a glance at it? Apologies if I'm not seeing the obvious. Reproducible: Always Steps to Reproduce:
Keywords: clean-report
Summary: Apparent typo in proxy PAC autoconfig → Apparent typo in proxy PAC autoconfig
Depends on: 77323
-> whitebox, now that I think about it...
QA Contact: benc → ashishbhatt
Summary: Apparent typo in proxy PAC autoconfig → PAC: Apparent typo
Yeah, that looks totally wrong. That object implements nsIStreamListener...
Assignee: dougt → cbiesinger
Status: UNCONFIRMED → ASSIGNED
Attachment #142567 - Flags: superreview?(bzbarsky)
Attachment #142567 - Flags: review?(darin)
Comment on attachment 142567 [details] [diff] [review] the obvious patch sr=bzbarsky
Attachment #142567 - Flags: superreview?(bzbarsky) → superreview+
Comment on attachment 142567 [details] [diff] [review] the obvious patch hmm.. seems like it should also support nsIRequestObserver. want to add a line for that? r=darin
Attachment #142567 - Flags: review?(darin) → review+
checked in with added nsIRequestObserver
Blocks: 77323
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
No longer depends on: 77323
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: