Unreviewed, fix typo in comment added in r243156.
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Mar 2019 16:17:21 +0000 (16:17 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Mar 2019 16:17:21 +0000 (16:17 +0000)
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::postMessageToInjectedBundle):

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

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/WebPageProxy.cpp

index 7e83fb5..bcbaa8b 100644 (file)
@@ -1,5 +1,12 @@
 2019-03-20  Chris Dumez  <cdumez@apple.com>
 
+        Unreviewed, fix typo in comment added in r243156.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::postMessageToInjectedBundle):
+
+2019-03-20  Chris Dumez  <cdumez@apple.com>
+
         Unreviewed, drop invalid assertions landed in r243163.
 
         Those assertions were causing some API tests to crash.
index 2caba97..3aecc04 100644 (file)
@@ -5796,7 +5796,7 @@ NativeWebMouseEvent* WebPageProxy::currentlyProcessedMouseDownEvent()
 
 void WebPageProxy::postMessageToInjectedBundle(const String& messageName, API::Object* messageBody)
 {
-    // For backward-compatibility, make sure we launch the initial process if the client asks to post a message to its injected bundle because doing a load.
+    // For backward-compatibility, make sure we launch the initial process if the client asks to post a message to its injected bundle before doing a load.
     launchInitialProcessIfNecessary();
 
     process().send(Messages::WebPage::PostInjectedBundleMessage(messageName, UserData(process().transformObjectsToHandles(messageBody).get())), m_pageID);