Remove stray logging from a newly added API test
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Nov 2017 00:55:08 +0000 (00:55 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Nov 2017 00:55:08 +0000 (00:55 +0000)
This was only for debugging purposes, and should have been removed before landing.

Rubber-stamped by Tim Horton.

* TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
(TestWebKitAPI::TEST):

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

Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm

index 31a1372..17c1663 100644 (file)
@@ -1,3 +1,14 @@
+2017-11-06  Wenson Hsieh  <wenson_hsieh@apple.com>
+
+        Remove stray logging from a newly added API test
+
+        This was only for debugging purposes, and should have been removed before landing.
+
+        Rubber-stamped by Tim Horton.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
+        (TestWebKitAPI::TEST):
+
 2017-11-06  Jonathan Bedard  <jbedard@apple.com>
 
         Only build ImageDiff for mac
index 0708137..f4bfe10 100644 (file)
@@ -265,7 +265,6 @@ TEST(WKAttachmentTests, AttachmentUpdatesWhenInsertingLists)
         ObserveAttachmentUpdatesForScope observer(webView.get());
         attachment = retainPtr([webView synchronouslyInsertAttachmentWithFilename:@"foo.txt" contentType:@"text/plain" data:testHTMLData() options:nil]);
         observer.expectAttachmentUpdates(@[ ], @[attachment.get()]);
-        NSLog(@"The markup is now %@", [webView stringByEvaluatingJavaScript:@"document.body.innerHTML"]);
     }
     [webView expectUpdatesAfterCommand:@"InsertOrderedList" withArgument:nil expectedRemovals:@[] expectedInsertions:@[]];
     // This edit command behaves more like a "toggle", and will actually break us out of the list we just inserted.