function mycallback(error, result, wasThrown)
        {
            callback((error || wasThrown) ? null : WebInspector.RemoteObject.fromPayload(result));
        }
@param {function(*)} functionDeclaration
@param {Array.<RuntimeAgent.CallArgument>|undefined} args
@param {function(?WebInspector.RemoteObject)} callback