Changeset 99389 in webkit


Ignore:
Timestamp:
Nov 6, 2011 6:07:50 PM (12 years ago)
Author:
dominicc@chromium.org
Message:

Remove initBeforeLoadEvent method
https://bugs.webkit.org/show_bug.cgi?id=71636

Reviewed by Adam Barth.

Source/WebCore:

Test: fast/dom/Window/window-properties.html

  • dom/BeforeLoadEvent.h:
  • dom/BeforeLoadEvent.idl:

LayoutTests:

  • fast/dom/Window/window-properties-expected.txt:
  • platform/gtk/fast/dom/Window/window-properties-expected.txt:
  • platform/mac/fast/dom/Window/window-properties-expected.txt:
  • platform/qt-wk2/fast/dom/Window/window-properties-expected.txt:
  • platform/qt/fast/dom/Window/window-properties-expected.txt:
  • platform/win/fast/dom/Window/window-properties-expected.txt:
Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r99388 r99389  
     12011-11-06  Dominic Cooney  <dominicc@chromium.org>
     2
     3        Remove initBeforeLoadEvent method
     4        https://bugs.webkit.org/show_bug.cgi?id=71636
     5
     6        Reviewed by Adam Barth.
     7
     8        * fast/dom/Window/window-properties-expected.txt:
     9        * platform/gtk/fast/dom/Window/window-properties-expected.txt:
     10        * platform/mac/fast/dom/Window/window-properties-expected.txt:
     11        * platform/qt-wk2/fast/dom/Window/window-properties-expected.txt:
     12        * platform/qt/fast/dom/Window/window-properties-expected.txt:
     13        * platform/win/fast/dom/Window/window-properties-expected.txt:
     14
    1152011-11-06  Ryosuke Niwa  <rniwa@webkit.org>
    216
  • trunk/LayoutTests/fast/dom/Window/window-properties-expected.txt

    r97738 r99389  
    148148window.BeforeLoadEvent.prototype.MOUSEUP [number]
    149149window.BeforeLoadEvent.prototype.SELECT [number]
    150 window.BeforeLoadEvent.prototype.initBeforeLoadEvent [function]
    151150window.BeforeLoadEvent.prototype.initEvent [function]
    152151window.BeforeLoadEvent.prototype.preventDefault [function]
  • trunk/LayoutTests/platform/gtk/fast/dom/Window/window-properties-expected.txt

    r99285 r99389  
    148148window.BeforeLoadEvent.prototype.MOUSEUP [number]
    149149window.BeforeLoadEvent.prototype.SELECT [number]
    150 window.BeforeLoadEvent.prototype.initBeforeLoadEvent [function]
    151150window.BeforeLoadEvent.prototype.initEvent [function]
    152151window.BeforeLoadEvent.prototype.preventDefault [function]
  • trunk/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt

    r99021 r99389  
    173173window.BeforeLoadEvent.prototype.MOUSEUP [number]
    174174window.BeforeLoadEvent.prototype.SELECT [number]
    175 window.BeforeLoadEvent.prototype.initBeforeLoadEvent [function]
    176175window.BeforeLoadEvent.prototype.initEvent [function]
    177176window.BeforeLoadEvent.prototype.preventDefault [function]
  • trunk/LayoutTests/platform/qt-wk2/fast/dom/Window/window-properties-expected.txt

    r97738 r99389  
    146146window.BeforeLoadEvent.prototype.MOUSEUP [number]
    147147window.BeforeLoadEvent.prototype.SELECT [number]
    148 window.BeforeLoadEvent.prototype.initBeforeLoadEvent [function]
    149148window.BeforeLoadEvent.prototype.initEvent [function]
    150149window.BeforeLoadEvent.prototype.preventDefault [function]
  • trunk/LayoutTests/platform/qt/fast/dom/Window/window-properties-expected.txt

    r99021 r99389  
    146146window.BeforeLoadEvent.prototype.MOUSEUP [number]
    147147window.BeforeLoadEvent.prototype.SELECT [number]
    148 window.BeforeLoadEvent.prototype.initBeforeLoadEvent [function]
    149148window.BeforeLoadEvent.prototype.initEvent [function]
    150149window.BeforeLoadEvent.prototype.preventDefault [function]
  • trunk/LayoutTests/platform/win/fast/dom/Window/window-properties-expected.txt

    r97738 r99389  
    148148window.BeforeLoadEvent.prototype.MOUSEUP [number]
    149149window.BeforeLoadEvent.prototype.SELECT [number]
    150 window.BeforeLoadEvent.prototype.initBeforeLoadEvent [function]
    151150window.BeforeLoadEvent.prototype.initEvent [function]
    152151window.BeforeLoadEvent.prototype.preventDefault [function]
  • trunk/Source/WebCore/ChangeLog

    r99386 r99389  
     12011-11-06  Dominic Cooney  <dominicc@chromium.org>
     2
     3        Remove initBeforeLoadEvent method
     4        https://bugs.webkit.org/show_bug.cgi?id=71636
     5
     6        Reviewed by Adam Barth.
     7
     8        Test: fast/dom/Window/window-properties.html
     9
     10        * dom/BeforeLoadEvent.h:
     11        * dom/BeforeLoadEvent.idl:
     12
    1132011-11-06  Adam Barth  <abarth@webkit.org>
    214
  • trunk/Source/WebCore/dom/BeforeLoadEvent.h

    r98146 r99389  
    5858    }
    5959
    60     void initBeforeLoadEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& url)
    61     {
    62         if (dispatched())
    63             return;
    64 
    65         initEvent(type, canBubble, cancelable);
    66 
    67         m_url = url;
    68     }
    69 
    7060    const String& url() const { return m_url; }
    7161
  • trunk/Source/WebCore/dom/BeforeLoadEvent.idl

    r97419 r99389  
    3131        CustomConstructor
    3232    ] BeforeLoadEvent : Event {
    33         void initBeforeLoadEvent(in [Optional=CallWithDefaultValue] DOMString type,
    34                                  in [Optional=CallWithDefaultValue] boolean canBubble,
    35                                  in [Optional=CallWithDefaultValue] boolean cancelable,
    36                                  in [Optional=CallWithDefaultValue] DOMString url);
    3733        readonly attribute DOMString url;
    3834    };
Note: See TracChangeset for help on using the changeset viewer.