Title: [118925] trunk/Source/WebCore
Revision
118925
Author
[email protected]
Date
2012-05-30 08:26:41 -0700 (Wed, 30 May 2012)

Log Message

Web Inspector: disable ExactlyInt feature in InspectorTypeBuilder since it breaks release Windows 7 WK2
https://bugs.webkit.org/show_bug.cgi?id=87857

Patch by Peter Rybin <[email protected]> on 2012-05-30
Reviewed by Yury Semikhatsky.

Code generator is patched to support old style of int parameter.

* inspector/CodeGeneratorInspector.py:
(TypeModel.init_class):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (118924 => 118925)


--- trunk/Source/WebCore/ChangeLog	2012-05-30 15:17:24 UTC (rev 118924)
+++ trunk/Source/WebCore/ChangeLog	2012-05-30 15:26:41 UTC (rev 118925)
@@ -1,3 +1,15 @@
+2012-05-30  Peter Rybin  <[email protected]>
+
+        Web Inspector: disable ExactlyInt feature in InspectorTypeBuilder since it breaks release Windows 7 WK2
+        https://bugs.webkit.org/show_bug.cgi?id=87857
+
+        Reviewed by Yury Semikhatsky.
+
+        Code generator is patched to support old style of int parameter.
+
+        * inspector/CodeGeneratorInspector.py:
+        (TypeModel.init_class):
+
 2012-05-30  Alexei Filippov  <[email protected]>
 
         Web Inspector: Add trace() method to the WorkerConsole

Modified: trunk/Source/WebCore/inspector/CodeGeneratorInspector.py (118924 => 118925)


--- trunk/Source/WebCore/inspector/CodeGeneratorInspector.py	2012-05-30 15:17:24 UTC (rev 118924)
+++ trunk/Source/WebCore/inspector/CodeGeneratorInspector.py	2012-05-30 15:26:41 UTC (rev 118925)
@@ -67,6 +67,8 @@
                                             # InspectorResourceAgent needs to update mime-type.
                                             "Network.Response"])
 
+EXACTLY_INT_SUPPORTED = False
+
 cmdline_parser = optparse.OptionParser()
 cmdline_parser.add_option("--output_h_dir")
 cmdline_parser.add_option("--output_cpp_dir")
@@ -733,7 +735,10 @@
     @classmethod
     def init_class(cls):
         cls.Bool = cls.ValueType("bool", False)
-        cls.Int = cls.ExactlyInt()
+        if EXACTLY_INT_SUPPORTED:
+            cls.Int = cls.ExactlyInt()
+        else:
+            cls.Int = cls.ValueType("int", False)
         cls.Number = cls.ValueType("double", False)
         cls.String = cls.ValueType("String", True,)
         cls.Object = cls.RefPtrBased("InspectorObject")
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to