<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[181024] trunk/Source/WebCore</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/181024">181024</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2015-03-04 13:47:30 -0800 (Wed, 04 Mar 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>Unreviewed, rolling out <a href="http://trac.webkit.org/projects/webkit/changeset/181001">r181001</a> and <a href="http://trac.webkit.org/projects/webkit/changeset/181003">r181003</a>.
https://bugs.webkit.org/show_bug.cgi?id=142307
Broke many tests (Requested by ap on #webkit).
Reverted changesets:
"Make JavaScript binding get and set legacy event listener
attributes directly"
https://bugs.webkit.org/show_bug.cgi?id=142282
http://trac.webkit.org/changeset/181001
"Update bindings tests after <a href="http://trac.webkit.org/projects/webkit/changeset/181001">r181001</a>."
http://trac.webkit.org/changeset/181003</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSEventListenercpp">trunk/Source/WebCore/bindings/js/JSEventListener.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSEventListenerh">trunk/Source/WebCore/bindings/js/JSEventListener.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjectcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGettercpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventTargetcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestExceptioncpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachablecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestInterfacecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenercpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNodecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministiccpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfacecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestTypedefscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSattributecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSreadonlycpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/ChangeLog        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2015-03-04 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r181001 and r181003.
+ https://bugs.webkit.org/show_bug.cgi?id=142307
+
+ Broke many tests (Requested by ap on #webkit).
+
+ Reverted changesets:
+
+ "Make JavaScript binding get and set legacy event listener
+ attributes directly"
+ https://bugs.webkit.org/show_bug.cgi?id=142282
+ http://trac.webkit.org/changeset/181001
+
+ "Update bindings tests after r181001."
+ http://trac.webkit.org/changeset/181003
+
</ins><span class="cx"> 2015-03-04 Roger Fong <roger_fong@apple.com>
</span><span class="cx">
</span><span class="cx"> Update elapsed/remaining time displays on media inline controls on OSX.
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSEventListenercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSEventListener.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSEventListener.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/js/JSEventListener.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -23,7 +23,6 @@
</span><span class="cx"> #include "BeforeUnloadEvent.h"
</span><span class="cx"> #include "Event.h"
</span><span class="cx"> #include "Frame.h"
</span><del>-#include "HTMLElement.h"
</del><span class="cx"> #include "JSEvent.h"
</span><span class="cx"> #include "JSEventTarget.h"
</span><span class="cx"> #include "JSMainThreadExecState.h"
</span><span class="lines">@@ -171,49 +170,4 @@
</span><span class="cx"> return JSEventListener::create(&listener, &wrapper, false, currentWorld(&state));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-static inline JSC::JSValue eventHandlerAttribute(EventListener* abstractListener, ScriptExecutionContext& context)
-{
- if (!abstractListener)
- return jsNull();
-
- auto* listener = JSEventListener::cast(abstractListener);
- if (!listener)
- return jsNull();
-
- auto* function = listener->jsFunction(&context);
- if (!function)
- return jsNull();
-
- return function;
-}
-
-static inline RefPtr<JSEventListener> createEventListenerForEventHandlerAttribute(JSC::ExecState& state, JSC::JSValue listener, JSC::JSObject& wrapper)
-{
- if (!listener.isObject())
- return nullptr;
- return JSEventListener::create(asObject(listener), &wrapper, true, currentWorld(&state));
-}
-
-JSC::JSValue eventHandlerAttribute(EventTarget& target, const AtomicString& eventType)
-{
- return eventHandlerAttribute(target.getAttributeEventListener(eventType), *target.scriptExecutionContext());
-}
-
-void setEventHandlerAttribute(JSC::ExecState& state, JSC::JSObject& wrapper, EventTarget& target, const AtomicString& eventType, JSC::JSValue value)
-{
- target.setAttributeEventListener(eventType, createEventListenerForEventHandlerAttribute(state, value, wrapper));
-}
-
-JSC::JSValue windowForwardedEventHandlerAttribute(HTMLElement& element, const AtomicString& eventType)
-{
- auto& document = element.document();
- return eventHandlerAttribute(document.getWindowAttributeEventListener(eventType), document);
-}
-
-void setWindowForwardedEventHandlerAttribute(JSC::ExecState& state, JSC::JSObject& wrapper, HTMLElement& element, const AtomicString& eventType, JSC::JSValue value)
-{
- ASSERT(wrapper.globalObject());
- element.document().setWindowAttributeEventListener(eventType, createEventListenerForEventHandlerAttribute(state, value, *wrapper.globalObject()));
-}
-
</del><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSEventListenerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSEventListener.h (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSEventListener.h        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/js/JSEventListener.h        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -29,8 +29,6 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>- class EventTarget;
- class HTMLElement;
</del><span class="cx"> class JSDOMGlobalObject;
</span><span class="cx">
</span><span class="cx"> class JSEventListener : public EventListener {
</span><span class="lines">@@ -77,14 +75,9 @@
</span><span class="cx"> RefPtr<DOMWrapperWorld> m_isolatedWorld;
</span><span class="cx"> };
</span><span class="cx">
</span><del>- // For "onxxx" attributes that automatically set up JavaScript event listeners.
- JSC::JSValue eventHandlerAttribute(EventTarget&, const AtomicString& eventType);
- void setEventHandlerAttribute(JSC::ExecState&, JSC::JSObject&, EventTarget&, const AtomicString& eventType, JSC::JSValue);
</del><ins>+ // For "onXXX" event attributes.
+ RefPtr<JSEventListener> createJSEventListenerForAttribute(JSC::ExecState&, JSC::JSValue listener, JSC::JSObject& wrapper);
</ins><span class="cx">
</span><del>- // Like the functions above, but for attributes that forward event handlers to the window object rather than setting them on the target.
- JSC::JSValue windowForwardedEventHandlerAttribute(HTMLElement&, const AtomicString& eventType);
- void setWindowForwardedEventHandlerAttribute(JSC::ExecState&, JSC::JSObject&, HTMLElement&, const AtomicString& eventType, JSC::JSValue);
-
</del><span class="cx"> Ref<JSEventListener> createJSEventListenerForAdd(JSC::ExecState&, JSC::JSObject& listener, JSC::JSObject& wrapper);
</span><span class="cx"> Ref<JSEventListener> createJSEventListenerForRemove(JSC::ExecState&, JSC::JSObject& listener, JSC::JSObject& wrapper);
</span><span class="cx">
</span><span class="lines">@@ -119,6 +112,13 @@
</span><span class="cx"> return m_jsFunction.get();
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+ inline RefPtr<JSEventListener> createJSEventListenerForAttribute(JSC::ExecState& state, JSC::JSValue listener, JSC::JSObject& wrapper)
+ {
+ if (!listener.isObject())
+ return nullptr;
+ return JSEventListener::create(asObject(listener), &wrapper, true, currentWorld(&state));
+ }
+
</ins><span class="cx"> inline Ref<JSEventListener> createJSEventListenerForRemove(JSC::ExecState& state, JSC::JSObject& listener, JSC::JSObject& wrapper)
</span><span class="cx"> {
</span><span class="cx"> return createJSEventListenerForAdd(state, listener, wrapper);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -140,21 +140,16 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-sub EventHandlerAttributeEventName
</del><ins>+sub GenerateAttributeEventListenerCall
</ins><span class="cx"> {
</span><del>- my $attribute = shift;
</del><ins>+ my $implSetterFunctionName = shift;
+ my $windowEventListener = shift;
</ins><span class="cx">
</span><del>- # Remove the "on" prefix.
- my $eventType = substr($attribute->signature->name, 2);
</del><ins>+ my $wrapperObject = $windowEventListener ? "globalObject" : "castedThis";
+ my @GenerateEventListenerImpl = ();
</ins><span class="cx">
</span><del>- # FIXME: Consider adding a property in the IDL file instead of hard coding these four event names.
- # Note: This same hard coded list of property names exists in HTMLElement.cpp.
- $eventType = "webkitAnimationEnd" if $eventType eq "webkitanimationend";
- $eventType = "webkitAnimationIteration" if $eventType eq "webkitanimationiteration";
- $eventType = "webkitAnimationStart" if $eventType eq "webkitanimationstart";
- $eventType = "webkitTransitionEnd" if $eventType eq "webkittransitionend";
-
- return "eventNames().${eventType}Event";
</del><ins>+ push(@GenerateEventListenerImpl, " impl.set$implSetterFunctionName(createJSEventListenerForAttribute(*exec, value, *$wrapperObject));\n");
+ return @GenerateEventListenerImpl;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> sub GenerateEventListenerCall
</span><span class="lines">@@ -1974,7 +1969,7 @@
</span><span class="cx"> push(@implContent, "{\n");
</span><span class="cx"> push(@implContent, " VM& vm = exec->vm();\n");
</span><span class="cx"> push(@implContent, " UNUSED_PARAM(vm);\n");
</span><del>- push(@implContent, " auto* thisObject = jsCast<${className}Prototype*>(object);\n");
</del><ins>+ push(@implContent, " ${className}Prototype* thisObject = jsCast<${className}Prototype*>(object);\n");
</ins><span class="cx">
</span><span class="cx"> if ($numConstants eq 0 && $numFunctions eq 0 && $numPrototypeAttributes eq 0) {
</span><span class="cx"> push(@implContent, " return Base::getOwnPropertySlot(thisObject, exec, propertyName, slot);\n");
</span><span class="lines">@@ -2017,7 +2012,7 @@
</span><span class="cx"> if ($interface->extendedAttributes->{"JSCustomNamedGetterOnPrototype"}) {
</span><span class="cx"> push(@implContent, "void ${className}Prototype::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)\n");
</span><span class="cx"> push(@implContent, "{\n");
</span><del>- push(@implContent, " auto* thisObject = jsCast<${className}Prototype*>(cell);\n");
</del><ins>+ push(@implContent, " ${className}Prototype* thisObject = jsCast<${className}Prototype*>(cell);\n");
</ins><span class="cx"> push(@implContent, " if (thisObject->putDelegate(exec, propertyName, value, slot))\n");
</span><span class="cx"> push(@implContent, " return;\n");
</span><span class="cx"> push(@implContent, " Base::put(thisObject, exec, propertyName, value, slot);\n");
</span><span class="lines">@@ -2111,7 +2106,7 @@
</span><span class="cx"> if (!$interface->extendedAttributes->{"CustomGetOwnPropertySlot"}) {
</span><span class="cx"> push(@implContent, "bool ${className}::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)\n");
</span><span class="cx"> push(@implContent, "{\n");
</span><del>- push(@implContent, " auto* thisObject = jsCast<${className}*>(object);\n");
</del><ins>+ push(@implContent, " ${className}* thisObject = jsCast<${className}*>(object);\n");
</ins><span class="cx"> push(@implContent, " ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n");
</span><span class="cx"> push(@implContent, GenerateGetOwnPropertySlotBody($interface, $interfaceName, $className, $numInstanceAttributes > 0, 0));
</span><span class="cx"> push(@implContent, "}\n\n");
</span><span class="lines">@@ -2122,7 +2117,7 @@
</span><span class="cx"> || $interface->extendedAttributes->{"JSCustomGetOwnPropertySlotAndDescriptor"}) {
</span><span class="cx"> push(@implContent, "bool ${className}::getOwnPropertySlotByIndex(JSObject* object, ExecState* exec, unsigned index, PropertySlot& slot)\n");
</span><span class="cx"> push(@implContent, "{\n");
</span><del>- push(@implContent, " auto* thisObject = jsCast<${className}*>(object);\n");
</del><ins>+ push(@implContent, " ${className}* thisObject = jsCast<${className}*>(object);\n");
</ins><span class="cx"> push(@implContent, " ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n");
</span><span class="cx">
</span><span class="cx"> # Sink the int-to-string conversion that happens when we create a PropertyName
</span><span class="lines">@@ -2195,9 +2190,9 @@
</span><span class="cx"> push(@implContent, " UNUSED_PARAM(thisValue);\n");
</span><span class="cx"> if (!$attribute->isStatic || $attribute->signature->type =~ /Constructor$/) {
</span><span class="cx"> if ($interface->extendedAttributes->{"CustomProxyToJSObject"}) {
</span><del>- push(@implContent, " auto* castedThis = to${className}(JSValue::decode(thisValue));\n");
</del><ins>+ push(@implContent, " ${className}* castedThis = to${className}(JSValue::decode(thisValue));\n");
</ins><span class="cx"> } elsif (AttributeShouldBeOnInstance($interface, $attribute)) {
</span><del>- push(@implContent, " auto* castedThis = jsCast<JS${interfaceName}*>(slotBase);\n");
</del><ins>+ push(@implContent, " ${className}* castedThis = jsCast<JS${interfaceName}*>(slotBase);\n");
</ins><span class="cx"> if (InterfaceRequiresAttributesOnInstanceForCompatibility($interface)) {
</span><span class="cx"> push(@implContent, " ${className}* castedThisObject = " . GetCastingHelperForThisObject($interface) . "(JSValue::decode(thisValue));\n");
</span><span class="cx"> push(@implContent, " if (UNLIKELY(!castedThisObject))\n");
</span><span class="lines">@@ -2288,13 +2283,23 @@
</span><span class="cx"> push(@implContent, " return JSValue::encode(castedThis->$implGetterFunctionName(exec));\n");
</span><span class="cx"> } elsif ($attribute->signature->extendedAttributes->{"CheckSecurityForNode"}) {
</span><span class="cx"> $implIncludes{"JSDOMBinding.h"} = 1;
</span><del>- push(@implContent, " auto& impl = castedThis->impl();\n");
</del><ins>+ push(@implContent, " $implType& impl = castedThis->impl();\n");
</ins><span class="cx"> push(@implContent, " return JSValue::encode(shouldAllowAccessToNode(exec, impl." . $attribute->signature->name . "()) ? " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl.$implGetterFunctionName()", "castedThis") . " : jsNull());\n");
</span><span class="cx"> } elsif ($type eq "EventListener") {
</span><del>- my $getter = $attribute->signature->extendedAttributes->{"JSWindowEventListener"} ? "windowForwardedEventHandlerAttribute" : "eventHandlerAttribute";
- my $eventName = EventHandlerAttributeEventName($attribute);
</del><ins>+ $implIncludes{"EventListener.h"} = 1;
</ins><span class="cx"> push(@implContent, " UNUSED_PARAM(exec);\n");
</span><del>- push(@implContent, " return JSValue::encode($getter(castedThis->impl(), $eventName));\n");
</del><ins>+ push(@implContent, " $implType& impl = castedThis->impl();\n");
+ push(@implContent, " if (EventListener* listener = impl.$implGetterFunctionName()) {\n");
+ push(@implContent, " if (const JSEventListener* jsListener = JSEventListener::cast(listener)) {\n");
+ if ($interfaceName eq "Document" || $codeGenerator->InheritsInterface($interface, "WorkerGlobalScope")) {
+ push(@implContent, " if (JSObject* jsFunction = jsListener->jsFunction(&impl))\n");
+ } else {
+ push(@implContent, " if (JSObject* jsFunction = jsListener->jsFunction(impl.scriptExecutionContext()))\n");
+ }
+ push(@implContent, " return JSValue::encode(jsFunction);\n");
+ push(@implContent, " }\n");
+ push(@implContent, " }\n");
+ push(@implContent, " return JSValue::encode(jsNull());\n");
</ins><span class="cx"> } elsif ($attribute->signature->type =~ /Constructor$/) {
</span><span class="cx"> my $constructorType = $attribute->signature->type;
</span><span class="cx"> $constructorType =~ s/Constructor$//;
</span><span class="lines">@@ -2347,7 +2352,7 @@
</span><span class="cx">
</span><span class="cx"> unshift(@arguments, @callWithArgs);
</span><span class="cx"> my $jsType = NativeToJSValue($attribute->signature, 0, $interfaceName, "${functionName}(" . join(", ", @arguments) . ")", "castedThis");
</span><del>- push(@implContent, " auto& impl = castedThis->impl();\n") if !$attribute->isStatic;
</del><ins>+ push(@implContent, " $implType& impl = castedThis->impl();\n") if !$attribute->isStatic;
</ins><span class="cx"> if ($codeGenerator->IsSVGAnimatedType($type)) {
</span><span class="cx"> push(@implContent, " RefPtr<$type> obj = $jsType;\n");
</span><span class="cx"> push(@implContent, " JSValue result = toJS(exec, castedThis->globalObject(), obj.get());\n");
</span><span class="lines">@@ -2376,7 +2381,7 @@
</span><span class="cx"> push(@implContent, " $svgPropertyOrListPropertyType impl(*castedThis->impl());\n");
</span><span class="cx"> push(@implContent, " JSValue result = " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl.$implGetterFunctionName(" . join(", ", @arguments) . ")", "castedThis") . ";\n");
</span><span class="cx"> } else {
</span><del>- push(@implContent, " auto& impl = castedThis->impl();\n");
</del><ins>+ push(@implContent, " $implType& impl = castedThis->impl();\n");
</ins><span class="cx"> push(@implContent, " JSValue result = " . NativeToJSValue($attribute->signature, 0, $interfaceName, "impl.$implGetterFunctionName(" . join(", ", @arguments) . ")", "castedThis") . ";\n");
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2467,7 +2472,7 @@
</span><span class="cx"> if (!$interface->extendedAttributes->{"CustomPutFunction"}) {
</span><span class="cx"> push(@implContent, "void ${className}::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)\n");
</span><span class="cx"> push(@implContent, "{\n");
</span><del>- push(@implContent, " auto* thisObject = jsCast<${className}*>(cell);\n");
</del><ins>+ push(@implContent, " ${className}* thisObject = jsCast<${className}*>(cell);\n");
</ins><span class="cx"> push(@implContent, " ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n");
</span><span class="cx"> if ($interface->extendedAttributes->{"CustomIndexedSetter"}) {
</span><span class="cx"> push(@implContent, " unsigned index = propertyName.asIndex();\n");
</span><span class="lines">@@ -2487,7 +2492,7 @@
</span><span class="cx"> if ($interface->extendedAttributes->{"CustomIndexedSetter"} || $interface->extendedAttributes->{"CustomNamedSetter"}) {
</span><span class="cx"> push(@implContent, "void ${className}::putByIndex(JSCell* cell, ExecState* exec, unsigned index, JSValue value, bool shouldThrow)\n");
</span><span class="cx"> push(@implContent, "{\n");
</span><del>- push(@implContent, " auto* thisObject = jsCast<${className}*>(cell);\n");
</del><ins>+ push(@implContent, " ${className}* thisObject = jsCast<${className}*>(cell);\n");
</ins><span class="cx"> push(@implContent, " ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n");
</span><span class="cx">
</span><span class="cx"> if ($interface->extendedAttributes->{"CustomIndexedSetter"}) {
</span><span class="lines">@@ -2543,7 +2548,7 @@
</span><span class="cx"> push(@implContent, " ${className}* castedThis = to${className}(JSValue::decode(thisValue));\n");
</span><span class="cx"> } elsif (AttributeShouldBeOnInstance($interface, $attribute)) {
</span><span class="cx"> push(@implContent, " UNUSED_PARAM(thisValue);\n");
</span><del>- push(@implContent, " auto* castedThis = jsCast<JS${interfaceName}*>(baseObject);\n");
</del><ins>+ push(@implContent, " ${className}* castedThis = jsCast<JS${interfaceName}*>(baseObject);\n");
</ins><span class="cx"> if (InterfaceRequiresAttributesOnInstanceForCompatibility($interface)) {
</span><span class="cx"> push(@implContent, " ${className}* castedThisObject = " . GetCastingHelperForThisObject($interface) . "(JSValue::decode(thisValue));\n");
</span><span class="cx"> push(@implContent, " if (UNLIKELY(!castedThisObject))\n");
</span><span class="lines">@@ -2575,15 +2580,18 @@
</span><span class="cx"> if (HasCustomSetter($attribute->signature->extendedAttributes)) {
</span><span class="cx"> push(@implContent, " castedThis->set$implSetterFunctionName(exec, value);\n");
</span><span class="cx"> } elsif ($type eq "EventListener") {
</span><del>- my $eventName = EventHandlerAttributeEventName($attribute);
- # FIXME: Find a way to do this special case without hardcoding the class and attribute names here.
</del><ins>+ $implIncludes{"JSEventListener.h"} = 1;
+ push(@implContent, " UNUSED_PARAM(exec);\n");
+ my $windowEventListener = $attribute->signature->extendedAttributes->{"JSWindowEventListener"};
+ if ($windowEventListener) {
+ push(@implContent, " JSDOMGlobalObject* globalObject = castedThis->globalObject();\n");
+ }
+ push(@implContent, " $implType& impl = castedThis->impl();\n");
</ins><span class="cx"> if ((($interfaceName eq "DOMWindow") or ($interfaceName eq "WorkerGlobalScope")) and $name eq "onerror") {
</span><span class="cx"> $implIncludes{"JSErrorHandler.h"} = 1;
</span><del>- push(@implContent, " castedThis->impl().setAttributeEventListener($eventName, createJSErrorHandler(exec, value, castedThis));\n");
</del><ins>+ push(@implContent, " impl.set$implSetterFunctionName(createJSErrorHandler(exec, value, castedThis));\n");
</ins><span class="cx"> } else {
</span><del>- $implIncludes{"JSEventListener.h"} = 1;
- my $setter = $attribute->signature->extendedAttributes->{"JSWindowEventListener"} ? "setWindowForwardedEventHandlerAttribute" : "setEventHandlerAttribute";
- push(@implContent, " $setter(*exec, *castedThis, castedThis->impl(), $eventName, value);\n");
</del><ins>+ push(@implContent, GenerateAttributeEventListenerCall($implSetterFunctionName, $windowEventListener));
</ins><span class="cx"> }
</span><span class="cx"> } elsif ($attribute->signature->type =~ /Constructor$/) {
</span><span class="cx"> my $constructorType = $attribute->signature->type;
</span><span class="lines">@@ -2594,14 +2602,14 @@
</span><span class="cx"> if ($constructorType ne "any" and $constructorType !~ /Named$/) {
</span><span class="cx"> AddToImplIncludes("JS" . $constructorType . ".h", $attribute->signature->extendedAttributes->{"Conditional"});
</span><span class="cx"> }
</span><del>- push(@implContent, " // Shadowing a built-in constructor.\n");
</del><ins>+ push(@implContent, " // Shadowing a built-in constructor\n");
</ins><span class="cx"> push(@implContent, " castedThis->putDirect(exec->vm(), Identifier(exec, \"$name\"), value);\n");
</span><span class="cx"> } elsif ($attribute->signature->extendedAttributes->{"Replaceable"}) {
</span><del>- push(@implContent, " // Shadowing a built-in object.\n");
</del><ins>+ push(@implContent, " // Shadowing a built-in object\n");
</ins><span class="cx"> push(@implContent, " castedThis->putDirect(exec->vm(), Identifier(exec, \"$name\"), value);\n");
</span><span class="cx"> } else {
</span><span class="cx"> if (!$attribute->isStatic) {
</span><del>- push(@implContent, " auto& impl = castedThis->impl();\n");
</del><ins>+ push(@implContent, " $implType& impl = castedThis->impl();\n");
</ins><span class="cx"> }
</span><span class="cx"> push(@implContent, " ExceptionCode ec = 0;\n") if $setterRaisesException;
</span><span class="cx">
</span><span class="lines">@@ -2704,7 +2712,7 @@
</span><span class="cx"> if ($indexedGetterFunction && !$interface->extendedAttributes->{"CustomEnumerateProperty"}) {
</span><span class="cx"> push(@implContent, "void ${className}::getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)\n");
</span><span class="cx"> push(@implContent, "{\n");
</span><del>- push(@implContent, " auto* thisObject = jsCast<${className}*>(object);\n");
</del><ins>+ push(@implContent, " ${className}* thisObject = jsCast<${className}*>(object);\n");
</ins><span class="cx"> push(@implContent, " ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n");
</span><span class="cx"> push(@implContent, " for (unsigned i = 0, count = thisObject->impl().length(); i < count; ++i)\n");
</span><span class="cx"> push(@implContent, " propertyNames.add(Identifier::from(exec, i));\n");
</span><span class="lines">@@ -2811,7 +2819,7 @@
</span><span class="cx"> if ($isCustom) {
</span><span class="cx"> push(@implContent, " return JSValue::encode(castedThis->" . $functionImplementationName . "(exec));\n");
</span><span class="cx"> } else {
</span><del>- push(@implContent, " auto& impl = castedThis->impl();\n");
</del><ins>+ push(@implContent, " $implType& impl = castedThis->impl();\n");
</ins><span class="cx"> if ($svgPropertyType) {
</span><span class="cx"> push(@implContent, " if (impl.isReadOnly()) {\n");
</span><span class="cx"> push(@implContent, " setDOMException(exec, NO_MODIFICATION_ALLOWED_ERR);\n");
</span><span class="lines">@@ -2861,7 +2869,7 @@
</span><span class="cx"> if ($needsVisitChildren) {
</span><span class="cx"> push(@implContent, "void ${className}::visitChildren(JSCell* cell, SlotVisitor& visitor)\n");
</span><span class="cx"> push(@implContent, "{\n");
</span><del>- push(@implContent, " auto* thisObject = jsCast<${className}*>(cell);\n");
</del><ins>+ push(@implContent, " ${className}* thisObject = jsCast<${className}*>(cell);\n");
</ins><span class="cx"> push(@implContent, " ASSERT_GC_OBJECT_INHERITS(thisObject, info());\n");
</span><span class="cx"> push(@implContent, " Base::visitChildren(thisObject, visitor);\n");
</span><span class="cx"> if ($interface->extendedAttributes->{"EventTarget"} || $interface->name eq "EventTarget") {
</span><span class="lines">@@ -2905,8 +2913,8 @@
</span><span class="cx"> push(@implContent, "}\n\n");
</span><span class="cx"> push(@implContent, "EncodedJSValue ${className}::nameGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName propertyName)\n");
</span><span class="cx"> push(@implContent, "{\n");
</span><del>- push(@implContent, " auto* thisObject = jsCast<$className*>(slotBase);\n");
- push(@implContent, " return JSValue::encode(toJS(exec, thisObject->globalObject(), thisObject->impl().namedItem(propertyNameToAtomicString(propertyName))));\n");
</del><ins>+ push(@implContent, " ${className}* thisObj = jsCast<$className*>(slotBase);\n");
+ push(@implContent, " return JSValue::encode(toJS(exec, thisObj->globalObject(), thisObj->impl().namedItem(propertyNameToAtomicString(propertyName))));\n");
</ins><span class="cx"> push(@implContent, "}\n\n");
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="lines">@@ -2936,14 +2944,14 @@
</span><span class="cx"> # check below the isObservable check.
</span><span class="cx"> my $emittedJSCast = 0;
</span><span class="cx"> if ($codeGenerator->InheritsExtendedAttribute($interface, "ActiveDOMObject")) {
</span><del>- push(@implContent, " auto* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.slot()->asCell());\n");
</del><ins>+ push(@implContent, " JS${interfaceName}* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.slot()->asCell());\n");
</ins><span class="cx"> $emittedJSCast = 1;
</span><span class="cx"> push(@implContent, " if (js${interfaceName}->impl().hasPendingActivity())\n");
</span><span class="cx"> push(@implContent, " return true;\n");
</span><span class="cx"> }
</span><span class="cx"> if ($codeGenerator->InheritsExtendedAttribute($interface, "EventTarget")) {
</span><span class="cx"> if (!$emittedJSCast) {
</span><del>- push(@implContent, " auto* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.slot()->asCell());\n");
</del><ins>+ push(@implContent, " JS${interfaceName}* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.slot()->asCell());\n");
</ins><span class="cx"> $emittedJSCast = 1;
</span><span class="cx"> }
</span><span class="cx"> push(@implContent, " if (js${interfaceName}->impl().isFiringEventListeners())\n");
</span><span class="lines">@@ -2951,7 +2959,7 @@
</span><span class="cx"> }
</span><span class="cx"> if ($codeGenerator->InheritsInterface($interface, "Node")) {
</span><span class="cx"> if (!$emittedJSCast) {
</span><del>- push(@implContent, " auto* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.slot()->asCell());\n");
</del><ins>+ push(@implContent, " JS${interfaceName}* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.slot()->asCell());\n");
</ins><span class="cx"> $emittedJSCast = 1;
</span><span class="cx"> }
</span><span class="cx"> push(@implContent, " if (JSNodeOwner::isReachableFromOpaqueRoots(handle, 0, visitor))\n");
</span><span class="lines">@@ -2959,7 +2967,7 @@
</span><span class="cx"> }
</span><span class="cx"> if (GetGenerateIsReachable($interface)) {
</span><span class="cx"> if (!$emittedJSCast) {
</span><del>- push(@implContent, " auto* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.slot()->asCell());\n");
</del><ins>+ push(@implContent, " JS${interfaceName}* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.slot()->asCell());\n");
</ins><span class="cx"> $emittedJSCast = 1;
</span><span class="cx"> }
</span><span class="cx"> push(@implContent, " if (!isObservable(js${interfaceName}))\n");
</span><span class="lines">@@ -3016,8 +3024,8 @@
</span><span class="cx"> $codeGenerator->InheritsExtendedAttribute($interface, "ActiveDOMObject"))) {
</span><span class="cx"> push(@implContent, "void JS${interfaceName}Owner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)\n");
</span><span class="cx"> push(@implContent, "{\n");
</span><del>- push(@implContent, " auto* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.slot()->asCell());\n");
- push(@implContent, " auto& world = *static_cast<DOMWrapperWorld*>(context);\n");
</del><ins>+ push(@implContent, " JS${interfaceName}* js${interfaceName} = jsCast<JS${interfaceName}*>(handle.slot()->asCell());\n");
+ push(@implContent, " DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);\n");
</ins><span class="cx"> push(@implContent, " uncacheWrapper(world, &js${interfaceName}->impl(), js${interfaceName});\n");
</span><span class="cx"> push(@implContent, " js${interfaceName}->releaseImpl();\n");
</span><span class="cx"> push(@implContent, "}\n\n");
</span><span class="lines">@@ -3124,7 +3132,7 @@
</span><span class="cx"> push(@callWithArgs, "exec");
</span><span class="cx"> }
</span><span class="cx"> if ($codeGenerator->ExtendedAttributeContains($callWith, "ScriptExecutionContext")) {
</span><del>- push(@$outputArray, " auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();\n");
</del><ins>+ push(@$outputArray, " ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();\n");
</ins><span class="cx"> push(@$outputArray, " if (!scriptContext)\n");
</span><span class="cx"> push(@$outputArray, " return" . ($returnValue ? " " . $returnValue : "") . ";\n");
</span><span class="cx"> push(@callWithArgs, "scriptContext");
</span><span class="lines">@@ -4501,7 +4509,7 @@
</span><span class="cx"> push(@$outputArray, <<END);
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL ${constructorClassName}::construct${className}(ExecState* exec)
</span><span class="cx"> {
</span><del>- auto* jsConstructor = jsCast<${constructorClassName}*>(exec->callee());
</del><ins>+ ${constructorClassName}* jsConstructor = jsCast<${constructorClassName}*>(exec->callee());
</ins><span class="cx">
</span><span class="cx"> ScriptExecutionContext* executionContext = jsConstructor->scriptExecutionContext();
</span><span class="cx"> if (!executionContext)
</span><span class="lines">@@ -4568,7 +4576,7 @@
</span><span class="cx">
</span><span class="cx"> push(@$outputArray, "EncodedJSValue JSC_HOST_CALL ${constructorClassName}::construct${className}${overloadedIndexString}(ExecState* exec)\n");
</span><span class="cx"> push(@$outputArray, "{\n");
</span><del>- push(@$outputArray, " auto* castedThis = jsCast<${constructorClassName}*>(exec->callee());\n");
</del><ins>+ push(@$outputArray, " ${constructorClassName}* castedThis = jsCast<${constructorClassName}*>(exec->callee());\n");
</ins><span class="cx">
</span><span class="cx"> my @constructorArgList;
</span><span class="cx">
</span><span class="lines">@@ -4598,7 +4606,7 @@
</span><span class="cx"> push(@$outputArray, " ScriptExecutionContext* context = castedThis->scriptExecutionContext();\n");
</span><span class="cx"> push(@$outputArray, " if (!context)\n");
</span><span class="cx"> push(@$outputArray, " return throwConstructorDocumentUnavailableError(*exec, \"${interfaceName}\");\n");
</span><del>- push(@$outputArray, " auto& document = downcast<Document>(*context);\n");
</del><ins>+ push(@$outputArray, " Document& document = downcast<Document>(*context);\n");
</ins><span class="cx"> }
</span><span class="cx"> if ($generatingNamedConstructor) {
</span><span class="cx"> push(@constructorArgList, "*castedThis->document()");
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestActiveDOMObject::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestActiveDOMObject*>(object);
</del><ins>+ JSTestActiveDOMObject* thisObject = jsCast<JSTestActiveDOMObject*>(object);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> return getStaticValueSlot<JSTestActiveDOMObject, Base>(exec, JSTestActiveDOMObjectTable, thisObject, propertyName, slot);
</span><span class="cx"> }
</span><span class="lines">@@ -178,10 +178,10 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestActiveDOMObject*>(slotBase);
</del><ins>+ JSTestActiveDOMObject* castedThis = jsCast<JSTestActiveDOMObject*>(slotBase);
</ins><span class="cx"> if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis->impl()))
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestActiveDOMObject& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.excitingAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -211,7 +211,7 @@
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestActiveDOMObject::info());
</span><span class="cx"> if (!BindingSecurity::shouldAllowAccessToDOMWindow(exec, castedThis->impl()))
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestActiveDOMObject& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Node* nextChild(JSNode::toWrapped(exec->argument(0)));
</span><span class="lines">@@ -228,7 +228,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestActiveDOMObject", "postMessage");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestActiveDOMObject::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestActiveDOMObject& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> const String& message(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
</span><span class="lines">@@ -247,8 +247,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestActiveDOMObjectOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestActiveDOMObject = jsCast<JSTestActiveDOMObject*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestActiveDOMObject* jsTestActiveDOMObject = jsCast<JSTestActiveDOMObject*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestActiveDOMObject->impl(), jsTestActiveDOMObject);
</span><span class="cx"> jsTestActiveDOMObject->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGettercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -161,7 +161,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestCustomNamedGetter::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestCustomNamedGetter*>(object);
</del><ins>+ JSTestCustomNamedGetter* thisObject = jsCast<JSTestCustomNamedGetter*>(object);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> if (canGetItemsForName(exec, &thisObject->impl(), propertyName)) {
</span><span class="cx"> slot.setCustom(thisObject, ReadOnly | DontDelete | DontEnum, thisObject->nameGetter);
</span><span class="lines">@@ -172,7 +172,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestCustomNamedGetter::getOwnPropertySlotByIndex(JSObject* object, ExecState* exec, unsigned index, PropertySlot& slot)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestCustomNamedGetter*>(object);
</del><ins>+ JSTestCustomNamedGetter* thisObject = jsCast<JSTestCustomNamedGetter*>(object);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> PropertyName propertyName = Identifier::from(exec, index);
</span><span class="cx"> if (canGetItemsForName(exec, &thisObject->impl(), propertyName)) {
</span><span class="lines">@@ -202,7 +202,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestCustomNamedGetter", "anotherFunction");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestCustomNamedGetter::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestCustomNamedGetter& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> const String& str(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
</span><span class="lines">@@ -221,8 +221,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestCustomNamedGetterOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestCustomNamedGetter = jsCast<JSTestCustomNamedGetter*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestCustomNamedGetter* jsTestCustomNamedGetter = jsCast<JSTestCustomNamedGetter*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestCustomNamedGetter->impl(), jsTestCustomNamedGetter);
</span><span class="cx"> jsTestCustomNamedGetter->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx">
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL JSTestEventConstructorConstructor::constructJSTestEventConstructor(ExecState* exec)
</span><span class="cx"> {
</span><del>- auto* jsConstructor = jsCast<JSTestEventConstructorConstructor*>(exec->callee());
</del><ins>+ JSTestEventConstructorConstructor* jsConstructor = jsCast<JSTestEventConstructorConstructor*>(exec->callee());
</ins><span class="cx">
</span><span class="cx"> ScriptExecutionContext* executionContext = jsConstructor->scriptExecutionContext();
</span><span class="cx"> if (!executionContext)
</span><span class="lines">@@ -205,7 +205,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestEventConstructor", "attr1");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestEventConstructor", "attr1");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestEventConstructor& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.attr1());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -222,7 +222,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestEventConstructor", "attr2");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestEventConstructor", "attr2");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestEventConstructor& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.attr2());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -250,8 +250,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestEventConstructorOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestEventConstructor = jsCast<JSTestEventConstructor*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestEventConstructor* jsTestEventConstructor = jsCast<JSTestEventConstructor*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestEventConstructor->impl(), jsTestEventConstructor);
</span><span class="cx"> jsTestEventConstructor->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventTargetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -173,7 +173,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestEventTarget::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestEventTarget*>(object);
</del><ins>+ JSTestEventTarget* thisObject = jsCast<JSTestEventTarget*>(object);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> const HashTableValue* entry = getStaticValueSlotEntryWithoutCaching<JSTestEventTarget>(exec, propertyName);
</span><span class="cx"> if (entry) {
</span><span class="lines">@@ -195,7 +195,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestEventTarget::getOwnPropertySlotByIndex(JSObject* object, ExecState* exec, unsigned index, PropertySlot& slot)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestEventTarget*>(object);
</del><ins>+ JSTestEventTarget* thisObject = jsCast<JSTestEventTarget*>(object);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> if (index < thisObject->impl().length()) {
</span><span class="cx"> unsigned attributes = DontDelete | ReadOnly;
</span><span class="lines">@@ -220,7 +220,7 @@
</span><span class="cx">
</span><span class="cx"> void JSTestEventTarget::getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestEventTarget*>(object);
</del><ins>+ JSTestEventTarget* thisObject = jsCast<JSTestEventTarget*>(object);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> for (unsigned i = 0, count = thisObject->impl().length(); i < count; ++i)
</span><span class="cx"> propertyNames.add(Identifier::from(exec, i));
</span><span class="lines">@@ -239,7 +239,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestEventTarget", "item");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestEventTarget::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestEventTarget& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> int index(toUInt32(exec, exec->argument(0), NormalConversion));
</span><span class="lines">@@ -260,7 +260,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestEventTarget", "addEventListener");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestEventTarget::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestEventTarget& impl = castedThis->impl();
</ins><span class="cx"> JSValue listener = exec->argument(1);
</span><span class="cx"> if (UNLIKELY(!listener.isObject()))
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -275,7 +275,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestEventTarget", "removeEventListener");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestEventTarget::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestEventTarget& impl = castedThis->impl();
</ins><span class="cx"> JSValue listener = exec->argument(1);
</span><span class="cx"> if (UNLIKELY(!listener.isObject()))
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -290,7 +290,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestEventTarget", "dispatchEvent");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestEventTarget::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestEventTarget& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="lines">@@ -305,7 +305,7 @@
</span><span class="cx">
</span><span class="cx"> void JSTestEventTarget::visitChildren(JSCell* cell, SlotVisitor& visitor)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestEventTarget*>(cell);
</del><ins>+ JSTestEventTarget* thisObject = jsCast<JSTestEventTarget*>(cell);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> Base::visitChildren(thisObject, visitor);
</span><span class="cx"> thisObject->impl().visitJSEventListeners(visitor);
</span><span class="lines">@@ -313,7 +313,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestEventTargetOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
</span><span class="cx"> {
</span><del>- auto* jsTestEventTarget = jsCast<JSTestEventTarget*>(handle.slot()->asCell());
</del><ins>+ JSTestEventTarget* jsTestEventTarget = jsCast<JSTestEventTarget*>(handle.slot()->asCell());
</ins><span class="cx"> if (jsTestEventTarget->impl().isFiringEventListeners())
</span><span class="cx"> return true;
</span><span class="cx"> UNUSED_PARAM(visitor);
</span><span class="lines">@@ -322,8 +322,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestEventTargetOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestEventTarget = jsCast<JSTestEventTarget*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestEventTarget* jsTestEventTarget = jsCast<JSTestEventTarget*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestEventTarget->impl(), jsTestEventTarget);
</span><span class="cx"> jsTestEventTarget->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestExceptioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -158,7 +158,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestException::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestException*>(object);
</del><ins>+ JSTestException* thisObject = jsCast<JSTestException*>(object);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> return getStaticValueSlot<JSTestException, Base>(exec, JSTestExceptionTable, thisObject, propertyName, slot);
</span><span class="cx"> }
</span><span class="lines">@@ -168,8 +168,8 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestException*>(slotBase);
- auto& impl = castedThis->impl();
</del><ins>+ JSTestException* castedThis = jsCast<JSTestException*>(slotBase);
+ TestException& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.name());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -197,8 +197,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestExceptionOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestException = jsCast<JSTestException*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestException* jsTestException = jsCast<JSTestException*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestException->impl(), jsTestException);
</span><span class="cx"> jsTestException->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachablecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -160,7 +160,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestGenerateIsReachableOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
</span><span class="cx"> {
</span><del>- auto* jsTestGenerateIsReachable = jsCast<JSTestGenerateIsReachable*>(handle.slot()->asCell());
</del><ins>+ JSTestGenerateIsReachable* jsTestGenerateIsReachable = jsCast<JSTestGenerateIsReachable*>(handle.slot()->asCell());
</ins><span class="cx"> if (!isObservable(jsTestGenerateIsReachable))
</span><span class="cx"> return false;
</span><span class="cx"> TestGenerateIsReachable* root = &jsTestGenerateIsReachable->impl();
</span><span class="lines">@@ -169,8 +169,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestGenerateIsReachableOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestGenerateIsReachable = jsCast<JSTestGenerateIsReachable*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestGenerateIsReachable* jsTestGenerateIsReachable = jsCast<JSTestGenerateIsReachable*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestGenerateIsReachable->impl(), jsTestGenerateIsReachable);
</span><span class="cx"> jsTestGenerateIsReachable->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -271,7 +271,7 @@
</span><span class="cx">
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL JSTestInterfaceConstructor::constructJSTestInterface(ExecState* exec)
</span><span class="cx"> {
</span><del>- auto* castedThis = jsCast<JSTestInterfaceConstructor*>(exec->callee());
</del><ins>+ JSTestInterfaceConstructor* castedThis = jsCast<JSTestInterfaceConstructor*>(exec->callee());
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="lines">@@ -442,7 +442,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestInterface::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestInterface*>(object);
</del><ins>+ JSTestInterface* thisObject = jsCast<JSTestInterface*>(object);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> return getStaticValueSlot<JSTestInterface, Base>(exec, JSTestInterfaceTable, thisObject, propertyName, slot);
</span><span class="cx"> }
</span><span class="lines">@@ -483,7 +483,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestInterface", "implementsStr1");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestInterface", "implementsStr1");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.implementsStr1());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -502,7 +502,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestInterface", "implementsStr2");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestInterface", "implementsStr2");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.implementsStr2());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -515,7 +515,7 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestInterface*>(slotBase);
</del><ins>+ JSTestInterface* castedThis = jsCast<JSTestInterface*>(slotBase);
</ins><span class="cx"> return JSValue::encode(castedThis->implementsStr3(exec));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -533,7 +533,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestInterface", "implementsNode");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestInterface", "implementsNode");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.implementsNode()));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -576,7 +576,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestInterface", "supplementalStr1");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestInterface", "supplementalStr1");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, TestSupplemental::supplementalStr1(&impl));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -595,7 +595,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestInterface", "supplementalStr2");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestInterface", "supplementalStr2");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, TestSupplemental::supplementalStr2(&impl));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -608,7 +608,7 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestInterface*>(slotBase);
</del><ins>+ JSTestInterface* castedThis = jsCast<JSTestInterface*>(slotBase);
</ins><span class="cx"> return JSValue::encode(castedThis->supplementalStr3(exec));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -626,7 +626,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestInterface", "supplementalNode");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestInterface", "supplementalNode");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(TestSupplemental::supplementalNode(&impl)));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -643,7 +643,7 @@
</span><span class="cx">
</span><span class="cx"> void JSTestInterface::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestInterface*>(cell);
</del><ins>+ JSTestInterface* thisObject = jsCast<JSTestInterface*>(cell);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> if (thisObject->putDelegate(exec, propertyName, value, slot))
</span><span class="cx"> return;
</span><span class="lines">@@ -652,7 +652,7 @@
</span><span class="cx">
</span><span class="cx"> void JSTestInterface::putByIndex(JSCell* cell, ExecState* exec, unsigned index, JSValue value, bool shouldThrow)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestInterface*>(cell);
</del><ins>+ JSTestInterface* thisObject = jsCast<JSTestInterface*>(cell);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> PropertyName propertyName = Identifier::from(exec, index);
</span><span class="cx"> PutPropertySlot slot(thisObject, shouldThrow);
</span><span class="lines">@@ -687,7 +687,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestInterface", "implementsStr2");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -702,7 +702,7 @@
</span><span class="cx"> JSValue value = JSValue::decode(encodedValue);
</span><span class="cx"> UNUSED_PARAM(baseObject);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestInterface*>(baseObject);
</del><ins>+ JSTestInterface* castedThis = jsCast<JSTestInterface*>(baseObject);
</ins><span class="cx"> UNUSED_PARAM(thisValue);
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> castedThis->setImplementsStr3(exec, value);
</span><span class="lines">@@ -723,7 +723,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestInterface", "implementsNode");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> Node* nativeValue(JSNode::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -758,7 +758,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestInterface", "supplementalStr2");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -773,7 +773,7 @@
</span><span class="cx"> JSValue value = JSValue::decode(encodedValue);
</span><span class="cx"> UNUSED_PARAM(baseObject);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestInterface*>(baseObject);
</del><ins>+ JSTestInterface* castedThis = jsCast<JSTestInterface*>(baseObject);
</ins><span class="cx"> UNUSED_PARAM(thisValue);
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> castedThis->setSupplementalStr3(exec, value);
</span><span class="lines">@@ -794,7 +794,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestInterface", "supplementalNode");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> Node* nativeValue(JSNode::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -816,7 +816,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestInterface", "implementsMethod1");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestInterface::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> impl.implementsMethod1();
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="lines">@@ -831,11 +831,11 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestInterface", "implementsMethod2");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestInterface::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> const String& strArg(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
</span><span class="lines">@@ -882,7 +882,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestInterface", "supplementalMethod1");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestInterface::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> TestSupplemental::supplementalMethod1(&impl);
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="lines">@@ -897,11 +897,11 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestInterface", "supplementalMethod2");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestInterface::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestInterface& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> const String& strArg(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
</span><span class="lines">@@ -942,7 +942,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestInterfaceOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
</span><span class="cx"> {
</span><del>- auto* jsTestInterface = jsCast<JSTestInterface*>(handle.slot()->asCell());
</del><ins>+ JSTestInterface* jsTestInterface = jsCast<JSTestInterface*>(handle.slot()->asCell());
</ins><span class="cx"> if (jsTestInterface->impl().hasPendingActivity())
</span><span class="cx"> return true;
</span><span class="cx"> UNUSED_PARAM(visitor);
</span><span class="lines">@@ -951,8 +951,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestInterfaceOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestInterface = jsCast<JSTestInterface*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestInterface* jsTestInterface = jsCast<JSTestInterface*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestInterface->impl(), jsTestInterface);
</span><span class="cx"> jsTestInterface->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -166,7 +166,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestMediaQueryListListener", "method");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestMediaQueryListListener::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestMediaQueryListListener& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> if (!exec->argument(0).isFunction())
</span><span class="lines">@@ -185,8 +185,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestMediaQueryListListenerOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestMediaQueryListListener = jsCast<JSTestMediaQueryListListener*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestMediaQueryListListener* jsTestMediaQueryListListener = jsCast<JSTestMediaQueryListListener*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestMediaQueryListListener->impl(), jsTestMediaQueryListListener);
</span><span class="cx"> jsTestMediaQueryListListener->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -124,7 +124,7 @@
</span><span class="cx">
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL JSTestNamedConstructorNamedConstructor::constructJSTestNamedConstructor(ExecState* exec)
</span><span class="cx"> {
</span><del>- auto* castedThis = jsCast<JSTestNamedConstructorNamedConstructor*>(exec->callee());
</del><ins>+ JSTestNamedConstructorNamedConstructor* castedThis = jsCast<JSTestNamedConstructorNamedConstructor*>(exec->callee());
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="lines">@@ -230,7 +230,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestNamedConstructorOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown> handle, void*, SlotVisitor& visitor)
</span><span class="cx"> {
</span><del>- auto* jsTestNamedConstructor = jsCast<JSTestNamedConstructor*>(handle.slot()->asCell());
</del><ins>+ JSTestNamedConstructor* jsTestNamedConstructor = jsCast<JSTestNamedConstructor*>(handle.slot()->asCell());
</ins><span class="cx"> if (jsTestNamedConstructor->impl().hasPendingActivity())
</span><span class="cx"> return true;
</span><span class="cx"> UNUSED_PARAM(visitor);
</span><span class="lines">@@ -239,8 +239,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestNamedConstructorOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestNamedConstructor = jsCast<JSTestNamedConstructor*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestNamedConstructor* jsTestNamedConstructor = jsCast<JSTestNamedConstructor*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestNamedConstructor->impl(), jsTestNamedConstructor);
</span><span class="cx"> jsTestNamedConstructor->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx">
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL JSTestNodeConstructor::constructJSTestNode(ExecState* exec)
</span><span class="cx"> {
</span><del>- auto* castedThis = jsCast<JSTestNodeConstructor*>(exec->callee());
</del><ins>+ JSTestNodeConstructor* castedThis = jsCast<JSTestNodeConstructor*>(exec->callee());
</ins><span class="cx"> RefPtr<TestNode> object = TestNode::create();
</span><span class="cx"> return JSValue::encode(asObject(toJS(exec, castedThis->globalObject(), object.get())));
</span><span class="cx"> }
</span><span class="lines">@@ -159,7 +159,7 @@
</span><span class="cx">
</span><span class="cx"> void JSTestNode::visitChildren(JSCell* cell, SlotVisitor& visitor)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestNode*>(cell);
</del><ins>+ JSTestNode* thisObject = jsCast<JSTestNode*>(cell);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> Base::visitChildren(thisObject, visitor);
</span><span class="cx"> thisObject->impl().visitJSEventListeners(visitor);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministiccpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -199,7 +199,7 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestNondeterministic& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.nondeterministicReadonlyAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -236,7 +236,7 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestNondeterministic& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.nondeterministicWriteableAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -273,7 +273,7 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestNondeterministic& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.nondeterministicExceptionAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -313,7 +313,7 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestNondeterministic& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.nondeterministicGetterExceptionAttr(ec));
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -351,7 +351,7 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestNondeterministic& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.nondeterministicSetterExceptionAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -377,7 +377,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestNondeterministic", "nondeterministicWriteableAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestNondeterministic& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -397,7 +397,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestNondeterministic", "nondeterministicExceptionAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestNondeterministic& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -417,7 +417,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestNondeterministic", "nondeterministicGetterExceptionAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestNondeterministic& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -437,7 +437,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestNondeterministic", "nondeterministicSetterExceptionAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestNondeterministic& impl = castedThis->impl();
</ins><span class="cx"> ExceptionCode ec = 0;
</span><span class="cx"> const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="lines">@@ -459,7 +459,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestNondeterministic", "nondeterministicZeroArgFunction");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestNondeterministic::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestNondeterministic& impl = castedThis->impl();
</ins><span class="cx"> JSValue result;
</span><span class="cx"> #if ENABLE(WEB_REPLAY)
</span><span class="cx"> InputCursor& cursor = exec->lexicalGlobalObject()->inputCursor();
</span><span class="lines">@@ -492,8 +492,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestNondeterministicOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestNondeterministic = jsCast<JSTestNondeterministic*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestNondeterministic* jsTestNondeterministic = jsCast<JSTestNondeterministic*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestNondeterministic->impl(), jsTestNondeterministic);
</span><span class="cx"> jsTestNondeterministic->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -442,7 +442,7 @@
</span><span class="cx">
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL JSTestObjConstructor::constructJSTestObj(ExecState* exec)
</span><span class="cx"> {
</span><del>- auto* castedThis = jsCast<JSTestObjConstructor*>(exec->callee());
</del><ins>+ JSTestObjConstructor* castedThis = jsCast<JSTestObjConstructor*>(exec->callee());
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> if (!exec->argument(0).isFunction())
</span><span class="lines">@@ -684,7 +684,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestObj::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestObj*>(object);
</del><ins>+ JSTestObj* thisObject = jsCast<JSTestObj*>(object);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> return getStaticValueSlot<JSTestObj, Base>(exec, JSTestObjTable, thisObject, propertyName, slot);
</span><span class="cx"> }
</span><span class="lines">@@ -700,7 +700,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "readOnlyLongAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "readOnlyLongAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.readOnlyLongAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -717,7 +717,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "readOnlyStringAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "readOnlyStringAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.readOnlyStringAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -734,7 +734,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "readOnlyTestObjAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "readOnlyTestObjAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.readOnlyTestObjAttr()));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -765,7 +765,7 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(slotBase);
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(slotBase);
</ins><span class="cx"> return JSValue::encode(JSTestSubObj::getConstructor(exec->vm(), castedThis->globalObject()));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -775,7 +775,7 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(slotBase);
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(slotBase);
</ins><span class="cx"> if (!castedThis->impl().frame())
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> Settings& settings = castedThis->impl().frame()->settings();
</span><span class="lines">@@ -796,7 +796,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "enumAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "enumAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.enumAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -813,7 +813,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "byteAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "byteAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.byteAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -830,7 +830,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "octetAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "octetAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.octetAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -847,7 +847,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "shortAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "shortAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.shortAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -864,7 +864,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "unsignedShortAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "unsignedShortAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.unsignedShortAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -881,7 +881,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "longAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "longAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.longAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -898,7 +898,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "longLongAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "longLongAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.longLongAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -915,7 +915,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "unsignedLongLongAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "unsignedLongLongAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.unsignedLongLongAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -932,7 +932,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "stringAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "stringAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.stringAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -949,7 +949,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "testObjAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "testObjAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.testObjAttr()));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -966,7 +966,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "XMLObjAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "XMLObjAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.xmlObjAttr()));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -983,7 +983,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "create");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "create");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsBoolean(impl.isCreate());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1000,7 +1000,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "reflectedStringAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "reflectedStringAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.fastGetAttribute(WebCore::HTMLNames::reflectedstringattrAttr));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1017,7 +1017,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "reflectedIntegralAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "reflectedIntegralAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.getIntegralAttribute(WebCore::HTMLNames::reflectedintegralattrAttr));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1034,7 +1034,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "reflectedUnsignedIntegralAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "reflectedUnsignedIntegralAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(std::max(0, impl.getIntegralAttribute(WebCore::HTMLNames::reflectedunsignedintegralattrAttr)));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1051,7 +1051,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "reflectedBooleanAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "reflectedBooleanAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsBoolean(impl.fastHasAttribute(WebCore::HTMLNames::reflectedbooleanattrAttr));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1068,7 +1068,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "reflectedURLAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "reflectedURLAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1085,7 +1085,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "reflectedStringAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "reflectedStringAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.fastGetAttribute(WebCore::HTMLNames::customContentStringAttrAttr));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1102,7 +1102,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "reflectedCustomIntegralAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "reflectedCustomIntegralAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.getIntegralAttribute(WebCore::HTMLNames::customContentIntegralAttrAttr));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1119,7 +1119,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "reflectedCustomBooleanAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "reflectedCustomBooleanAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsBoolean(impl.fastHasAttribute(WebCore::HTMLNames::customContentBooleanAttrAttr));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1136,7 +1136,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "reflectedCustomURLAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "reflectedCustomURLAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1153,7 +1153,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "typedArrayAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "typedArrayAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.typedArrayAttr()));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1171,7 +1171,7 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "attrWithGetterException");
</span><span class="cx"> }
</span><span class="cx"> ExceptionCode ec = 0;
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.attrWithGetterException(ec));
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -1189,7 +1189,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "attrWithSetterException");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "attrWithSetterException");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.attrWithSetterException());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1207,7 +1207,7 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "stringAttrWithGetterException");
</span><span class="cx"> }
</span><span class="cx"> ExceptionCode ec = 0;
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.stringAttrWithGetterException(ec));
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -1225,7 +1225,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "stringAttrWithSetterException");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "stringAttrWithSetterException");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.stringAttrWithSetterException());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1236,7 +1236,7 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(slotBase);
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(slotBase);
</ins><span class="cx"> return JSValue::encode(castedThis->customAttr(exec));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1252,7 +1252,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "withScriptStateAttribute");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "withScriptStateAttribute");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.withScriptStateAttribute(exec));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1269,10 +1269,10 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "withScriptExecutionContextAttribute");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "withScriptExecutionContextAttribute");
</span><span class="cx"> }
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.withScriptExecutionContextAttribute(scriptContext)));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1290,7 +1290,7 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "withScriptStateAttributeRaises");
</span><span class="cx"> }
</span><span class="cx"> ExceptionCode ec = 0;
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.withScriptStateAttributeRaises(exec, ec)));
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -1309,10 +1309,10 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "withScriptExecutionContextAttributeRaises");
</span><span class="cx"> }
</span><span class="cx"> ExceptionCode ec = 0;
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.withScriptExecutionContextAttributeRaises(scriptContext, ec)));
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -1330,10 +1330,10 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "withScriptExecutionContextAndScriptStateAttribute");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "withScriptExecutionContextAndScriptStateAttribute");
</span><span class="cx"> }
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateAttribute(exec, scriptContext)));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1351,10 +1351,10 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "withScriptExecutionContextAndScriptStateAttributeRaises");
</span><span class="cx"> }
</span><span class="cx"> ExceptionCode ec = 0;
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateAttributeRaises(exec, scriptContext, ec)));
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -1372,10 +1372,10 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "withScriptExecutionContextAndScriptStateWithSpacesAttribute");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "withScriptExecutionContextAndScriptStateWithSpacesAttribute");
</span><span class="cx"> }
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateWithSpacesAttribute(exec, scriptContext)));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1392,7 +1392,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "withScriptArgumentsAndCallStackAttribute");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "withScriptArgumentsAndCallStackAttribute");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.withScriptArgumentsAndCallStackAttribute()));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1410,7 +1410,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "conditionalAttr1");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "conditionalAttr1");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.conditionalAttr1());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1429,7 +1429,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "conditionalAttr2");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "conditionalAttr2");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.conditionalAttr2());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1448,7 +1448,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "conditionalAttr3");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "conditionalAttr3");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.conditionalAttr3());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1461,7 +1461,7 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(slotBase);
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(slotBase);
</ins><span class="cx"> return JSValue::encode(JSTestObjectA::getConstructor(exec->vm(), castedThis->globalObject()));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1473,7 +1473,7 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(slotBase);
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(slotBase);
</ins><span class="cx"> return JSValue::encode(JSTestObjectB::getConstructor(exec->vm(), castedThis->globalObject()));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1485,7 +1485,7 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(slotBase);
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(slotBase);
</ins><span class="cx"> return JSValue::encode(JSTestObjectC::getConstructor(exec->vm(), castedThis->globalObject()));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1504,7 +1504,7 @@
</span><span class="cx"> }
</span><span class="cx"> if (JSValue cachedValue = castedThis->m_cachedAttribute1.get())
</span><span class="cx"> return JSValue::encode(cachedValue);
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = (impl.cachedAttribute1().hasNoValue() ? jsNull() : impl.cachedAttribute1().jsValue());
</span><span class="cx"> castedThis->m_cachedAttribute1.set(exec->vm(), castedThis, result);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -1524,7 +1524,7 @@
</span><span class="cx"> }
</span><span class="cx"> if (JSValue cachedValue = castedThis->m_cachedAttribute2.get())
</span><span class="cx"> return JSValue::encode(cachedValue);
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = (impl.cachedAttribute2().hasNoValue() ? jsNull() : impl.cachedAttribute2().jsValue());
</span><span class="cx"> castedThis->m_cachedAttribute2.set(exec->vm(), castedThis, result);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -1542,7 +1542,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "anyAttribute");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "anyAttribute");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = (impl.anyAttribute().hasNoValue() ? jsNull() : impl.anyAttribute().jsValue());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1553,8 +1553,8 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(slotBase);
- auto& impl = castedThis->impl();
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(slotBase);
+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> return JSValue::encode(shouldAllowAccessToNode(exec, impl.contentDocument()) ? toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.contentDocument())) : jsNull());
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1570,7 +1570,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "mutablePoint");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "mutablePoint");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(SVGStaticPropertyTearOff<TestObj, SVGPoint>::create(impl, impl.mutablePoint(), &TestObj::updateMutablePoint)));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1587,7 +1587,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "immutablePoint");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "immutablePoint");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create(impl.immutablePoint())));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1604,7 +1604,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "strawberry");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "strawberry");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.blueberry());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1621,7 +1621,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "strictFloat");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "strictFloat");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.strictFloat());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1638,7 +1638,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "description");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "description");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.description());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1655,7 +1655,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "id");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "id");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.id());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1672,7 +1672,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "hash");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "hash");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.hash());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1689,7 +1689,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "replaceableAttribute");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "replaceableAttribute");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.replaceableAttribute());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1707,7 +1707,7 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "nullableDoubleAttribute");
</span><span class="cx"> }
</span><span class="cx"> bool isNull = false;
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.nullableDoubleAttribute(isNull));
</span><span class="cx"> if (isNull)
</span><span class="cx"> return JSValue::encode(jsNull());
</span><span class="lines">@@ -1727,7 +1727,7 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "nullableLongAttribute");
</span><span class="cx"> }
</span><span class="cx"> bool isNull = false;
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.nullableLongAttribute(isNull));
</span><span class="cx"> if (isNull)
</span><span class="cx"> return JSValue::encode(jsNull());
</span><span class="lines">@@ -1747,7 +1747,7 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "nullableBooleanAttribute");
</span><span class="cx"> }
</span><span class="cx"> bool isNull = false;
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsBoolean(impl.nullableBooleanAttribute(isNull));
</span><span class="cx"> if (isNull)
</span><span class="cx"> return JSValue::encode(jsNull());
</span><span class="lines">@@ -1767,7 +1767,7 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "nullableStringAttribute");
</span><span class="cx"> }
</span><span class="cx"> bool isNull = false;
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.nullableStringAttribute(isNull));
</span><span class="cx"> if (isNull)
</span><span class="cx"> return JSValue::encode(jsNull());
</span><span class="lines">@@ -1787,7 +1787,7 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "nullableLongSettableAttribute");
</span><span class="cx"> }
</span><span class="cx"> bool isNull = false;
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.nullableLongSettableAttribute(isNull));
</span><span class="cx"> if (isNull)
</span><span class="cx"> return JSValue::encode(jsNull());
</span><span class="lines">@@ -1808,7 +1808,7 @@
</span><span class="cx"> }
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="cx"> bool isNull = false;
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.nullableStringValue(isNull, ec));
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="cx"> if (isNull)
</span><span class="lines">@@ -1828,7 +1828,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "attribute");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "attribute");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.attribute());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1845,7 +1845,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestObj", "attributeWithReservedEnumType");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestObj", "attributeWithReservedEnumType");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.attributeWithReservedEnumType());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -1875,10 +1875,10 @@
</span><span class="cx"> JSValue value = JSValue::decode(encodedValue);
</span><span class="cx"> UNUSED_PARAM(baseObject);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(baseObject);
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(baseObject);
</ins><span class="cx"> UNUSED_PARAM(thisValue);
</span><span class="cx"> UNUSED_PARAM(exec);
</span><del>- // Shadowing a built-in constructor.
</del><ins>+ // Shadowing a built-in constructor
</ins><span class="cx"> castedThis->putDirect(exec->vm(), Identifier(exec, "TestSubObjEnabledBySetting"), value);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1895,7 +1895,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "enumAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> const String nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -1917,7 +1917,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "byteAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int8_t nativeValue(toInt8(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -1937,7 +1937,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "octetAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> uint8_t nativeValue(toUInt8(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -1957,7 +1957,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "shortAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int16_t nativeValue(toInt16(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -1977,7 +1977,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "unsignedShortAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> uint16_t nativeValue(toUInt16(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -1997,7 +1997,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "longAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2017,7 +2017,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "longLongAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> long long nativeValue(toInt64(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2037,7 +2037,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "unsignedLongLongAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> unsigned long long nativeValue(toUInt64(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2057,7 +2057,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "stringAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2077,7 +2077,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "testObjAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> TestObj* nativeValue(JSTestObj::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2097,7 +2097,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "XMLObjAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> TestObj* nativeValue(JSTestObj::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2117,7 +2117,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "create");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> bool nativeValue(value.toBoolean(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2137,7 +2137,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "reflectedStringAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(valueToStringWithNullCheck(exec, value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2157,7 +2157,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "reflectedIntegralAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2177,7 +2177,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "reflectedUnsignedIntegralAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> unsigned nativeValue(toUInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2197,7 +2197,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "reflectedBooleanAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> bool nativeValue(value.toBoolean(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2217,7 +2217,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "reflectedURLAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(valueToStringWithNullCheck(exec, value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2237,7 +2237,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "reflectedStringAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(valueToStringWithNullCheck(exec, value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2257,7 +2257,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "reflectedCustomIntegralAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2277,7 +2277,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "reflectedCustomBooleanAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> bool nativeValue(value.toBoolean(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2297,7 +2297,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "reflectedCustomURLAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(valueToStringWithNullCheck(exec, value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2317,7 +2317,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "typedArrayAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> RefPtr<Float32Array> nativeValue(toFloat32Array(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2337,7 +2337,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "attrWithGetterException");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2357,7 +2357,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "attrWithSetterException");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> ExceptionCode ec = 0;
</span><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="lines">@@ -2379,7 +2379,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "stringAttrWithGetterException");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2399,7 +2399,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "stringAttrWithSetterException");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> ExceptionCode ec = 0;
</span><span class="cx"> const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="lines">@@ -2414,7 +2414,7 @@
</span><span class="cx"> JSValue value = JSValue::decode(encodedValue);
</span><span class="cx"> UNUSED_PARAM(baseObject);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(baseObject);
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(baseObject);
</ins><span class="cx"> UNUSED_PARAM(thisValue);
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> castedThis->setCustomAttr(exec, value);
</span><span class="lines">@@ -2433,7 +2433,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "withScriptStateAttribute");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2453,11 +2453,11 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "withScriptExecutionContextAttribute");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> TestObj* nativeValue(JSTestObj::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return;
</span><span class="cx"> impl.setWithScriptExecutionContextAttribute(scriptContext, nativeValue);
</span><span class="lines">@@ -2476,7 +2476,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "withScriptStateAttributeRaises");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> TestObj* nativeValue(JSTestObj::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2496,11 +2496,11 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "withScriptExecutionContextAttributeRaises");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> TestObj* nativeValue(JSTestObj::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return;
</span><span class="cx"> impl.setWithScriptExecutionContextAttributeRaises(scriptContext, nativeValue);
</span><span class="lines">@@ -2519,11 +2519,11 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "withScriptExecutionContextAndScriptStateAttribute");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> TestObj* nativeValue(JSTestObj::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return;
</span><span class="cx"> impl.setWithScriptExecutionContextAndScriptStateAttribute(exec, scriptContext, nativeValue);
</span><span class="lines">@@ -2542,11 +2542,11 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "withScriptExecutionContextAndScriptStateAttributeRaises");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> TestObj* nativeValue(JSTestObj::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return;
</span><span class="cx"> impl.setWithScriptExecutionContextAndScriptStateAttributeRaises(exec, scriptContext, nativeValue);
</span><span class="lines">@@ -2565,11 +2565,11 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "withScriptExecutionContextAndScriptStateWithSpacesAttribute");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> TestObj* nativeValue(JSTestObj::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return;
</span><span class="cx"> impl.setWithScriptExecutionContextAndScriptStateWithSpacesAttribute(exec, scriptContext, nativeValue);
</span><span class="lines">@@ -2588,7 +2588,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "withScriptArgumentsAndCallStackAttribute");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> TestObj* nativeValue(JSTestObj::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2609,7 +2609,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "conditionalAttr1");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2631,7 +2631,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "conditionalAttr2");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2653,7 +2653,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "conditionalAttr3");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2668,10 +2668,10 @@
</span><span class="cx"> JSValue value = JSValue::decode(encodedValue);
</span><span class="cx"> UNUSED_PARAM(baseObject);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(baseObject);
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(baseObject);
</ins><span class="cx"> UNUSED_PARAM(thisValue);
</span><span class="cx"> UNUSED_PARAM(exec);
</span><del>- // Shadowing a built-in constructor.
</del><ins>+ // Shadowing a built-in constructor
</ins><span class="cx"> castedThis->putDirect(exec->vm(), Identifier(exec, "conditionalAttr4"), value);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2683,10 +2683,10 @@
</span><span class="cx"> JSValue value = JSValue::decode(encodedValue);
</span><span class="cx"> UNUSED_PARAM(baseObject);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(baseObject);
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(baseObject);
</ins><span class="cx"> UNUSED_PARAM(thisValue);
</span><span class="cx"> UNUSED_PARAM(exec);
</span><del>- // Shadowing a built-in constructor.
</del><ins>+ // Shadowing a built-in constructor
</ins><span class="cx"> castedThis->putDirect(exec->vm(), Identifier(exec, "conditionalAttr5"), value);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2698,10 +2698,10 @@
</span><span class="cx"> JSValue value = JSValue::decode(encodedValue);
</span><span class="cx"> UNUSED_PARAM(baseObject);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestObj*>(baseObject);
</del><ins>+ JSTestObj* castedThis = jsCast<JSTestObj*>(baseObject);
</ins><span class="cx"> UNUSED_PARAM(thisValue);
</span><span class="cx"> UNUSED_PARAM(exec);
</span><del>- // Shadowing a built-in constructor.
</del><ins>+ // Shadowing a built-in constructor
</ins><span class="cx"> castedThis->putDirect(exec->vm(), Identifier(exec, "conditionalAttr6"), value);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2719,7 +2719,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "anyAttribute");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> Deprecated::ScriptValue nativeValue(exec->vm(), value);
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2739,7 +2739,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "mutablePoint");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> SVGPropertyTearOff<SVGPoint>* nativeValue(JSSVGPoint::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2759,7 +2759,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "immutablePoint");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> SVGPropertyTearOff<SVGPoint>* nativeValue(JSSVGPoint::toWrapped(value));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2779,7 +2779,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "strawberry");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2799,7 +2799,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "strictFloat");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> float nativeValue(value.toFloat(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2819,7 +2819,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "id");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2839,7 +2839,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "replaceableAttribute");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- // Shadowing a built-in object.
</del><ins>+ // Shadowing a built-in object
</ins><span class="cx"> castedThis->putDirect(exec->vm(), Identifier(exec, "replaceableAttribute"), value);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2856,7 +2856,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "nullableLongSettableAttribute");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2876,7 +2876,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "nullableStringValue");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2896,7 +2896,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestObj", "attributeWithReservedEnumType");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> const String nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -2918,7 +2918,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "voidMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> impl.voidMethod();
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="lines">@@ -2930,7 +2930,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "voidMethodWithArgs");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 3))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> int longArg(toInt32(exec, exec->argument(0), NormalConversion));
</span><span class="lines">@@ -2953,7 +2953,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "byteMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.byteMethod());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -2965,7 +2965,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "byteMethodWithArgs");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 3))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> int8_t byteArg(toInt8(exec, exec->argument(0), NormalConversion));
</span><span class="lines">@@ -2988,7 +2988,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "octetMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.octetMethod());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -3000,7 +3000,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "octetMethodWithArgs");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 3))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> uint8_t octetArg(toUInt8(exec, exec->argument(0), NormalConversion));
</span><span class="lines">@@ -3023,7 +3023,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "longMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.longMethod());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -3035,7 +3035,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "longMethodWithArgs");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 3))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> int longArg(toInt32(exec, exec->argument(0), NormalConversion));
</span><span class="lines">@@ -3058,7 +3058,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "objMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.objMethod()));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -3070,7 +3070,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "objMethodWithArgs");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 3))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> int longArg(toInt32(exec, exec->argument(0), NormalConversion));
</span><span class="lines">@@ -3093,7 +3093,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithSequenceArg");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Vector<RefPtr<ScriptProfile>> sequenceArg((toRefPtrNativeArray<ScriptProfile, JSScriptProfile>(exec, exec->argument(0), &JSScriptProfile::toWrapped)));
</span><span class="lines">@@ -3110,7 +3110,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodReturningSequence");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> int longArg(toInt32(exec, exec->argument(0), NormalConversion));
</span><span class="lines">@@ -3127,7 +3127,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithEnumArg");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> const String enumArg(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
</span><span class="lines">@@ -3146,7 +3146,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodThatRequiresAllArgsAndThrows");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="lines">@@ -3169,7 +3169,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "serializedValue");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> RefPtr<SerializedScriptValue> serializedArg(SerializedScriptValue::create(exec, exec->argument(0), 0, 0));
</span><span class="lines">@@ -3186,7 +3186,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "optionsObject");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Dictionary oo(exec, exec->argument(0));
</span><span class="lines">@@ -3206,7 +3206,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithException");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> ExceptionCode ec = 0;
</span><span class="cx"> impl.methodWithException(ec);
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="lines">@@ -3240,7 +3240,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "addEventListener");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue listener = exec->argument(1);
</span><span class="cx"> if (UNLIKELY(!listener.isObject()))
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -3255,7 +3255,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "removeEventListener");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue listener = exec->argument(1);
</span><span class="cx"> if (UNLIKELY(!listener.isObject()))
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -3270,7 +3270,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "withScriptStateVoid");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> impl.withScriptStateVoid(exec);
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="lines">@@ -3282,7 +3282,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "withScriptStateObj");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.withScriptStateObj(exec)));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -3296,7 +3296,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "withScriptStateVoidException");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> ExceptionCode ec = 0;
</span><span class="cx"> impl.withScriptStateVoidException(exec, ec);
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="lines">@@ -3310,7 +3310,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "withScriptStateObjException");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> ExceptionCode ec = 0;
</span><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.withScriptStateObjException(exec, ec)));
</span><span class="cx">
</span><span class="lines">@@ -3327,8 +3327,8 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "withScriptExecutionContext");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ TestObj& impl = castedThis->impl();
+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> impl.withScriptExecutionContext(scriptContext);
</span><span class="lines">@@ -3342,8 +3342,8 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "withScriptExecutionContextAndScriptState");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ TestObj& impl = castedThis->impl();
+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> impl.withScriptExecutionContextAndScriptState(exec, scriptContext);
</span><span class="lines">@@ -3357,9 +3357,9 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "withScriptExecutionContextAndScriptStateObjException");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> ExceptionCode ec = 0;
</span><del>- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateObjException(exec, scriptContext, ec)));
</span><span class="lines">@@ -3377,8 +3377,8 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "withScriptExecutionContextAndScriptStateWithSpaces");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
- auto* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</del><ins>+ TestObj& impl = castedThis->impl();
+ ScriptExecutionContext* scriptContext = jsCast<JSDOMGlobalObject*>(exec->lexicalGlobalObject())->scriptExecutionContext();
</ins><span class="cx"> if (!scriptContext)
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.withScriptExecutionContextAndScriptStateWithSpaces(exec, scriptContext)));
</span><span class="lines">@@ -3394,7 +3394,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "withScriptArgumentsAndCallStack");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> RefPtr<Inspector::ScriptArguments> scriptArguments(Inspector::createScriptArguments(exec, 0));
</span><span class="cx"> impl.withScriptArgumentsAndCallStack(scriptArguments.release());
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -3407,7 +3407,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithOptionalArg");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx">
</span><span class="cx"> size_t argsCount = exec->argumentCount();
</span><span class="cx"> if (argsCount <= 0) {
</span><span class="lines">@@ -3429,7 +3429,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithNonOptionalArgAndOptionalArg");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> int nonOpt(toInt32(exec, exec->argument(0), NormalConversion));
</span><span class="lines">@@ -3456,7 +3456,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithNonOptionalArgAndTwoOptionalArgs");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> int nonOpt(toInt32(exec, exec->argument(0), NormalConversion));
</span><span class="lines">@@ -3491,7 +3491,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithOptionalString");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx">
</span><span class="cx"> size_t argsCount = exec->argumentCount();
</span><span class="cx"> if (argsCount <= 0) {
</span><span class="lines">@@ -3513,7 +3513,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithOptionalStringIsUndefined");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> const String& str(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -3528,7 +3528,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithOptionalStringIsNullString");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> const String& str(argumentOrNull(exec, 0).isEmpty() ? String() : argumentOrNull(exec, 0).toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -3543,7 +3543,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithCallbackArg");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> if (!exec->argument(0).isFunction())
</span><span class="lines">@@ -3560,7 +3560,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithNonCallbackArgAndCallbackArg");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> int nonCallback(toInt32(exec, exec->argument(0), NormalConversion));
</span><span class="lines">@@ -3580,7 +3580,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithCallbackAndOptionalArg");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> RefPtr<TestCallback> callback;
</span><span class="cx"> if (!exec->argument(0).isUndefinedOrNull()) {
</span><span class="cx"> if (!exec->uncheckedArgument(0).isFunction())
</span><span class="lines">@@ -3622,7 +3622,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "conditionalMethod1");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.conditionalMethod1());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -3637,7 +3637,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "conditionalMethod2");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> impl.conditionalMethod2();
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="lines">@@ -3652,7 +3652,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "conditionalMethod3");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> impl.conditionalMethod3();
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="lines">@@ -3666,7 +3666,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "overloadedMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> TestObj* objArg(JSTestObj::toWrapped(exec->argument(0)));
</span><span class="lines">@@ -3686,7 +3686,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "overloadedMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> TestObj* objArg(JSTestObj::toWrapped(exec->argument(0)));
</span><span class="lines">@@ -3713,7 +3713,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "overloadedMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> const String& strArg(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
</span><span class="lines">@@ -3730,7 +3730,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "overloadedMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> int longArg(toInt32(exec, exec->argument(0), NormalConversion));
</span><span class="lines">@@ -3747,7 +3747,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "overloadedMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> if (!exec->argument(0).isFunction())
</span><span class="lines">@@ -3764,7 +3764,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "overloadedMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> RefPtr<DOMStringList> listArg(toDOMStringList(exec, exec->argument(0)));
</span><span class="lines">@@ -3781,7 +3781,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "overloadedMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Vector<String> arrayArg(toNativeArray<String>(exec, exec->argument(0)));
</span><span class="lines">@@ -3798,7 +3798,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "overloadedMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> TestObj* objArg(JSTestObj::toWrapped(exec->argument(0)));
</span><span class="lines">@@ -3815,7 +3815,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "overloadedMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Vector<String> arrayArg(toNativeArray<String>(exec, exec->argument(0)));
</span><span class="lines">@@ -3832,7 +3832,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "overloadedMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Vector<unsigned> arrayArg(toNativeArray<unsigned>(exec, exec->argument(0)));
</span><span class="lines">@@ -3849,7 +3849,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "overloadedMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> const String& strArg(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
</span><span class="lines">@@ -3974,7 +3974,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "classMethodWithClamp");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> unsigned short objArgsShort = 0;
</span><span class="lines">@@ -4004,7 +4004,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithUnsignedLongSequence");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Vector<unsigned> unsignedLongSequence(toNativeArray<unsigned>(exec, exec->argument(0)));
</span><span class="lines">@@ -4021,7 +4021,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "stringArrayFunction");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="lines">@@ -4041,7 +4041,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "domStringListFunction");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="lines">@@ -4061,7 +4061,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithAndWithoutNullableSequence");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Vector<unsigned> arrayArg(toNativeArray<unsigned>(exec, exec->argument(0)));
</span><span class="lines">@@ -4081,7 +4081,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "methodWithAndWithoutNullableSequence2");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Vector<unsigned> arrayArg(toNativeArray<unsigned>(exec, exec->argument(0)));
</span><span class="lines">@@ -4101,7 +4101,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "getSVGDocument");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> ExceptionCode ec = 0;
</span><span class="cx"> if (!shouldAllowAccessToNode(exec, impl.getSVGDocument(ec)))
</span><span class="cx"> return JSValue::encode(jsNull());
</span><span class="lines">@@ -4118,7 +4118,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "convert1");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> TestNode* value(JSTestNode::toWrapped(exec->argument(0)));
</span><span class="lines">@@ -4135,7 +4135,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "convert2");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> TestNode* value(JSTestNode::toWrapped(exec->argument(0)));
</span><span class="lines">@@ -4152,7 +4152,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "convert4");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> TestNode* value(JSTestNode::toWrapped(exec->argument(0)));
</span><span class="lines">@@ -4169,7 +4169,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "convert5");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> TestNode* value(JSTestNode::toWrapped(exec->argument(0)));
</span><span class="lines">@@ -4186,7 +4186,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "mutablePointFunction");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create(impl.mutablePointFunction())));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -4198,7 +4198,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "immutablePointFunction");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create(impl.immutablePointFunction())));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -4210,7 +4210,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "orange");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> impl.banana();
</span><span class="cx"> return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="lines">@@ -4222,7 +4222,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "strictFunction");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 3))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="lines">@@ -4248,7 +4248,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "strictFunctionWithSequence");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="lines">@@ -4273,7 +4273,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "strictFunctionWithArray");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="lines">@@ -4298,7 +4298,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "variadicStringMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> const String& head(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
</span><span class="lines">@@ -4318,7 +4318,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "variadicDoubleMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> double head(exec->argument(0).toNumber(exec));
</span><span class="lines">@@ -4338,7 +4338,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "variadicNodeMethod");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Node* head(JSNode::toWrapped(exec->argument(0)));
</span><span class="lines">@@ -4361,7 +4361,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestObj", "any");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestObj& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> float a(exec->argument(0).toFloat(exec));
</span><span class="lines">@@ -4376,7 +4376,7 @@
</span><span class="cx">
</span><span class="cx"> void JSTestObj::visitChildren(JSCell* cell, SlotVisitor& visitor)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestObj*>(cell);
</del><ins>+ JSTestObj* thisObject = jsCast<JSTestObj*>(cell);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> Base::visitChildren(thisObject, visitor);
</span><span class="cx"> visitor.append(&thisObject->m_cachedAttribute1);
</span><span class="lines">@@ -4392,8 +4392,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestObjOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestObj = jsCast<JSTestObj*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestObj* jsTestObj = jsCast<JSTestObj*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestObj->impl(), jsTestObj);
</span><span class="cx"> jsTestObj->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx">
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors1(ExecState* exec)
</span><span class="cx"> {
</span><del>- auto* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
</del><ins>+ JSTestOverloadedConstructorsConstructor* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ArrayBuffer* arrayBuffer(toArrayBuffer(exec->argument(0)));
</span><span class="lines">@@ -103,7 +103,7 @@
</span><span class="cx">
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors2(ExecState* exec)
</span><span class="cx"> {
</span><del>- auto* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
</del><ins>+ JSTestOverloadedConstructorsConstructor* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> RefPtr<ArrayBufferView> arrayBufferView(toArrayBufferView(exec->argument(0)));
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx">
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors3(ExecState* exec)
</span><span class="cx"> {
</span><del>- auto* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
</del><ins>+ JSTestOverloadedConstructorsConstructor* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Blob* blob(JSBlob::toWrapped(exec->argument(0)));
</span><span class="lines">@@ -127,7 +127,7 @@
</span><span class="cx">
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors4(ExecState* exec)
</span><span class="cx"> {
</span><del>- auto* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
</del><ins>+ JSTestOverloadedConstructorsConstructor* castedThis = jsCast<JSTestOverloadedConstructorsConstructor*>(exec->callee());
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> const String& string(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
</span><span class="lines">@@ -241,8 +241,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestOverloadedConstructorsOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestOverloadedConstructors = jsCast<JSTestOverloadedConstructors*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestOverloadedConstructors* jsTestOverloadedConstructors = jsCast<JSTestOverloadedConstructors*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestOverloadedConstructors->impl(), jsTestOverloadedConstructors);
</span><span class="cx"> jsTestOverloadedConstructors->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -169,7 +169,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestSerializedScriptValueInterface", "value");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestSerializedScriptValueInterface", "value");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestSerializedScriptValueInterface& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = impl.value() ? impl.value()->deserialize(exec, castedThis->globalObject(), 0) : jsNull();
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -186,7 +186,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestSerializedScriptValueInterface", "readonlyValue");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestSerializedScriptValueInterface", "readonlyValue");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestSerializedScriptValueInterface& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = impl.readonlyValue() ? impl.readonlyValue()->deserialize(exec, castedThis->globalObject(), 0) : jsNull();
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -205,7 +205,7 @@
</span><span class="cx"> }
</span><span class="cx"> if (JSValue cachedValue = castedThis->m_cachedValue.get())
</span><span class="cx"> return JSValue::encode(cachedValue);
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestSerializedScriptValueInterface& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = impl.cachedValue() ? impl.cachedValue()->deserialize(exec, castedThis->globalObject(), 0) : jsNull();
</span><span class="cx"> castedThis->m_cachedValue.set(exec->vm(), castedThis, result);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -223,7 +223,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestSerializedScriptValueInterface", "ports");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestSerializedScriptValueInterface", "ports");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestSerializedScriptValueInterface& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsArray(exec, castedThis->globalObject(), impl.ports());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -242,7 +242,7 @@
</span><span class="cx"> }
</span><span class="cx"> if (JSValue cachedValue = castedThis->m_cachedReadonlyValue.get())
</span><span class="cx"> return JSValue::encode(cachedValue);
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestSerializedScriptValueInterface& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = impl.cachedReadonlyValue() ? impl.cachedReadonlyValue()->deserialize(exec, castedThis->globalObject(), 0) : jsNull();
</span><span class="cx"> castedThis->m_cachedReadonlyValue.set(exec->vm(), castedThis, result);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -269,7 +269,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestSerializedScriptValueInterface", "value");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestSerializedScriptValueInterface& impl = castedThis->impl();
</ins><span class="cx"> RefPtr<SerializedScriptValue> nativeValue(SerializedScriptValue::create(exec, value, 0, 0));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -289,7 +289,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestSerializedScriptValueInterface", "cachedValue");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestSerializedScriptValueInterface& impl = castedThis->impl();
</ins><span class="cx"> RefPtr<SerializedScriptValue> nativeValue(SerializedScriptValue::create(exec, value, 0, 0));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -304,7 +304,7 @@
</span><span class="cx">
</span><span class="cx"> void JSTestSerializedScriptValueInterface::visitChildren(JSCell* cell, SlotVisitor& visitor)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestSerializedScriptValueInterface*>(cell);
</del><ins>+ JSTestSerializedScriptValueInterface* thisObject = jsCast<JSTestSerializedScriptValueInterface*>(cell);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> Base::visitChildren(thisObject, visitor);
</span><span class="cx"> visitor.append(&thisObject->m_cachedValue);
</span><span class="lines">@@ -320,8 +320,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestSerializedScriptValueInterfaceOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestSerializedScriptValueInterface = jsCast<JSTestSerializedScriptValueInterface*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestSerializedScriptValueInterface* jsTestSerializedScriptValueInterface = jsCast<JSTestSerializedScriptValueInterface*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestSerializedScriptValueInterface->impl(), jsTestSerializedScriptValueInterface);
</span><span class="cx"> jsTestSerializedScriptValueInterface->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestTypedefscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -146,7 +146,7 @@
</span><span class="cx">
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL JSTestTypedefsConstructor::constructJSTestTypedefs(ExecState* exec)
</span><span class="cx"> {
</span><del>- auto* castedThis = jsCast<JSTestTypedefsConstructor*>(exec->callee());
</del><ins>+ JSTestTypedefsConstructor* castedThis = jsCast<JSTestTypedefsConstructor*>(exec->callee());
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 2))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> const String& hello(exec->argument(0).isEmpty() ? String() : exec->argument(0).toString(exec)->value(exec));
</span><span class="lines">@@ -243,7 +243,7 @@
</span><span class="cx">
</span><span class="cx"> bool JSTestTypedefs::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
</span><span class="cx"> {
</span><del>- auto* thisObject = jsCast<JSTestTypedefs*>(object);
</del><ins>+ JSTestTypedefs* thisObject = jsCast<JSTestTypedefs*>(object);
</ins><span class="cx"> ASSERT_GC_OBJECT_INHERITS(thisObject, info());
</span><span class="cx"> return getStaticValueSlot<JSTestTypedefs, Base>(exec, JSTestTypedefsTable, thisObject, propertyName, slot);
</span><span class="cx"> }
</span><span class="lines">@@ -259,7 +259,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestTypedefs", "unsignedLongLongAttr");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestTypedefs", "unsignedLongLongAttr");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.unsignedLongLongAttr());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -276,7 +276,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestTypedefs", "immutableSerializedScriptValue");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestTypedefs", "immutableSerializedScriptValue");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = impl.immutableSerializedScriptValue() ? impl.immutableSerializedScriptValue()->deserialize(exec, castedThis->globalObject(), 0) : jsNull();
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -287,7 +287,7 @@
</span><span class="cx"> UNUSED_PARAM(exec);
</span><span class="cx"> UNUSED_PARAM(slotBase);
</span><span class="cx"> UNUSED_PARAM(thisValue);
</span><del>- auto* castedThis = jsCast<JSTestTypedefs*>(slotBase);
</del><ins>+ JSTestTypedefs* castedThis = jsCast<JSTestTypedefs*>(slotBase);
</ins><span class="cx"> return JSValue::encode(JSTestSubObj::getConstructor(exec->vm(), castedThis->globalObject()));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -304,7 +304,7 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestTypedefs", "attrWithGetterException");
</span><span class="cx"> }
</span><span class="cx"> ExceptionCode ec = 0;
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.attrWithGetterException(ec));
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -322,7 +322,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestTypedefs", "attrWithSetterException");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestTypedefs", "attrWithSetterException");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsNumber(impl.attrWithSetterException());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -340,7 +340,7 @@
</span><span class="cx"> return throwGetterTypeError(*exec, "TestTypedefs", "stringAttrWithGetterException");
</span><span class="cx"> }
</span><span class="cx"> ExceptionCode ec = 0;
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.stringAttrWithGetterException(ec));
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="cx"> return JSValue::encode(result);
</span><span class="lines">@@ -358,7 +358,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "TestTypedefs", "stringAttrWithSetterException");
</span><span class="cx"> return throwGetterTypeError(*exec, "TestTypedefs", "stringAttrWithSetterException");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.stringAttrWithSetterException());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -384,7 +384,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestTypedefs", "unsignedLongLongAttr");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> unsigned long long nativeValue(toUInt64(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -404,7 +404,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestTypedefs", "immutableSerializedScriptValue");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> RefPtr<SerializedScriptValue> nativeValue(SerializedScriptValue::create(exec, value, 0, 0));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -424,7 +424,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestTypedefs", "attrWithGetterException");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -444,7 +444,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestTypedefs", "attrWithSetterException");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> ExceptionCode ec = 0;
</span><span class="cx"> int nativeValue(toInt32(exec, value, NormalConversion));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="lines">@@ -466,7 +466,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestTypedefs", "stringAttrWithGetterException");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="cx"> return;
</span><span class="lines">@@ -486,7 +486,7 @@
</span><span class="cx"> throwSetterTypeError(*exec, "TestTypedefs", "stringAttrWithSetterException");
</span><span class="cx"> return;
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> ExceptionCode ec = 0;
</span><span class="cx"> const String& nativeValue(value.isEmpty() ? String() : value.toString(exec)->value(exec));
</span><span class="cx"> if (UNLIKELY(exec->hadException()))
</span><span class="lines">@@ -508,7 +508,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestTypedefs", "func");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx">
</span><span class="cx"> size_t argsCount = exec->argumentCount();
</span><span class="cx"> if (argsCount <= 0) {
</span><span class="lines">@@ -530,7 +530,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestTypedefs", "setShadow");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 3))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> float width(exec->argument(0).toFloat(exec));
</span><span class="lines">@@ -571,7 +571,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestTypedefs", "methodWithSequenceArg");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Vector<RefPtr<SerializedScriptValue>> sequenceArg((toRefPtrNativeArray<SerializedScriptValue, JSSerializedScriptValue>(exec, exec->argument(0), &JSSerializedScriptValue::toWrapped)));
</span><span class="lines">@@ -588,7 +588,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestTypedefs", "nullableArrayArg");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Vector<String> arrayArg(toNativeArray<String>(exec, exec->argument(0)));
</span><span class="lines">@@ -605,7 +605,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestTypedefs", "funcWithClamp");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> unsigned long long arg1 = 0;
</span><span class="lines">@@ -642,7 +642,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestTypedefs", "immutablePointFunction");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(SVGPropertyTearOff<SVGPoint>::create(impl.immutablePointFunction())));
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -654,7 +654,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestTypedefs", "stringArrayFunction");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="lines">@@ -674,7 +674,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestTypedefs", "stringArrayFunction2");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> ExceptionCode ec = 0;
</span><span class="lines">@@ -694,7 +694,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestTypedefs", "callWithSequenceThatRequiresInclude");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> if (UNLIKELY(exec->argumentCount() < 1))
</span><span class="cx"> return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> Vector<RefPtr<TestEventTarget>> sequenceArg((toRefPtrNativeArray<TestEventTarget, JSTestEventTarget>(exec, exec->argument(0), &JSTestEventTarget::toWrapped)));
</span><span class="lines">@@ -711,7 +711,7 @@
</span><span class="cx"> if (UNLIKELY(!castedThis))
</span><span class="cx"> return throwThisTypeError(*exec, "TestTypedefs", "methodWithException");
</span><span class="cx"> ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestTypedefs::info());
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ TestTypedefs& impl = castedThis->impl();
</ins><span class="cx"> ExceptionCode ec = 0;
</span><span class="cx"> impl.methodWithException(ec);
</span><span class="cx"> setDOMException(exec, ec);
</span><span class="lines">@@ -727,8 +727,8 @@
</span><span class="cx">
</span><span class="cx"> void JSTestTypedefsOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsTestTypedefs = jsCast<JSTestTypedefs*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSTestTypedefs* jsTestTypedefs = jsCast<JSTestTypedefs*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsTestTypedefs->impl(), jsTestTypedefs);
</span><span class="cx"> jsTestTypedefs->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSattributecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -154,7 +154,7 @@
</span><span class="cx"> return reportDeprecatedGetterError(*exec, "attribute", "readonly");
</span><span class="cx"> return throwGetterTypeError(*exec, "attribute", "readonly");
</span><span class="cx"> }
</span><del>- auto& impl = castedThis->impl();
</del><ins>+ attribute& impl = castedThis->impl();
</ins><span class="cx"> JSValue result = jsStringWithCache(exec, impl.readonly());
</span><span class="cx"> return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="lines">@@ -182,8 +182,8 @@
</span><span class="cx">
</span><span class="cx"> void JSattributeOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsattribute = jsCast<JSattribute*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSattribute* jsattribute = jsCast<JSattribute*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsattribute->impl(), jsattribute);
</span><span class="cx"> jsattribute->releaseImpl();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSreadonlycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp (181023 => 181024)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2015-03-04 21:45:36 UTC (rev 181023)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2015-03-04 21:47:30 UTC (rev 181024)
</span><span class="lines">@@ -160,8 +160,8 @@
</span><span class="cx">
</span><span class="cx"> void JSreadonlyOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
</span><span class="cx"> {
</span><del>- auto* jsreadonly = jsCast<JSreadonly*>(handle.slot()->asCell());
- auto& world = *static_cast<DOMWrapperWorld*>(context);
</del><ins>+ JSreadonly* jsreadonly = jsCast<JSreadonly*>(handle.slot()->asCell());
+ DOMWrapperWorld& world = *static_cast<DOMWrapperWorld*>(context);
</ins><span class="cx"> uncacheWrapper(world, &jsreadonly->impl(), jsreadonly);
</span><span class="cx"> jsreadonly->releaseImpl();
</span><span class="cx"> }
</span></span></pre>
</div>
</div>
</body>
</html>