Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Backed out changeset a5214fb4d5c7 (bug 1434308) for failing xpcshell …
Browse files Browse the repository at this point in the history
…at dom/indexedDB/test/unit/test_wasm_recompile.js
  • Loading branch information
ccoroiu committed Jan 30, 2018
1 parent 7b5d9b0 commit 16758ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dom/indexedDB/IDBObjectStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ struct IDBObjectStore::StructuredCloneWriteInfo
uint64_t mOffsetToKeyProp;

explicit StructuredCloneWriteInfo(IDBDatabase* aDatabase)
: mCloneBuffer(JS::StructuredCloneScope::DifferentProcess, nullptr,
: mCloneBuffer(JS::StructuredCloneScope::SameProcessSameThread, nullptr,
nullptr)
, mDatabase(aDatabase)
, mOffsetToKeyProp(0)
Expand Down Expand Up @@ -1330,7 +1330,7 @@ IDBObjectStore::DeserializeValue(JSContext* aCx,
// FIXME: Consider to use StructuredCloneHolder here and in other
// deserializing methods.
if (!JS_ReadStructuredClone(aCx, aCloneReadInfo.mData, JS_STRUCTURED_CLONE_VERSION,
JS::StructuredCloneScope::DifferentProcess,
JS::StructuredCloneScope::SameProcessSameThread,
aValue, &callbacks, &aCloneReadInfo)) {
return false;
}
Expand Down Expand Up @@ -1502,7 +1502,7 @@ class DeserializeIndexValueHelper final : public Runnable

if (!JS_ReadStructuredClone(aCx, mCloneReadInfo.mData,
JS_STRUCTURED_CLONE_VERSION,
JS::StructuredCloneScope::DifferentProcess,
JS::StructuredCloneScope::SameProcessSameThread,
aValue, &callbacks, &mCloneReadInfo)) {
return NS_ERROR_DOM_DATA_CLONE_ERR;
}
Expand Down Expand Up @@ -1615,7 +1615,7 @@ class DeserializeUpgradeValueHelper final : public Runnable

if (!JS_ReadStructuredClone(aCx, mCloneReadInfo.mData,
JS_STRUCTURED_CLONE_VERSION,
JS::StructuredCloneScope::DifferentProcess,
JS::StructuredCloneScope::SameProcessSameThread,
aValue, &callbacks, &mCloneReadInfo)) {
return NS_ERROR_DOM_DATA_CLONE_ERR;
}
Expand Down

0 comments on commit 16758ec

Please sign in to comment.