Bug 90027

Summary: Add support for preciseTime() to WebKitTestRunner
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: Tools / TestsAssignee: Mark Hahnenberg <mhahnenberg>
Status: RESOLVED FIXED    
Severity: Normal CC: fpizlo, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

Mark Hahnenberg
Reported 2012-06-26 17:02:58 PDT
It would be nice to be able to use preciseTime() in WebKitTestRunner like we can in DumpRenderTree.
Attachments
Patch (3.20 KB, patch)
2012-06-26 17:27 PDT, Mark Hahnenberg
darin: review+
Mark Hahnenberg
Comment 1 2012-06-26 17:27:23 PDT
Darin Adler
Comment 2 2012-06-26 17:58:53 PDT
Comment on attachment 149642 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=149642&action=review > Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:625 > + return JSValueMakeNumber(context, WTF::currentTime()); The WTF prefix should not be needed here. > Tools/WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:35 > + object preciseTime(); Don’t we have bindings for double? Why does this have to be done with a general purpose value? Clearly, the terminology is wrong, by the way, because the value will not be an object.
Mark Hahnenberg
Comment 3 2012-06-26 18:38:53 PDT
Note You need to log in before you can comment on or make changes to this bug.