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

Unified Diff: third_party/WebKit/LayoutTests/crypto/subtle/resources/common.js

Issue 2712783002: V8ScriptValueSerializer: Add a separate version 'envelope' for Blink format version. (Closed)
Patch Set: Merge branch 'master' into ssv-separate-version Created 3 years, 10 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/LayoutTests/crypto/subtle/resources/common.js
diff --git a/third_party/WebKit/LayoutTests/crypto/subtle/resources/common.js b/third_party/WebKit/LayoutTests/crypto/subtle/resources/common.js
index bdfae256518012e1e2f5be64fd1a54face5a1ddd..39640d7d90f555d6c71e2e6caa30fc960993e305 100644
--- a/third_party/WebKit/LayoutTests/crypto/subtle/resources/common.js
+++ b/third_party/WebKit/LayoutTests/crypto/subtle/resources/common.js
@@ -113,7 +113,7 @@ function logSerializedKey(o)
if (internals) {
// Removing the version tag from the output so serialization format changes don't need to update all the crypto tests.
var serialized = internals.serializeObject(o);
- var serializedWithoutVersion = new Uint8Array(serialized, 2);
+ var serializedWithoutVersion = new Uint8Array(serialized, 4);
debug("Serialized key bytes: " + bytesToHexString(serializedWithoutVersion));
}
}

Powered by Google App Engine
This is Rietveld 408576698