icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include "EmptyBlobImpl.h"
|
||||
#include "File.h"
|
||||
#include "MemoryBlobImpl.h"
|
||||
#include "js/Object.h"
|
||||
#include "mozilla/dom/BlobBinding.h"
|
||||
#include "mozilla/dom/ReadableStream.h"
|
||||
#include "mozilla/dom/WorkerCommon.h"
|
||||
|
|
@ -121,6 +122,16 @@ Blob::Blob(nsIGlobalObject* aGlobal, BlobImpl* aImpl)
|
|||
|
||||
Blob::~Blob() = default;
|
||||
|
||||
already_AddRefed<Blob> Blob::Clone() const {
|
||||
RefPtr<Blob> clone = Create(GetParentObject(), Impl());
|
||||
return clone.forget();
|
||||
}
|
||||
|
||||
bool Blob::HasExpandos() const {
|
||||
const JSObject* wrapper = GetWrapperPreserveColor();
|
||||
return wrapper && JS::NativeObjectHasOwnProperties(wrapper);
|
||||
}
|
||||
|
||||
bool Blob::IsFile() const { return mImpl->IsFile(); }
|
||||
|
||||
const nsTArray<RefPtr<BlobImpl>>* Blob::GetSubBlobImpls() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue