Title: [99021] trunk
Revision
99021
Author
[email protected]
Date
2011-11-01 18:20:44 -0700 (Tue, 01 Nov 2011)

Log Message

Remove initErrorEvent method
https://bugs.webkit.org/show_bug.cgi?id=71338

Reviewed by Ojan Vafai.

Source/WebCore:

* dom/ErrorEvent.cpp: Crush.
* dom/ErrorEvent.h: Kill.
* dom/ErrorEvent.idl: Destroy.

LayoutTests:

* http/tests/workers/worker-importScriptsOnError-expected.txt:
* platform/gtk/fast/dom/Window/window-properties-expected.txt:
* platform/mac/fast/dom/Window/window-properties-expected.txt:
* platform/qt/fast/dom/Window/window-properties-expected.txt:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (99020 => 99021)


--- trunk/LayoutTests/ChangeLog	2011-11-02 01:12:01 UTC (rev 99020)
+++ trunk/LayoutTests/ChangeLog	2011-11-02 01:20:44 UTC (rev 99021)
@@ -1,3 +1,15 @@
+2011-11-01  Dominic Cooney   <[email protected]>
+
+        Remove initErrorEvent method
+        https://bugs.webkit.org/show_bug.cgi?id=71338
+
+        Reviewed by Ojan Vafai.
+
+        * http/tests/workers/worker-importScriptsOnError-expected.txt:
+        * platform/gtk/fast/dom/Window/window-properties-expected.txt:
+        * platform/mac/fast/dom/Window/window-properties-expected.txt:
+        * platform/qt/fast/dom/Window/window-properties-expected.txt:
+
 2011-11-01  Tim Horton  <[email protected]>
 
         SVG Filter on a group doesn't invalidate when children are moved

Modified: trunk/LayoutTests/http/tests/workers/worker-importScriptsOnError-expected.txt (99020 => 99021)


--- trunk/LayoutTests/http/tests/workers/worker-importScriptsOnError-expected.txt	2011-11-02 01:12:01 UTC (rev 99020)
+++ trunk/LayoutTests/http/tests/workers/worker-importScriptsOnError-expected.txt	2011-11-02 01:20:44 UTC (rev 99021)
@@ -29,7 +29,6 @@
 defaultPrevented: false,
 eventPhase: 2,
 filename: http://127.0.0.1:8000/workers/resources/worker-importScripts-error.js,
-initErrorEvent: function initErrorEvent() { [native code] },
 initEvent: function initEvent() { [native code] },
 lineno: 2,
 message: Error: Script error.,

Modified: trunk/LayoutTests/platform/gtk/fast/dom/Window/window-properties-expected.txt (99020 => 99021)


--- trunk/LayoutTests/platform/gtk/fast/dom/Window/window-properties-expected.txt	2011-11-02 01:12:01 UTC (rev 99020)
+++ trunk/LayoutTests/platform/gtk/fast/dom/Window/window-properties-expected.txt	2011-11-02 01:20:44 UTC (rev 99021)
@@ -985,7 +985,6 @@
 window.ErrorEvent.prototype.MOUSEOVER [number]
 window.ErrorEvent.prototype.MOUSEUP [number]
 window.ErrorEvent.prototype.SELECT [number]
-window.ErrorEvent.prototype.initErrorEvent [function]
 window.ErrorEvent.prototype.initEvent [function]
 window.ErrorEvent.prototype.preventDefault [function]
 window.ErrorEvent.prototype.stopImmediatePropagation [function]

Modified: trunk/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt (99020 => 99021)


--- trunk/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt	2011-11-02 01:12:01 UTC (rev 99020)
+++ trunk/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt	2011-11-02 01:20:44 UTC (rev 99021)
@@ -1009,7 +1009,6 @@
 window.ErrorEvent.prototype.MOUSEOVER [number]
 window.ErrorEvent.prototype.MOUSEUP [number]
 window.ErrorEvent.prototype.SELECT [number]
-window.ErrorEvent.prototype.initErrorEvent [function]
 window.ErrorEvent.prototype.initEvent [function]
 window.ErrorEvent.prototype.preventDefault [function]
 window.ErrorEvent.prototype.stopImmediatePropagation [function]

Modified: trunk/LayoutTests/platform/qt/fast/dom/Window/window-properties-expected.txt (99020 => 99021)


