I don't think this will work. You should be calling into qnx.webplatform.