log.log("Argument 4 is JSONObject.NULL: "
+ (arguments.get(3) instanceof JsonNull));
js.removeFunction("testing.doTest");
}
});
js.execute("window.testing.doTest(42, 'text', {p: true}, null)");
}
@Override
protected String getTestDescription() {
return "Test javascript callback handling by adding a callback and invoking the javascript.";