[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

kinuko at chromium.org kinuko at chromium.org
Wed Dec 22 12:55:53 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit e8a969dd5f2df34c0b1e8eaca9f0c136013df355
Author: kinuko at chromium.org <kinuko at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Sep 2 06:17:52 2010 +0000

    2010-09-01  Kinuko Yasuda  <kinuko at google.com>
    
            Reviewed by Adam Barth.
    
            [V8] Support readonly Date attribute
            https://bugs.webkit.org/show_bug.cgi?id=43943
    
            Adds Date to non_wrapper_types in CodeGeneratorV8.pm.
    
            New tests will be added for Metadata when we add FileSystem implementation.
    
            * bindings/scripts/CodeGeneratorV8.pm:
            * fileapi/Metadata.h:
            * fileapi/Metadata.idl:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66642 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index a909e30..a000bb0 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,18 @@
+2010-09-01  Kinuko Yasuda  <kinuko at google.com>
+
+        Reviewed by Adam Barth.
+
+        [V8] Support readonly Date attribute
+        https://bugs.webkit.org/show_bug.cgi?id=43943
+
+        Adds Date to non_wrapper_types in CodeGeneratorV8.pm.
+
+        New tests will be added for Metadata when we add FileSystem implementation.
+
+        * bindings/scripts/CodeGeneratorV8.pm:
+        * fileapi/Metadata.h:
+        * fileapi/Metadata.idl:
+
 2010-09-01  Mihai Parparita  <mihaip at chromium.org>
 
         Reviewed by Chris Marrin.
diff --git a/WebCore/bindings/scripts/CodeGeneratorV8.pm b/WebCore/bindings/scripts/CodeGeneratorV8.pm
index 7357b7f..5cc1232 100644
--- a/WebCore/bindings/scripts/CodeGeneratorV8.pm
+++ b/WebCore/bindings/scripts/CodeGeneratorV8.pm
@@ -3059,7 +3059,8 @@ my %non_wrapper_types = (
     'EventTarget' => 1,
     'NodeFilter' => 1,
     'EventListener' => 1,
-    'IDBKey' => 1
+    'IDBKey' => 1,
+    'Date' => 1
 );
 
 
diff --git a/WebCore/fileapi/Metadata.h b/WebCore/fileapi/Metadata.h
index 0b06f90..1fec943 100644
--- a/WebCore/fileapi/Metadata.h
+++ b/WebCore/fileapi/Metadata.h
@@ -43,7 +43,9 @@ public:
     {
         return adoptRef(new Metadata(modificationTime));
     }
-    double modificationTime() const { return m_modificationTime; }
+
+    // Needs to return epoch time in milliseconds for Date.
+    double modificationTime() const { return m_modificationTime * 1000.0; }
 
 private:
     Metadata(double modificationTime)
diff --git a/WebCore/fileapi/Metadata.idl b/WebCore/fileapi/Metadata.idl
index 711fae8..a5a90bc 100644
--- a/WebCore/fileapi/Metadata.idl
+++ b/WebCore/fileapi/Metadata.idl
@@ -32,6 +32,6 @@ module storage {
     interface [
         Conditional=FILE_SYSTEM
     ] Metadata {
-        readonly attribute double modificationTime;
+        readonly attribute Date modificationTime;
     };
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list