Title: [151771] trunk/Source/WebCore
Revision
151771
Author
[email protected]
Date
2013-06-19 22:44:42 -0700 (Wed, 19 Jun 2013)

Log Message

The order of the generated supplemental code is not guaranteed
https://bugs.webkit.org/show_bug.cgi?id=117820

Reviewed by Kentaro Hara.

Sort the supplemental idl files before generating the code so that it is
generated in a consistent order.

No new tests, covered by existing bindings tests.

* bindings/scripts/generate-bindings.pl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (151770 => 151771)


--- trunk/Source/WebCore/ChangeLog	2013-06-20 05:39:01 UTC (rev 151770)
+++ trunk/Source/WebCore/ChangeLog	2013-06-20 05:44:42 UTC (rev 151771)
@@ -1,3 +1,17 @@
+2013-06-19  Christophe Dumez  <[email protected]>
+
+        The order of the generated supplemental code is not guaranteed
+        https://bugs.webkit.org/show_bug.cgi?id=117820
+
+        Reviewed by Kentaro Hara.
+
+        Sort the supplemental idl files before generating the code so that it is
+        generated in a consistent order.
+
+        No new tests, covered by existing bindings tests.
+
+        * bindings/scripts/generate-bindings.pl:
+
 2013-06-19  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r151769.

Modified: trunk/Source/WebCore/bindings/scripts/generate-bindings.pl (151770 => 151771)


--- trunk/Source/WebCore/bindings/scripts/generate-bindings.pl	2013-06-20 05:39:01 UTC (rev 151770)
+++ trunk/Source/WebCore/bindings/scripts/generate-bindings.pl	2013-06-20 05:44:42 UTC (rev 151771)
@@ -100,7 +100,7 @@
         my ($idlFile, @followingIdlFiles) = split(/\s+/, $line);
         if ($idlFile and basename($idlFile) eq basename($targetIdlFile)) {
             $idlFound = 1;
-            @supplementedIdlFiles = @followingIdlFiles;
+            @supplementedIdlFiles = sort @followingIdlFiles;
         }
     }
     close FH;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to