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

Side by Side Diff: LayoutTests/fast/storage/resources/serialized-script-value.js

Issue 900773003: Revert of Upgrade Blink to milliseconds-based last modified filetimes, part 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sof-fileinfo-modtime-in-ms-1
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/bindings/core/v8/ScriptValueSerializer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var kSerializedScriptValueVersion = 8; 1 var kSerializedScriptValueVersion = 7;
2 2
3 function forVersion(version, values) { 3 function forVersion(version, values) {
4 var versionTag = 0xff; 4 var versionTag = 0xff;
5 var versionPrefix = [ (version << 8) | versionTag ]; 5 var versionPrefix = [ (version << 8) | versionTag ];
6 6
7 return versionPrefix.concat(values) 7 return versionPrefix.concat(values)
8 } 8 }
9 9
10 function expectBufferValue(bytesPerElement, expectedValues, buffer) { 10 function expectBufferValue(bytesPerElement, expectedValues, buffer) {
11 expectedBufferValues = expectedValues; 11 expectedBufferValues = expectedValues;
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 } 203 }
204 204
205 function testFileSerialization() { 205 function testFileSerialization() {
206 window.jsTestIsAsync = true; 206 window.jsTestIsAsync = true;
207 testConstructedFileSerialization(function () { 207 testConstructedFileSerialization(function () {
208 testUserSelectedFileSerialization(function () { 208 testUserSelectedFileSerialization(function () {
209 finishJSTest(); 209 finishJSTest();
210 }); 210 });
211 }); 211 });
212 } 212 }
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/core/v8/ScriptValueSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698