Changeset 206038 in webkit


Ignore:
Timestamp:
Sep 16, 2016 12:32:20 PM (8 years ago)
Author:
Wenson Hsieh
Message:

RequiresUserActionForPlayback TestWebKitAPI tests are broken after r206033.
https://bugs.webkit.org/show_bug.cgi?id=162080

Reviewed by Jer Noble.

I renamed "playingHandler" to the more generalized "testHandler", but did not realize that the
RequiresUserActionForPlayback tests also used "playingHandler". Renames the handler to account for this change.

  • TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:

(RequiresUserActionForPlaybackTest::SetUp):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r206036 r206038  
     12016-09-16  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        RequiresUserActionForPlayback TestWebKitAPI tests are broken after r206033.
     4        https://bugs.webkit.org/show_bug.cgi?id=162080
     5
     6        Reviewed by Jer Noble.
     7
     8        I renamed "playingHandler" to the more generalized "testHandler", but did not realize that the
     9        RequiresUserActionForPlayback tests also used "playingHandler". Renames the handler to account for this change.
     10
     11        * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
     12        (RequiresUserActionForPlaybackTest::SetUp):
     13
    1142016-09-16  Alex Christensen  <achristensen@webkit.org>
    215
  • trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm

    r205329 r206038  
    6262        handler = adoptNS([[RequiresUserActionForPlaybackMessageHandler alloc] init]);
    6363        configuration = adoptNS([[WKWebViewConfiguration alloc] init]);
    64         [[configuration userContentController] addScriptMessageHandler:handler.get() name:@"playingHandler"];
     64        [[configuration userContentController] addScriptMessageHandler:handler.get() name:@"testHandler"];
    6565        configuration.get()._mediaDataLoadsAutomatically = YES;
    6666#if TARGET_OS_IPHONE
Note: See TracChangeset for help on using the changeset viewer.