Permalink
Browse files

Remove BrowserPage.shouldInterruptJavaScript

  • Loading branch information...
The-Compiler committed Sep 7, 2016
1 parent fca37ab commit 8c3906b784df09257a0e87fa1470b9cc8e796561
Showing with 0 additions and 8 deletions.
  1. +0 −8 qutebrowser/browser/webkit/webpage.py
@@ -506,14 +506,6 @@ def chooseFile(self, _frame, suggested_file):
filename, _ = QFileDialog.getOpenFileName(None, None, suggested_file)
return filename
- def shouldInterruptJavaScript(self):
- """Override shouldInterruptJavaScript to use the statusbar."""
- answer = self._ask("Interrupt long-running javascript?",
- usertypes.PromptMode.yesno)
- if answer is None:
- answer = True
- return answer
-
def acceptNavigationRequest(self,
_frame: QWebFrame,
request: QNetworkRequest,

0 comments on commit 8c3906b

Please sign in to comment.