Changeset 207394 in webkit
- Timestamp:
- Oct 16, 2016, 11:59:31 AM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r207393 r207394 1 2016-10-16 Simon Fraser <simon.fraser@apple.com> 2 3 Implement serializer = { attribute } 4 https://bugs.webkit.org/show_bug.cgi?id=163466 5 6 Follow-up fix to die if "serializer {...}" lists an attribute not present 7 on the interface. I don't think this is testable with the current bindings tests. 8 9 * bindings/scripts/CodeGeneratorJS.pm: 10 (GenerateSerializerFunction): 11 1 12 2016-10-16 Simon Fraser <simon.fraser@apple.com> 2 13 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
r207378 r207394 3985 3985 my @serializedAttributes = (); 3986 3986 foreach my $attribute_name (@{$interface->serializable->attributes}) { 3987 my $found_attribute = 0; 3987 3988 foreach my $attribute (@{$interface->attributes}) { 3988 3989 if ($attribute_name eq $attribute->signature->name) { 3989 3990 push @serializedAttributes, $attribute; 3991 $found_attribute = 1; 3990 3992 last; 3991 3993 } 3992 3994 } 3995 3996 die "Failed to find \"serializate\" attribute \"$attribute_name\" in $interfaceName" if !$found_attribute; 3993 3997 } 3994 3998
Note:
See TracChangeset
for help on using the changeset viewer.