Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(846)

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp

Issue 2838783002: SharedArrayBuffer throws serializing to indexeddb (Closed)
Patch Set: forgot README Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp
index 9b053e1d7c973c73515cab659643defbe762810d..30d0e72a812c6716639887f85becced7ad6bc411 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp
@@ -381,6 +381,7 @@ IDBRequest* IDBObjectStore::put(ScriptState* script_state,
options.blob_info = &blob_info;
options.write_wasm_to_stream =
ExecutionContext::From(script_state)->IsSecureContext();
+ options.for_storage = true;
RefPtr<SerializedScriptValue> serialized_value =
SerializedScriptValue::Serialize(isolate, value.V8Value(), options,
exception_state);

Powered by Google App Engine
This is Rietveld 408576698