Changeset 20253 in webkit


Ignore:
Timestamp:
Mar 16, 2007 4:49:58 PM (17 years ago)
Author:
beidson
Message:

LayoutTests:

Reviewed by Anders

<rdar://problem/5061826> and
http://bugs.webkit.org/show_bug.cgi?id=12863
Implement window.stop()

  • http/tests/misc/window-dot-stop-expected.txt: Added.
  • http/tests/misc/window-dot-stop.html: Added.

WebCore:

Reviewed by Anders

<rdar://problem/5061826> and
http://bugs.webkit.org/show_bug.cgi?id=12863
Implement window.stop()

  • bindings/js/kjs_window.cpp: (KJS::WindowFunc::callAsFunction): Add case Window::Stop
  • bindings/js/kjs_window.h: (KJS::Window::): Add "Stop"
Location:
trunk
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r20228 r20253  
     12007-03-16  Brady Eidson  <beidson@apple.com>
     2
     3        Reviewed by Anders
     4
     5        <rdar://problem/5061826> and
     6        http://bugs.webkit.org/show_bug.cgi?id=12863
     7        Implement window.stop()
     8
     9        * http/tests/misc/window-dot-stop-expected.txt: Added.
     10        * http/tests/misc/window-dot-stop.html: Added.
     11
    1122007-03-15  Justin Garcia  <justin.garcia@apple.com>
    213
  • trunk/WebCore/ChangeLog

    r20252 r20253  
     12007-03-16  Brady Eidson  <beidson@apple.com>
     2
     3        Reviewed by Anders
     4
     5        <rdar://problem/5061826> and
     6        http://bugs.webkit.org/show_bug.cgi?id=12863
     7        Implement window.stop()
     8
     9        * bindings/js/kjs_window.cpp:
     10        (KJS::WindowFunc::callAsFunction): Add case Window::Stop
     11        * bindings/js/kjs_window.h:
     12        (KJS::Window::): Add "Stop"
     13
    1142007-03-16  Geoffrey Garen  <ggaren@apple.com>
    215
  • trunk/WebCore/WebCore.xcodeproj/project.pbxproj

    r20241 r20253  
    1124611246                        isa = PBXProject;
    1124711247                        buildConfigurationList = 149C284308902B11008A9EFC /* Build configuration list for PBXProject "WebCore" */;
    11248                         compatibilityVersion = "Xcode 2.4";
    1124911248                        hasScannedForEncodings = 1;
    1125011249                        knownRegions = (
     
    1126111260                        projectDirPath = "";
    1126211261                        projectRoot = "";
    11263                         shouldCheckCompatibility = 1;
    1126411262                        targets = (
    1126511263                                93F198A508245E59001E9ABC /* WebCore */,
  • trunk/WebCore/bindings/js/kjs_window.cpp

    r20071 r20253  
    324324  frameElement  Window::FrameElement    DontDelete|ReadOnly
    325325  showModalDialog Window::ShowModalDialog    DontDelete|Function 1
    326   find            Window::Find               DontDelete|Function 7
     326  find          Window::Find            DontDelete|Function 7
     327  stop          Window::Stop            DontDelete|Function 0
    327328@end
    328329*/
     
    18321833    return result;
    18331834  }
     1835  case Window::Stop:
     1836        frame->loader()->stopAllLoaders();
     1837        return jsUndefined();
    18341838  case Window::Find:
    18351839      if (!window->isSafeScript(exec))
  • trunk/WebCore/bindings/js/kjs_window.h

    r20071 r20253  
    181181           Onmouseout, Onmouseover, Onmouseup, OnWindowMouseWheel, Onreset, Onresize, Onscroll, Onsearch,
    182182           Onselect, Onsubmit, Onunload, Onbeforeunload,
    183            Statusbar, Toolbar, FrameElement, ShowModalDialog, Find };
     183           Statusbar, Toolbar, FrameElement, ShowModalDialog, Find, Stop };
    184184
    185185  private:
Note: See TracChangeset for help on using the changeset viewer.