Closed
Bug 902170
Opened 11 years ago
Closed 11 years ago
Suppress 'PAC file installed' message when running tests
Categories
(Core :: Networking: DNS, defect)
Core
Networking: DNS
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: ttaubert, Assigned: mcmanus)
References
Details
Attachments
(1 file)
2.04 KB,
patch
|
jduell.mcbugs
:
review+
|
Details | Diff | Splinter Review |
There currently is a *huge* message printed by ProxyAutoConfig at the start of every test run. This gets really annoying when trying to debug and run tests on your machine. Can we maybe only show this message in debug mode? Or maybe not at all? Here is what this message looks like: http://pastebin.mozilla.org/2797063
Flags: needinfo?(mcmanus)
Assignee | ||
Comment 1•11 years ago
|
||
ha! - data: URIs as PAC URIs - what a hack. Anyhow - can you confirm the builds here satisfy your needs? https://tbpl.mozilla.org/?tree=Try&rev=3acaae2b1f48
Flags: needinfo?(mcmanus)
Updated•11 years ago
|
Assignee: nobody → mcmanus
Status: NEW → ASSIGNED
Flags: needinfo?(ttaubert)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #789539 -
Flags: review?(jduell.mcbugs)
Comment 4•11 years ago
|
||
Comment on attachment 789539 [details] [diff] [review] don't log data: PAC URIs to JS console Review of attachment 789539 [details] [diff] [review]: ----------------------------------------------------------------- A thing of beauty is a joy forever :) ::: netwerk/base/src/ProxyAutoConfig.cpp @@ +601,5 @@ > JSAutoRequest ar(mJSRuntime->Context()); > JSAutoCompartment ac(mJSRuntime->Context(), mJSRuntime->Global()); > > + // this is not on the main thread, so it can't use nsIRUI scheme methods > + bool isDataURI = nsDependentCSubstring(mPACURI, 0, 5).LowerCaseEqualsASCII("data:", 5); maybe add comment? // we don't want to print data:: URIs to the console as they can be long.
Attachment #789539 -
Flags: review?(jduell.mcbugs) → review+
Assignee | ||
Comment 5•11 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/26373e95498d
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/26373e95498d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•