History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-469
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Jin Yin
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

A bug of the "debugURL" parameter with ProxyHandler's constructor

Created: 29/Apr/08 01:30 AM   Updated: 12/Aug/08 05:36 PM
Component/s: Proxy Injection
Affects Version/s: None
Fix Version/s: None

Original Estimate: 0.03h Remaining Estimate: 0.03h Time Spent: Unknown


 Description  « Hide
At the latest code of ProxyHandler, the constructor has been changed to "ProxyHandler(boolean trustAllSSLCertificates, String dontInjectRegex, String debugURL)", but when we set a null value to "debugURL", all the test will be failure.
The root cause is here(InjectHelper.java, line 189,191):
 if (debugURL.equals(url)) {
            log.info("debug URL seen");
        }
This is a trouble for me to use a customized proxy handler rather than the default ProxyHandler.

 All   Comments   Work Log   Change History      Sort Order:
Patrick Lightbody - 29/Apr/08 08:40 AM
This looks like an easy fix. We just need to change url.equals(debugURL). I think this is not a bad idea, since it is reasonable to assume that null is a decent placeholder for a "debug URL" if we don't want to debug.