2009-07-21 Jian Li <jianli@chromium.org>
authorjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Jul 2009 22:54:58 +0000 (22:54 +0000)
committerjianli@chromium.org <jianli@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Jul 2009 22:54:58 +0000 (22:54 +0000)
        Fix the incorrect patch being landed for bug 27516 that has already been reviewed.
        https://bugs.webkit.org/show_bug.cgi?id=27516

        * workers/WorkerContext.h:
        (WebCore::WorkerContext::setOnerror):
        (WebCore::WorkerContext::onerror):
        * workers/WorkerContext.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@46198 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/workers/WorkerContext.h
WebCore/workers/WorkerContext.idl

index 6076735..546a6de 100644 (file)
@@ -1,5 +1,15 @@
 2009-07-21  Jian Li  <jianli@chromium.org>
 
+        Fix the incorrect patch being landed for bug 27516 that has already been reviewed.
+        https://bugs.webkit.org/show_bug.cgi?id=27516
+
+        * workers/WorkerContext.h:
+        (WebCore::WorkerContext::setOnerror):
+        (WebCore::WorkerContext::onerror):
+        * workers/WorkerContext.idl:
+
+2009-07-21  Jian Li  <jianli@chromium.org>
+
         Reviewed by David Levin.
 
         Add onerror to WorkerContext.
index 2ee016e..ba47454 100644 (file)
@@ -84,8 +84,8 @@ namespace WebCore {
         WorkerContext* self() { return this; }
         WorkerLocation* location() const;
         void close();
-        void setOnerror(PassRefPtr<EventListener> eventListener) { m_onErrorListener = eventListener; }
-        EventListener* onerror() const { return m_onErrorListener.get(); }
+        void setOnerror(PassRefPtr<EventListener> eventListener) { m_onerrorListener = eventListener; }
+        EventListener* onerror() const { return m_onerrorListener.get(); }
 
         // WorkerUtils
         void importScripts(const Vector<String>& urls, const String& callerURL, int callerLine, ExceptionCode&);
@@ -142,7 +142,7 @@ namespace WebCore {
         OwnPtr<WorkerScriptController> m_script;
         WorkerThread* m_thread;
 
-        RefPtr<EventListener> m_onErrorListener;
+        RefPtr<EventListener> m_onerrorListener;
         RefPtr<EventListener> m_onmessageListener;
         EventListenersMap m_eventListeners;
 
index ab4a766..c7b8cb9 100644 (file)
@@ -37,11 +37,11 @@ module threads {
 
         // WorkerGlobalScope
 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
-        attribute [Replaceable] WorkerContext self;
+                 attribute [Replaceable] WorkerContext self;
 #endif
-        attribute [Replaceable] WorkerLocation location;
+                 attribute [Replaceable] WorkerLocation location;
         void close();
-        attribute EventListener onerror;
+                 attribute EventListener onerror;
 
         // WorkerUtils
         [Custom] void importScripts(/*[Variadic] in DOMString urls */);