Changeset 96030 in webkit
- Timestamp:
- Sep 26, 2011 4:21:42 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r96026 r96030 1 2011-09-26 Max Perepelitsyn <pph34r@gmail.com> 2 3 Set but unused variables cleanup in v8 bindings (gcc 4.6) 4 https://bugs.webkit.org/show_bug.cgi?id=68079 5 6 Reviewed by Adam Barth. 7 8 * http/tests/websocket/tests/hybi/send-object-tostring-check-expected.txt: Added. 9 * http/tests/websocket/tests/hybi/send-object-tostring-check.html: Added. 10 1 11 2011-09-26 Tony Chang <tony@chromium.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r96026 r96030 1 2011-09-26 Max Perepelitsyn <pph34r@gmail.com> 2 3 Set but unused variables cleanup in v8 bindings (gcc 4.6) 4 https://bugs.webkit.org/show_bug.cgi?id=68079 5 6 Reviewed by Adam Barth. 7 8 Test: http/tests/websocket/tests/hybi/send-object-tostring-check.html 9 10 * bindings/scripts/CodeGeneratorV8.pm: 11 * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp: 12 (WebCore::ConfigureV8TestMediaQueryListListenerTemplate): 13 * bindings/scripts/test/V8/V8TestObj.cpp: 14 (WebCore::ConfigureV8TestObjTemplate): 15 * bindings/v8/WorkerScriptDebugServer.cpp: 16 (WebCore::WorkerScriptDebugServer::addListener): 17 * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp: 18 (WebCore::V8HTMLOptionsCollection::lengthAccessorSetter): 19 * bindings/v8/custom/V8WebSocketCustom.cpp: 20 (WebCore::V8WebSocket::sendCallback): 21 1 22 2011-09-26 Tony Chang <tony@chromium.org> 2 23 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
r95203 r96030 2195 2195 push(@implContent, <<END); 2196 2196 0, 0); 2197 END 2198 } 2199 2200 AddToImplIncludes("wtf/UnusedParam.h"); 2201 push(@implContent, <<END); 2197 2202 UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. 2198 2203 END 2199 AddToImplIncludes("wtf/UnusedParam.h");2200 }2201 2204 2202 2205 if ($dataNode->extendedAttributes->{"CanBeConstructed"} || $dataNode->extendedAttributes->{"CustomConstructor"} || $dataNode->extendedAttributes->{"V8CustomConstructor"} || $dataNode->extendedAttributes->{"Constructer"}) { … … 2210 2213 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); 2211 2214 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); 2215 UNUSED_PARAM(instance); // In some cases, it will not be used. 2216 UNUSED_PARAM(proto); // In some cases, it will not be used. 2212 2217 END 2213 2218 } -
trunk/Source/WebCore/bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp
r95901 r96030 31 31 #include "V8IsolatedContext.h" 32 32 #include "V8Proxy.h" 33 #include <wtf/UnusedParam.h> 33 34 34 35 namespace WebCore { … … 62 63 0, 0, 63 64 TestMediaQueryListListenerCallbacks, WTF_ARRAY_LENGTH(TestMediaQueryListListenerCallbacks)); 65 UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. 64 66 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); 65 67 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); 68 UNUSED_PARAM(instance); // In some cases, it will not be used. 69 UNUSED_PARAM(proto); // In some cases, it will not be used. 66 70 67 71 -
trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.cpp
r95901 r96030 46 46 #include <wtf/RefCounted.h> 47 47 #include <wtf/RefPtr.h> 48 #include <wtf/UnusedParam.h> 48 49 49 50 #if ENABLE(Condition1) … … 1409 1410 TestObjAttrs, WTF_ARRAY_LENGTH(TestObjAttrs), 1410 1411 TestObjCallbacks, WTF_ARRAY_LENGTH(TestObjCallbacks)); 1412 UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. 1411 1413 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); 1412 1414 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); 1415 UNUSED_PARAM(instance); // In some cases, it will not be used. 1416 UNUSED_PARAM(proto); // In some cases, it will not be used. 1413 1417 1414 1418 if (RuntimeEnabledFeatures::enabledAtRuntimeAttr1Enabled()) { -
trunk/Source/WebCore/bindings/v8/WorkerScriptDebugServer.cpp
r95901 r96030 88 88 m_listenersMap.set(workerContext, listener); 89 89 90 // TODO: Should we remove |proxy|? It looks like unused now. 90 91 WorkerContextExecutionProxy* proxy = workerContext->script()->proxy(); 91 92 if (!proxy) 92 93 return; 93 v8::Handle<v8::Context> context = proxy->context();94 94 95 95 v8::Handle<v8::Function> getScriptsFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("getWorkerScripts"))); -
trunk/Source/WebCore/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp
r95901 r96030 110 110 } 111 111 if (!ec) 112 imp->setLength( value->Uint32Value(), ec);112 imp->setLength(newLength, ec); 113 113 114 114 V8Proxy::setDOMException(ec); -
trunk/Source/WebCore/bindings/v8/custom/V8WebSocketCustom.cpp
r95901 r96030 138 138 if (tryCatch.HasCaught()) 139 139 return throwError(tryCatch.Exception()); 140 result = webSocket->send(toWebCoreString( message), ec);140 result = webSocket->send(toWebCoreString(stringMessage), ec); 141 141 } 142 142 if (ec)
Note: See TracChangeset
for help on using the changeset viewer.