[WPE][GTK] window-object-cleared documentation should reference webkit_frame_get_js_c...
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Apr 2019 08:36:32 +0000 (08:36 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Apr 2019 08:36:32 +0000 (08:36 +0000)
https://bugs.webkit.org/show_bug.cgi?id=197357

Reviewed by Carlos Garcia Campos.

We should recommend using the non-deprecated replacement for
webkit_frame_get_javascript_context_for_script_world().

* WebProcess/InjectedBundle/API/glib/WebKitScriptWorld.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244729 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitScriptWorld.cpp

index 3433e25..d66faca 100644 (file)
@@ -1,3 +1,15 @@
+2019-04-29  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        [WPE][GTK] window-object-cleared documentation should reference webkit_frame_get_js_context_for_script_world()
+        https://bugs.webkit.org/show_bug.cgi?id=197357
+
+        Reviewed by Carlos Garcia Campos.
+
+        We should recommend using the non-deprecated replacement for
+        webkit_frame_get_javascript_context_for_script_world().
+
+        * WebProcess/InjectedBundle/API/glib/WebKitScriptWorld.cpp:
+
 2019-04-27  Chris Dumez  <cdumez@apple.com>
 
         Improve safety of MachMessage class
index 32e398f..85f3b2f 100644 (file)
@@ -69,7 +69,7 @@ static void webkit_script_world_class_init(WebKitScriptWorldClass* klass)
      * cleared. This is the preferred place to set custom properties on the window
      * object using the JavaScriptCore API. You can get the window object of @frame
      * from the JavaScript execution context of @world that is returned by
-     * webkit_frame_get_javascript_context_for_script_world().
+     * webkit_frame_get_js_context_for_script_world().
      *
      * Since: 2.2
      */