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

Issue 80983002: File constructor understands lastModified. (Closed)

Created:
7 years, 1 month ago by pwnall-personal
Modified:
7 years ago
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, watchdog-blink-watchlist_googole.com, Inactive, ojan
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

File constructor understands lastModified. This re-lands https://codereview.chromium.org/74213009/ with a modification to the File constructor layout tests that should make it not flake on XP. BUG=164933 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163221

Patch Set 1 : https://codereview.chromium.org/74213009/ #

Patch Set 2 : More robust comparison of lastModified vs Date.now() #

Patch Set 3 : Rebased against master. #

Patch Set 4 : Added a huge tolerance to Date.now() comparisons. #

Patch Set 5 : Added FIXME note to shouldBeNow(), bumped tolerance to 10x observed clock diff. #

Patch Set 6 : Rebased against master #

Total comments: 6

Patch Set 7 : Rebased, addressed bindings feedback. #

Patch Set 8 : Added isolate to v8::Date::New to avoid deprecation warning. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -29 lines) Patch
M LayoutTests/fast/files/blob-constructor.html View 1 chunk +6 lines, -1 line 0 comments Download
M LayoutTests/fast/files/blob-constructor-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/fast/files/file-constructor.html View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M LayoutTests/fast/files/file-constructor-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
M LayoutTests/fast/harness/should-be-now.html View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M LayoutTests/fast/harness/should-be-now-expected.txt View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M LayoutTests/resources/js-test.js View 1 2 3 4 2 chunks +11 lines, -3 lines 0 comments Download
M Source/bindings/v8/V8Binding.h View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download
M Source/bindings/v8/custom/V8BlobCustom.cpp View 1 chunk +4 lines, -5 lines 0 comments Download
M Source/bindings/v8/custom/V8BlobCustomHelpers.h View 1 2 3 4 5 6 1 chunk +40 lines, -5 lines 0 comments Download
M Source/bindings/v8/custom/V8BlobCustomHelpers.cpp View 1 chunk +45 lines, -7 lines 0 comments Download
M Source/bindings/v8/custom/V8FileCustom.cpp View 1 2 3 4 5 6 7 1 chunk +35 lines, -5 lines 0 comments Download
M Source/core/fileapi/File.idl View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
pwnall-personal
I would like to re-land the CL that brings the File constructor in line with ...
7 years, 1 month ago (2013-11-21 22:40:45 UTC) #1
kinuko
Would you be able to upload the original patch first, and then the new one, ...
7 years, 1 month ago (2013-11-22 06:59:25 UTC) #2
pwnall-personal
On 2013/11/22 06:59:25, kinuko wrote: > Would you be able to upload the original patch ...
7 years, 1 month ago (2013-11-22 13:19:33 UTC) #3
kinuko
Thanks for re-uploading the patch. On 2013/11/22 13:19:33, pwnall wrote: > > Also I think ...
7 years ago (2013-11-25 05:08:36 UTC) #4
pwnall-personal
On 2013/11/25 05:08:36, kinuko wrote: *snip* > As for the shouldBeNow() part, currently it's only ...
7 years ago (2013-11-25 07:50:29 UTC) #5
jsbell
Another drive-by, sorry. On 2013/11/25 07:50:29, pwnall wrote: > This is what the flakiness dashboard ...
7 years ago (2013-11-25 19:56:23 UTC) #6
pwnall-personal
kinuko: Seems like ojan solved the complexity by accepting the my CL that introduces shouldBeNow(). ...
7 years ago (2013-11-26 02:04:34 UTC) #7
pwnall-personal
On 2013/11/26 02:04:34, pwnall wrote: > kinuko: Seems like ojan solved the complexity by accepting ...
7 years ago (2013-11-26 02:05:29 UTC) #8
kinuko
On 2013/11/26 02:05:29, pwnall wrote: > On 2013/11/26 02:04:34, pwnall wrote: > > kinuko: Seems ...
7 years ago (2013-11-26 04:50:12 UTC) #9
kinuko
On 2013/11/26 04:50:12, kinuko wrote: > On 2013/11/26 02:05:29, pwnall wrote: > > On 2013/11/26 ...
7 years ago (2013-11-26 05:02:00 UTC) #10
pwnall-personal
On 2013/11/26 05:02:00, kinuko wrote: > On 2013/11/26 04:50:12, kinuko wrote: > > On 2013/11/26 ...
7 years ago (2013-11-27 03:17:27 UTC) #11
kinuko
Thanks for investigation. 1. How much time diff could they yield? 2. If they're small ...
7 years ago (2013-11-27 04:03:22 UTC) #12
pwnall-personal
On 2013/11/27 04:03:22, kinuko wrote: > 1. How much time diff could they yield? In ...
7 years ago (2013-11-28 03:13:30 UTC) #13
kinuko
On 2013/11/28 03:13:30, pwnall wrote: > On 2013/11/27 04:03:22, kinuko wrote: > > 1. How ...
7 years ago (2013-11-28 04:46:38 UTC) #14
pwnall-personal
On 2013/11/28 04:46:38, kinuko wrote: > Sounds good to me. Can you add a FIXME ...
7 years ago (2013-11-28 16:46:28 UTC) #15
eseidel
7 years ago (2013-11-28 17:14:01 UTC) #16
jsbell
On 2013/11/27 03:17:27, pwnall wrote: > I looked at how Date.now() works and compared with ...
7 years ago (2013-12-02 18:11:02 UTC) #17
pwnall-personal
On 2013/12/02 18:11:02, jsbell wrote: > On 2013/11/27 03:17:27, pwnall wrote: > > I looked ...
7 years ago (2013-12-04 06:21:48 UTC) #18
kinuko
On 2013/12/04 06:21:48, pwnall wrote: > On 2013/12/02 18:11:02, jsbell wrote: > > On 2013/11/27 ...
7 years ago (2013-12-05 03:05:54 UTC) #19
haraken
Sorry for being late. LGTM for bindings/. https://codereview.chromium.org/80983002/diff/460001/Source/bindings/v8/custom/V8BlobCustomHelpers.h File Source/bindings/v8/custom/V8BlobCustomHelpers.h (right): https://codereview.chromium.org/80983002/diff/460001/Source/bindings/v8/custom/V8BlobCustomHelpers.h#newcode58 Source/bindings/v8/custom/V8BlobCustomHelpers.h:58: double lastModified() ...
7 years ago (2013-12-05 03:14:09 UTC) #20
pwnall-personal
Thank you for your feedback, haraken! Sorry to pester you with this CL! https://codereview.chromium.org/80983002/diff/460001/Source/bindings/v8/custom/V8BlobCustomHelpers.h File ...
7 years ago (2013-12-05 04:24:53 UTC) #21
haraken
> Yes. In the last File API ED, "lastModified" replaces "lastModifiedDate" and > returns a ...
7 years ago (2013-12-05 04:26:06 UTC) #22
pwnall-personal
On 2013/12/05 03:05:54, kinuko wrote: > If the binding code hasn't been changed since the ...
7 years ago (2013-12-05 04:27:31 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/costan@gmail.com/80983002/540001
7 years ago (2013-12-05 06:47:44 UTC) #24
commit-bot: I haz the power
7 years ago (2013-12-05 08:08:31 UTC) #25
Message was sent while issue was closed.
Change committed as 163221

Powered by Google App Engine
This is Rietveld 408576698