Changeset 106359 in webkit


Ignore:
Timestamp:
Jan 31, 2012 7:09:33 AM (12 years ago)
Author:
Adam Roben
Message:

Only call -typingAttributes on WebViews, not WebHTMLViews

Looks like this case was just missed in r105908.

Fixes <http://webkit.org/b/77432> REGRESSION (r105908): WebKit1.InspectorBarTest is crashing

Reviewed by Antti Koivisto.

  • TestWebKitAPI/Tests/mac/InspectorBar.mm:

(TestWebKitAPI::TEST): Call -typingAttributes on the WebView, just like we do 2 lines
earlier.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r106356 r106359  
     12012-01-31  Adam Roben  <aroben@apple.com>
     2
     3        Only call -typingAttributes on WebViews, not WebHTMLViews
     4
     5        Looks like this case was just missed in r105908.
     6
     7        Fixes <http://webkit.org/b/77432> REGRESSION (r105908): WebKit1.InspectorBarTest is crashing
     8
     9        Reviewed by Antti Koivisto.
     10
     11        * TestWebKitAPI/Tests/mac/InspectorBar.mm:
     12        (TestWebKitAPI::TEST): Call -typingAttributes on the WebView, just like we do 2 lines
     13        earlier.
     14
    1152012-01-31  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
    216
  • trunk/Tools/TestWebKitAPI/Tests/mac/InspectorBar.mm

    r105908 r106359  
    6767    NSDictionary *attributes = [(id)webView.get() typingAttributes];
    6868    [(id)[[[webView.get() mainFrame] frameView] documentView] doCommandBySelector:@selector(bold:)];
    69     EXPECT_FALSE([attributes isEqual:[(id)[[[webView.get() mainFrame] frameView] documentView] typingAttributes]]);
     69    EXPECT_FALSE([attributes isEqual:[(id)webView.get() typingAttributes]]);
    7070   
    7171    [webView.get() selectAll:nil];
Note: See TracChangeset for help on using the changeset viewer.