| 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 2703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2714 V8TRYCATCH_VOID(Dictionary, options, Dictionary(args[1], args.GetIsolate
())); | 2714 V8TRYCATCH_VOID(Dictionary, options, Dictionary(args[1], args.GetIsolate
())); |
| 2715 if (!fill${implClassName}Init(eventInit, options)) | 2715 if (!fill${implClassName}Init(eventInit, options)) |
| 2716 return; | 2716 return; |
| 2717 END | 2717 END |
| 2718 | 2718 |
| 2719 # Store 'any'-typed properties on the wrapper to avoid leaking them between
isolated worlds. | 2719 # Store 'any'-typed properties on the wrapper to avoid leaking them between
isolated worlds. |
| 2720 foreach my $attrName (@anyAttributeNames) { | 2720 foreach my $attrName (@anyAttributeNames) { |
| 2721 $implementation{nameSpaceInternal}->add(<<END); | 2721 $implementation{nameSpaceInternal}->add(<<END); |
| 2722 options.get("${attrName}", ${attrName}); | 2722 options.get("${attrName}", ${attrName}); |
| 2723 if (!${attrName}.IsEmpty()) | 2723 if (!${attrName}.IsEmpty()) |
| 2724 args.Holder()->SetHiddenValue(V8HiddenPropertyName::${attrName}(), $
{attrName}); | 2724 args.Holder()->SetHiddenValue(V8HiddenPropertyName::${attrName}(args
.GetIsolate()), ${attrName}); |
| 2725 END | 2725 END |
| 2726 } | 2726 } |
| 2727 | 2727 |
| 2728 $implementation{nameSpaceInternal}->add(<<END); | 2728 $implementation{nameSpaceInternal}->add(<<END); |
| 2729 } | 2729 } |
| 2730 | 2730 |
| 2731 RefPtr<${implClassName}> event = ${implClassName}::create(type, eventInit); | 2731 RefPtr<${implClassName}> event = ${implClassName}::create(type, eventInit); |
| 2732 END | 2732 END |
| 2733 | 2733 |
| 2734 if (@serializableAnyAttributeNames) { | 2734 if (@serializableAnyAttributeNames) { |
| (...skipping 3340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6075 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { | 6075 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { |
| 6076 $found = 1; | 6076 $found = 1; |
| 6077 } | 6077 } |
| 6078 return 1 if $found; | 6078 return 1 if $found; |
| 6079 }, 0); | 6079 }, 0); |
| 6080 | 6080 |
| 6081 return $found; | 6081 return $found; |
| 6082 } | 6082 } |
| 6083 | 6083 |
| 6084 1; | 6084 1; |
| OLD | NEW |