Changeset 203975 in webkit


Ignore:
Timestamp:
Aug 1, 2016 10:49:57 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Function Call on NULL Object
https://bugs.webkit.org/show_bug.cgi?id=160325

Patch by Jonathan Bedard <Jonathan Bedard> on 2016-08-01
Reviewed by Darin Adler.

  • WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:

(WTR::InjectedBundle::didReceiveMessageToPage): Changed removeAllWebNotificationPermissions() call to static function call.

  • WebKitTestRunner/InjectedBundle/TestRunner.h: Made all web-notification functions static.
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r203972 r203975  
     12016-08-01  Jonathan Bedard  <jbedard@apple.com>
     2
     3        Function Call on NULL Object
     4        https://bugs.webkit.org/show_bug.cgi?id=160325
     5
     6        Reviewed by Darin Adler.
     7
     8        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
     9        (WTR::InjectedBundle::didReceiveMessageToPage): Changed removeAllWebNotificationPermissions() call to static function call.
     10        * WebKitTestRunner/InjectedBundle/TestRunner.h: Made all web-notification functions static.
     11
    1122016-08-01  Keith Miller  <keith_miller@apple.com>
    213
  • trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp

    r202728 r203975  
    191191
    192192        resetLocalSettings();
    193         m_testRunner->removeAllWebNotificationPermissions();
     193        TestRunner::removeAllWebNotificationPermissions();
    194194
    195195        InjectedBundle::page()->resetAfterTest();
  • trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.h

    r203743 r203975  
    270270
    271271    // Web notifications.
    272     void grantWebNotificationPermission(JSStringRef origin);
    273     void denyWebNotificationPermission(JSStringRef origin);
    274     void removeAllWebNotificationPermissions();
    275     void simulateWebNotificationClick(JSValueRef notification);
     272    static void grantWebNotificationPermission(JSStringRef origin);
     273    static void denyWebNotificationPermission(JSStringRef origin);
     274    static void removeAllWebNotificationPermissions();
     275    static void simulateWebNotificationClick(JSValueRef notification);
    276276
    277277    // Geolocation.
Note: See TracChangeset for help on using the changeset viewer.