| OLD | NEW |
| 1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> | 2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> |
| 3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> | 4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> |
| 5 # Copyright (C) 2006 Apple Computer, Inc. | 5 # Copyright (C) 2006 Apple Computer, Inc. |
| 6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. | 6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. |
| 7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. | 8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 10 # Copyright (C) 2012 Ericsson AB. All rights reserved. | 10 # Copyright (C) 2012 Ericsson AB. All rights reserved. |
| (...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1098 | 1098 |
| 1099 sub HasActivityLogging | 1099 sub HasActivityLogging |
| 1100 { | 1100 { |
| 1101 my $forMainWorldSuffix = shift; | 1101 my $forMainWorldSuffix = shift; |
| 1102 my $attrExt = shift; | 1102 my $attrExt = shift; |
| 1103 my $access = shift; | 1103 my $access = shift; |
| 1104 | 1104 |
| 1105 if (!$attrExt->{"ActivityLogging"}) { | 1105 if (!$attrExt->{"ActivityLogging"}) { |
| 1106 return 0; | 1106 return 0; |
| 1107 } | 1107 } |
| 1108 my $logAllAccess = ($attrExt->{"ActivityLogging"} =~ /^Access/); | 1108 my $logAllAccess = ($attrExt->{"ActivityLogging"} =~ /^For/); # No prefix,
starts with For*Worlds suffix |
| 1109 my $logGetter = ($attrExt->{"ActivityLogging"} =~ /^Getter/); | 1109 my $logGetter = ($attrExt->{"ActivityLogging"} =~ /^Getter/); |
| 1110 my $logSetter = ($attrExt->{"ActivityLogging"} =~ /^Setter/); | 1110 my $logSetter = ($attrExt->{"ActivityLogging"} =~ /^Setter/); |
| 1111 my $logOnlyIsolatedWorlds = ($attrExt->{"ActivityLogging"} =~ /ForIsolatedWo
rlds$/); | 1111 my $logOnlyIsolatedWorlds = ($attrExt->{"ActivityLogging"} =~ /ForIsolatedWo
rlds$/); |
| 1112 | 1112 |
| 1113 if ($logOnlyIsolatedWorlds && $forMainWorldSuffix eq "ForMainWorld") { | 1113 if ($logOnlyIsolatedWorlds && $forMainWorldSuffix eq "ForMainWorld") { |
| 1114 return 0; | 1114 return 0; |
| 1115 } | 1115 } |
| 1116 return $logAllAccess || ($logGetter && $access eq "Getter") || ($logSetter &
& $access eq "Setter"); | 1116 return $logAllAccess || ($logGetter && $access eq "Getter") || ($logSetter &
& $access eq "Setter"); |
| 1117 } | 1117 } |
| 1118 | 1118 |
| (...skipping 5165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6284 | 6284 |
| 6285 return 1 if $interface->extendedAttributes->{"CustomToV8"}; | 6285 return 1 if $interface->extendedAttributes->{"CustomToV8"}; |
| 6286 return 1 if $interface->extendedAttributes->{"SpecialWrapFor"}; | 6286 return 1 if $interface->extendedAttributes->{"SpecialWrapFor"}; |
| 6287 return 1 if InheritsInterface($interface, "Document"); | 6287 return 1 if InheritsInterface($interface, "Document"); |
| 6288 return 1 if SVGTypeNeedsToHoldContextElement($interface->name); | 6288 return 1 if SVGTypeNeedsToHoldContextElement($interface->name); |
| 6289 | 6289 |
| 6290 return 0; | 6290 return 0; |
| 6291 } | 6291 } |
| 6292 | 6292 |
| 6293 1; | 6293 1; |
| OLD | NEW |