Exemplo n.º 1
0
String DOMURL::createObjectURL(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState)
{
    if (!executionContext || !blob)
        return String();
    if (blob->hasBeenClosed()) {
        exceptionState.throwDOMException(InvalidStateError, String(blob->isFile() ? "File" : "Blob") + " has been closed.");
        return String();
    }
    return createPublicURL(executionContext, blob, blob->uuid());
}
Exemplo n.º 2
0
String DOMURL::createObjectURL(ExecutionContext* executionContext, Blob* blob)
{
    if (!executionContext || !blob)
        return String();
    return createPublicURL(executionContext, blob);
}
Exemplo n.º 3
0
String DOMURL::createObjectURL(ScriptExecutionContext* scriptExecutionContext, Blob* blob)
{
    if (!scriptExecutionContext || !blob)
        return String();
    return createPublicURL(scriptExecutionContext, blob);
}