mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 673586 - Implement lastModifiedDate property for the File interface. Type followup r=mounir
This commit is contained in:
parent
52a3ef54a0
commit
d66dfa7486
@ -427,7 +427,7 @@ nsDOMFileFile::GetMozFullPathInternal(nsAString &aFilename)
|
||||
NS_IMETHODIMP
|
||||
nsDOMFileFile::GetLastModifiedDate(JSContext* cx, JS::Value *aLastModifiedDate)
|
||||
{
|
||||
PRTime msecs;
|
||||
PRInt64 msecs;
|
||||
mFile->GetLastModifiedTime(&msecs);
|
||||
JSObject* date = JS_NewDateObjectMsec(cx, msecs);
|
||||
if (date) {
|
||||
|
Loading…
Reference in New Issue
Block a user