Add comment to explain workaround for presumed WebKit bug

Since the code was written before open sourcing TextMate, the explanation was only to be found in a private commit log.
This commit is contained in:
Allan Odgaard
2014-03-08 13:58:26 +07:00
parent 2b847730fd
commit 0cb5f297de

View File

@@ -63,6 +63,7 @@ extern NSString* const kCommandRunnerURLScheme; // from HTMLOutput.h
self.runningCommand = NO;
self.autoScrollHelper = nil;
// Sending goBack:/goForward: to a WebView does not call this WebFrameLoadDelegate method
if(frame == [sender mainFrame])
[self webView:sender didClearWindowObject:[frame windowObject] forFrame:frame];