Thanks again to Michael Klepikov for these fixes.
M dom/jni/org_mozilla_dom_NodeImpl.cpp - code around the absence of LowerCaseEqualsLiteral in nsTAString.h. I'm surprised the unit tests worked for me all aloung though. M webclient/build.xml - make run.test.browser depend on "main" M webclient/src_moz/EmbedProgress.cpp - deal with null URL passed to ::OnStateChange M webclient/src_moz/HistoryImpl.cpp - Don't cast to PRBool* when you don't need to. M webclient/test/manual/src/classes/org/mozilla/webclient/test/TestBrowser.java - don't swallow the exception from setAppData(). git-svn-id: svn://10.0.0.236/trunk@160299 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -92,7 +92,9 @@ EmbedProgress::OnStateChange(nsIWebProgress *aWebProgress,
|
||||
|
||||
nsXPIDLCString uriString;
|
||||
RequestToURIString(aRequest, getter_Copies(uriString));
|
||||
jstring uriJstr = ::util_NewStringUTF(env, (const char *) uriString);
|
||||
const char * uriCStr = (const char *) uriString;
|
||||
jstring uriJstr = ::util_NewStringUTF(env, (nsnull != uriCStr
|
||||
? uriCStr : ""));
|
||||
|
||||
PR_LOG(prLogModuleInfo, PR_LOG_DEBUG,
|
||||
("EmbedProgress::OnStateChange: URI: %s\n",
|
||||
|
||||
Reference in New Issue
Block a user