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()); }
String DOMURL::createObjectURL(ExecutionContext* executionContext, Blob* blob) { if (!executionContext || !blob) return String(); return createPublicURL(executionContext, blob); }
String DOMURL::createObjectURL(ScriptExecutionContext* scriptExecutionContext, Blob* blob) { if (!scriptExecutionContext || !blob) return String(); return createPublicURL(scriptExecutionContext, blob); }