--- trunk/LayoutTests/platform/qt/fast/dom/Window/window-properties-expected.txt	2011-11-02 01:12:01 UTC (rev 99020)
+++ trunk/LayoutTests/platform/qt/fast/dom/Window/window-properties-expected.txt	2011-11-02 01:20:44 UTC (rev 99021)
@@ -980,7 +980,6 @@
 window.ErrorEvent.prototype.MOUSEOVER [number]
 window.ErrorEvent.prototype.MOUSEUP [number]
 window.ErrorEvent.prototype.SELECT [number]
-window.ErrorEvent.prototype.initErrorEvent [function]
 window.ErrorEvent.prototype.initEvent [function]
 window.ErrorEvent.prototype.preventDefault [function]
 window.ErrorEvent.prototype.stopImmediatePropagation [function]

Modified: trunk/Source/WebCore/ChangeLog (99020 => 99021)


--- trunk/Source/WebCore/ChangeLog	2011-11-02 01:12:01 UTC (rev 99020)
+++ trunk/Source/WebCore/ChangeLog	2011-11-02 01:20:44 UTC (rev 99021)
@@ -1,3 +1,14 @@
+2011-11-01  Dominic Cooney  <[email protected]>
+
+        Remove initErrorEvent method
+        https://bugs.webkit.org/show_bug.cgi?id=71338
+
+        Reviewed by Ojan Vafai.
+
+        * dom/ErrorEvent.cpp: Crush.
+        * dom/ErrorEvent.h: Kill.
+        * dom/ErrorEvent.idl: Destroy.
+
 2011-11-01  Julien Chaffraix  <[email protected]>
 
         Pack RenderTableCell bits

Modified: trunk/Source/WebCore/dom/ErrorEvent.cpp (99020 => 99021)


--- trunk/Source/WebCore/dom/ErrorEvent.cpp	2011-11-02 01:12:01 UTC (rev 99020)
+++ trunk/Source/WebCore/dom/ErrorEvent.cpp	2011-11-02 01:20:44 UTC (rev 99021)
@@ -66,18 +66,6 @@
 {
 }
 
-void ErrorEvent::initErrorEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& message, const String& fileName, unsigned lineNumber)
-{
-    if (dispatched())
-        return;
-
-    initEvent(type, canBubble, cancelable);
-
-    m_message = message;
-    m_fileName = fileName;
-    m_lineNumber = lineNumber;
-}
-
 const AtomicString& ErrorEvent::interfaceName() const
 {
     return eventNames().interfaceForErrorEvent;

Modified: trunk/Source/WebCore/dom/ErrorEvent.h (99020 => 99021)


--- trunk/Source/WebCore/dom/ErrorEvent.h	2011-11-02 01:12:01 UTC (rev 99020)
+++ trunk/Source/WebCore/dom/ErrorEvent.h	2011-11-02 01:20:44 UTC (rev 99021)
@@ -60,8 +60,6 @@
     }
     virtual ~ErrorEvent();
 
-    void initErrorEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& message, const String& fileName, unsigned lineNumber);
-
     const String& message() const { return m_message; }
     const String& filename() const { return m_fileName; }
     unsigned lineno() const { return m_lineNumber; }

Modified: trunk/Source/WebCore/dom/ErrorEvent.idl (99020 => 99021)


--- trunk/Source/WebCore/dom/ErrorEvent.idl	2011-11-02 01:12:01 UTC (rev 99020)
+++ trunk/Source/WebCore/dom/ErrorEvent.idl	2011-11-02 01:20:44 UTC (rev 99021)
@@ -35,17 +35,9 @@
         CanBeConstructed,
         CustomConstructor
     ] ErrorEvent : Event {
-
         readonly attribute DOMString message;
         readonly attribute DOMString filename;
         readonly attribute unsigned long lineno;
-
-        void initErrorEvent(in [Optional=CallWithDefaultValue] DOMString typeArg,
-                            in [Optional=CallWithDefaultValue] boolean canBubbleArg,
-                            in [Optional=CallWithDefaultValue] boolean cancelableArg, 
-                            in [Optional=CallWithDefaultValue] DOMString messageArg, 
-                            in [Optional=CallWithDefaultValue] DOMString filenameArg, 
-                            in [Optional=CallWithDefaultValue] unsigned long linenoArg);
     };
 
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to