+2012-02-17 Kentaro Hara <haraken@chromium.org>
+
+ Replace [V8OnInstance] with [V8Unforgeable]
+ https://bugs.webkit.org/show_bug.cgi?id=78894
+
+ Reviewed by Adam Barth.
+
+ [V8OnInstance] means that the method should be defined
+ (not on a prototype chain but) on a DOM object. It is the
+ same meaning as [V8Unforgeable]. This patch replaces [V8OnInstance]
+ with [V8Unforgeable].
+
+ No tests. No change in behavior.
+
+ * bindings/scripts/CodeGeneratorV8.pm:
+ (GenerateImplementation):
+ * page/Location.idl:
+
2012-02-17 James Robinson <jamesr@chromium.org>
[chromium] Unreviewed build fix. MSVS gyp generator can't handle multiple .cpps with the same name in the same
my $attrExt = $function->signature->extendedAttributes;
# Don't put any nonstandard functions into this table:
- if ($attrExt->{"V8OnInstance"}) {
+ if ($attrExt->{"V8Unforgeable"}) {
next;
}
if ($function->isStatic) {
my $commentInfo = "Function '$name' (ExtAttr: '" . join(' ', keys(%{$attrExt})) . "')";
my $template = "proto";
- if ($attrExt->{"V8OnInstance"}) {
+ if ($attrExt->{"V8Unforgeable"}) {
$template = "instance";
}
if ($function->isStatic) {
attribute [DoNotCheckDomainSecurityOnSetter, CustomSetter, V8Unforgeable] DOMString href;
#endif
- [Custom, V8OnInstance] void assign(in [Optional=DefaultIsUndefined] DOMString url);
- [Custom, V8OnInstance] void replace(in [Optional=DefaultIsUndefined] DOMString url);
- [Custom, V8OnInstance] void reload();
+ [Custom, V8Unforgeable] void assign(in [Optional=DefaultIsUndefined] DOMString url);
+ [Custom, V8Unforgeable] void replace(in [Optional=DefaultIsUndefined] DOMString url);
+ [Custom, V8Unforgeable] void reload();
// URI decomposition attributes
#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
#endif
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
- [NotEnumerable, Custom, V8OnInstance, V8ReadOnly, ImplementedAs=toStringFunction] DOMString toString();
+ [NotEnumerable, Custom, V8Unforgeable, V8ReadOnly, ImplementedAs=toStringFunction] DOMString toString();
#endif
#if defined(V8_BINDING) && V8_BINDING
- [NotEnumerable, Custom, V8OnInstance, V8ReadOnly] DOMObject valueOf();
+ [NotEnumerable, Custom, V8Unforgeable, V8ReadOnly] DOMObject valueOf();
#endif
};