M dist/build.xml
- Do not exclude Bookmarks, Prefs, and Profile from core source M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java - sleep for 10 seconds after the initial load M dist/netbeans/build.xml - add the ability to compile the core source of the webclient library, should the user want to modify it. M webclient/classes_spec/org/mozilla/mcp/MCP.java - Correctly cause blockingLoad to block until the load completes. git-svn-id: svn://10.0.0.236/trunk@221343 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -166,6 +166,13 @@ public class MCP {
|
||||
Navigation2 nav = getNavigation();
|
||||
synchronized (this) {
|
||||
nav.loadURL(url);
|
||||
try {
|
||||
this.wait();
|
||||
} catch (InterruptedException ex) {
|
||||
LOGGER.throwing(this.getClass().getName(), "blockingLoad",
|
||||
ex);
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -182,7 +189,9 @@ public class MCP {
|
||||
|
||||
switch ((int)type) {
|
||||
case ((int) DocumentLoadEvent.END_DOCUMENT_LOAD_EVENT_MASK):
|
||||
owner.notifyAll();
|
||||
synchronized (owner) {
|
||||
owner.notifyAll();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user