From pylbrecht, 1 Month ago, written in Plain Text.
This paste will give up the ghost in 1 Second.
Embed
  1. py38-pyqt installed: adblock==0.5.0,attrs==21.2.0,beautifulsoup4==4.10.0,certifi==2021.10.8,charset-normalizer==2.0.7,cheroot==8.5.2,click==8.0.3,colorama==0.4.4,coverage==6.1.1,EasyProcess==0.3,execnet==1.9.0,filelock==3.3.2,Flask==2.0.2,glob2==0.7,hunter==3.3.8,hypothesis==6.24.1,icdiff==2.0.4,idna==3.3,importlib-resources==5.4.0,iniconfig==1.1.1,itsdangerous==2.0.1,jaraco.functools==3.4.0,Jinja2==3.0.2,Mako==1.1.5,manhole==1.8.0,MarkupSafe==2.0.1,more-itertools==8.10.0,packaging==21.2,parse==1.19.0,parse-type==0.5.2,pluggy==1.0.0,pprintpp==0.4.0,py==1.10.0,py-cpuinfo==8.0.0,Pygments==2.10.0,pyparsing==2.4.7,PyQt5==5.15.6,PyQt5-Qt5==5.15.2,PyQt5-sip==12.9.0,PyQtWebEngine==5.15.5,PyQtWebEngine-Qt5==5.15.2,pytest==6.2.5,pytest-bdd==4.1.0,pytest-benchmark==3.4.1,pytest-cov==3.0.0,pytest-forked==1.3.0,pytest-icdiff==0.5,pytest-instafail==0.4.2,pytest-mock==3.6.1,pytest-qt==4.0.2,pytest-repeat==0.9.1,pytest-rerunfailures==10.2,pytest-xdist==2.4.0,pytest-xvfb==2.0.0,PyVirtualDisplay==2.2,PyYAML==6.0,requests==2.26.0,requests-file==1.5.1,six==1.16.0,sortedcontainers==2.4.0,soupsieve==2.2.1,tldextract==3.1.2,toml==0.10.2,tomli==1.2.2,typing-extensions==3.10.0.2,urllib3==1.26.7,vulture==2.3,Werkzeug==2.0.2,zipp==3.6.0
  2. py38-pyqt run-test-pre: PYTHONHASHSEED='4191407967'
  3. py38-pyqt run-test: commands[0] | /home/palbrecht/dev/qutebrowser/.tox/py38-pyqt/bin/python scripts/link_pyqt.py --tox /home/palbrecht/dev/qutebrowser/.tox/py38-pyqt
  4. LINK_PYQT_SKIP set, exiting...
  5. py38-pyqt run-test: commands[1] | /home/palbrecht/dev/qutebrowser/.tox/py38-pyqt/bin/python -bb -m pytest --lf
  6. ============================= test session starts ==============================
  7. platform linux -- Python 3.8.0, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
  8. cachedir: .tox/py38-pyqt/.pytest_cache
  9. benchmark: 3.4.1 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
  10. PyQt5 5.15.6 -- Qt runtime 5.15.2 -- Qt compiled 5.15.2
  11. rootdir: /home/palbrecht/dev/qutebrowser, configfile: pytest.ini, testpaths: tests
  12. plugins: xvfb-2.0.0, xdist-2.4.0, instafail-0.4.2, icdiff-0.5, cov-3.0.0, repeat-0.9.1, bdd-4.1.0, benchmark-3.4.1, hypothesis-6.24.1, rerunfailures-10.2, mock-3.6.1, forked-1.3.0, qt-4.0.2
  13. collected 9 items / 4 deselected / 5 selected
  14. run-last-failure: rerun previous 5 failures (skipped 166 files)
  15.  
  16. tests/end2end/features/test_downloads_bdd.py F
  17.  
  18. __________________________ test_downloading_via_pdfjs __________________________
  19.  
  20. request = <FixtureRequest for <Function test_downloading_via_pdfjs>>
  21.  
  22.     @pytest.mark.usefixtures(*function_args)
  23.     def scenario_wrapper(request):
  24. >       _execute_scenario(feature, scenario, request)
  25.  
  26. .tox/py38-pyqt/lib/python3.8/site-packages/pytest_bdd/scenario.py:165:
  27. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  28. .tox/py38-pyqt/lib/python3.8/site-packages/pytest_bdd/scenario.py:136: in _execute_scenario
  29.     _execute_step_function(request, scenario, step, step_func)
  30. .tox/py38-pyqt/lib/python3.8/site-packages/pytest_bdd/scenario.py:106: in _execute_step_function
  31.     return_value = step_func(**kwargs)
  32. tests/end2end/features/conftest.py:401: in javascript_message_when
  33.     quteproc.wait_for_js(message)
  34. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  35.  
  36. self = <end2end.fixtures.quteprocess.QuteProc object at 0x7f5f75144310>
  37. message = 'PDF * [*] (PDF.js: *)'
  38.  
  39.     def wait_for_js(self, message):
  40.         """Wait for the given javascript console message.
  41.    
  42.         Return:
  43.             The LogLine.
  44.         """
  45. >       line = self.wait_for(category='js',
  46.                              message='[*] {}'.format(message))
  47. E       end2end.fixtures.testprocess.WaitForTimeout: Timed out after 5000ms waiting for {'category': 'js', 'message': '[*] PDF * [*] (PDF.js: *)'}.
  48.  
  49. tests/end2end/fixtures/quteprocess.py:587: WaitForTimeout
  50. ------------------------------ qutebrowser output ------------------------------
  51. [450 lines suppressed, use -v to show]
  52. [32m14:57:09.152[0m [37mDEBUG   [0m [36mdownloads  downloads:_after_create_parent_question:754[0m [37mSetting filename to /tmp/qutebrowser-downloads-rd6mxm54/tmpu37qpj47_test.pdf[0m
  53. [32m14:57:09.153[0m [37mDEBUG   [0m [36mdownloads  webenginedownloads:_on_state_changed:64[0m [37mState for <qutebrowser.browser.webengine.webenginedownloads.DownloadItem basename='tmpu37qpj47_test.pdf'> changed to DownloadInProgress[0m
  54. [32m14:57:09.167[0m [37mDEBUG   [0m [36mdownloads  webenginedownloads:_on_state_changed:64[0m [37mState for <qutebrowser.browser.webengine.webenginedownloads.DownloadItem basename='tmpu37qpj47_test.pdf'> changed to DownloadCompleted[0m
  55. [32m14:57:09.168[0m [37mDEBUG   [0m [36mdownloads  webenginedownloads:_on_state_changed:72[0m [37mDownload tmpu37qpj47_test.pdf finished[0m
  56. [32m14:57:09.168[0m [37mDEBUG   [0m [36mdownloads  downloads:_on_begin_remove_row:1078[0m [37m_on_begin_remove_row with idx 0, webengine True[0m
  57. [32m14:57:09.168[0m [37mDEBUG   [0m [36mdownloads  downloads:_remove_item:997[0m [37mRemoved download 1: tmpu37qpj47_test.pdf [100%|16.28kB][0m
  58. [32m14:57:09.168[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:tabopen:593[0m [37mCreating new tab with URL PyQt5.QtCore.QUrl('qute://pdfjs/web/viewer.html?filename=tmpu37qpj47_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf'), background False, related True, idx None[0m
  59. [32m14:57:09.172[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_get_new_tab_idx:680[0m [37mtabs.new_position next -> opening new tab at 1, next left: 0 / right: 2[0m
  60. [32m14:57:09.173[0m [37mDEBUG   [0m [36mwebview    browsertab:_on_before_load_started:1041[0m [37mGoing to start loading: qute://pdfjs/web/viewer.html?filename=tmpu37qpj47_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf[0m
  61. [32m14:57:09.173[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_on_title_changed:757[0m [37mChanging title for idx 1 to 'qute://pdfjs/web/viewer.html?filename=tmpu37qpj47_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf'[0m
  62. [32m14:57:09.174[0m [37mDEBUG   [0m [36mmisc       eventfilter:eventFilter:53[0m [37m<qutebrowser.browser.webengine.webview.WebEngineView object at 0x7fb7340741f0> got new child <PyQt5.QtWidgets.QWidget object at 0x7fb734074940>, installing filter[0m
  63. [32m14:57:09.176[0m [37mDEBUG   [0m [36mmisc       app:on_focus_object_changed:581[0m [37mFocus object changed: <PyQt5.QtWidgets.QWidget object at 0x7fb734416ee0>[0m
  64. [32m14:57:09.185[0m [37mDEBUG   [0m [36mmisc       app:on_focus_object_changed:581[0m [37mFocus object changed: <PyQt5.QtWidgets.QWidget object at 0x7fb7340748b0>[0m
  65. [32m14:57:09.185[0m [37mDEBUG   [0m [36mmisc       app:on_focus_object_changed:581[0m [37mFocus object changed: <PyQt5.QtCore.QObject object at 0x7fb7340748b0>[0m
  66. [32m14:57:09.186[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_on_current_changed:832[0m [37mCurrent tab changed, focusing <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=1 url=''>[0m
  67. [32m14:57:09.186[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_on_current_changed:839[0m [37mMode before tab change: normal (mode_on_change = normal)[0m
  68. [32m14:57:09.186[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.hint (reason tab changed) as we're in mode KeyMode.normal[0m
  69. [32m14:57:09.186[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.caret (reason tab changed) as we're in mode KeyMode.normal[0m
  70. [32m14:57:09.186[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.insert (reason tab changed) as we're in mode KeyMode.normal[0m
  71. [32m14:57:09.186[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.passthrough (reason tab changed) as we're in mode KeyMode.normal[0m
  72. [32m14:57:09.186[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_on_current_changed:850[0m [37mMode after tab change: normal (mode_on_change = normal)[0m
  73. [32m14:57:09.207[0m [37mDEBUG   [0m [36mwebview    browsertab:_on_navigation_request:1065[0m [37mnavigation request: url qute://pdfjs/web/viewer.html?filename=tmpu37qpj47_test.pdf&file=&source=http://localhost:36281/data…, type Type.typed, is_main_frame True[0m
  74. [32m14:57:09.209[0m [37mDEBUG   [0m [36mwebview    webenginetab:_store_match_data:151[0m [37mActive search match: 0/0[0m
  75. [32m14:57:09.209[0m [37mDEBUG   [0m [36mwebview    browsertab:_set_load_status:1007[0m [37mload status for <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=1 url=''>: LoadStatus.loading[0m
  76. [32m14:57:09.209[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_status_changed(<LoadStatus.loading: 6>) (tab 1)[0m
  77. [32m14:57:09.210[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_started() (tab 1)[0m
  78. [32m14:57:09.223[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/viewer.html?filename=tmpu37qpj47_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf[0m
  79. [32m14:57:09.223[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/viewer.html?filename=tmpu37qpj47_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf, path: /web/viewer.html, host pdfjs[0m
  80. [32m14:57:09.226[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning text/html data[0m
  81. [32m14:57:09.232[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_url_changed(PyQt5.QtCore.QUrl('qute://pdfjs/web/viewer.html?filename=tmpu37qpj47_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf')) (tab 1)[0m
  82. [32m14:57:09.232[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_on_title_changed:757[0m [37mChanging title for idx 1 to 'qute://pdfjs/web/viewer.html?filename=tmpu37qpj47_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf'[0m
  83. [32m14:57:09.248[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_on_title_changed:757[0m [37mChanging title for idx 1 to 'PDF.js viewer'[0m
  84. [32m14:57:09.257[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/viewer.css[0m
  85. [32m14:57:09.257[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/viewer.css, path: /web/viewer.css, host pdfjs[0m
  86. [32m14:57:09.262[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning text/css data[0m
  87. [32m14:57:09.263[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/build/pdf.js[0m
  88. [32m14:57:09.263[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/build/pdf.js, path: /build/pdf.js, host pdfjs[0m
  89. [32m14:57:09.263[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning application/javascript data[0m
  90. [32m14:57:09.263[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/viewer.js[0m
  91. [32m14:57:09.263[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/viewer.js, path: /web/viewer.js, host pdfjs[0m
  92. [32m14:57:09.264[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning application/javascript data[0m
  93. [32m14:57:09.282[0m [37mDEBUG   [0m [36mjs         shared:javascript_log_message:156[0m [37m[qute://pdfjs/build/pdf.js:2358] Uncaught SyntaxError: Unexpected token '='[0m
  94. [32m14:57:09.301[0m [37mDEBUG   [0m [36mjs         shared:javascript_log_message:156[0m [37m[qute://pdfjs/web/viewer.js:1561] Uncaught SyntaxError: Unexpected token '='[0m
  95. [32m14:57:09.311[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewThumbnail.svg[0m
  96. [32m14:57:09.312[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewThumbnail.svg, path: /web/images/toolbarButton-viewThumbnail.svg, host pdfjs[0m
  97. [32m14:57:09.312[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  98. [32m14:57:09.312[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewOutline.svg[0m
  99. [32m14:57:09.313[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewOutline.svg, path: /web/images/toolbarButton-viewOutline.svg, host pdfjs[0m
  100. [32m14:57:09.313[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  101. [32m14:57:09.314[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewAttachments.svg[0m
  102. [32m14:57:09.314[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewAttachments.svg, path: /web/images/toolbarButton-viewAttachments.svg, host pdfjs[0m
  103. [32m14:57:09.315[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  104. [32m14:57:09.316[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewLayers.svg[0m
  105. [32m14:57:09.316[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewLayers.svg, path: /web/images/toolbarButton-viewLayers.svg, host pdfjs[0m
  106. [32m14:57:09.316[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  107. [32m14:57:09.318[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-sidebarToggle.svg[0m
  108. [32m14:57:09.319[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-sidebarToggle.svg, path: /web/images/toolbarButton-sidebarToggle.svg, host pdfjs[0m
  109. [32m14:57:09.319[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  110. [32m14:57:09.321[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-search.svg[0m
  111. [32m14:57:09.321[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-search.svg, path: /web/images/toolbarButton-search.svg, host pdfjs[0m
  112. [32m14:57:09.322[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  113. [32m14:57:09.323[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-pageUp.svg[0m
  114. [32m14:57:09.324[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-pageUp.svg, path: /web/images/toolbarButton-pageUp.svg, host pdfjs[0m
  115. [32m14:57:09.324[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  116. [32m14:57:09.325[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-pageDown.svg[0m
  117. [32m14:57:09.326[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-pageDown.svg, path: /web/images/toolbarButton-pageDown.svg, host pdfjs[0m
  118. [32m14:57:09.326[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  119. [32m14:57:09.328[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-presentationMode.svg[0m
  120. [32m14:57:09.328[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-presentationMode.svg, path: /web/images/toolbarButton-presentationMode.svg, host pdfjs[0m
  121. [32m14:57:09.329[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  122. [32m14:57:09.334[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-openFile.svg[0m
  123. [32m14:57:09.334[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-openFile.svg, path: /web/images/toolbarButton-openFile.svg, host pdfjs[0m
  124. [32m14:57:09.335[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  125. [32m14:57:09.337[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-print.svg[0m
  126. [32m14:57:09.337[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-print.svg, path: /web/images/toolbarButton-print.svg, host pdfjs[0m
  127. [32m14:57:09.337[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  128. [32m14:57:09.344[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-download.svg[0m
  129. [32m14:57:09.344[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-download.svg, path: /web/images/toolbarButton-download.svg, host pdfjs[0m
  130. [32m14:57:09.359[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  131. [32m14:57:09.365[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-bookmark.svg[0m
  132. [32m14:57:09.365[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-bookmark.svg, path: /web/images/toolbarButton-bookmark.svg, host pdfjs[0m
  133. [32m14:57:09.366[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  134. [32m14:57:09.366[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-secondaryToolbarToggle.svg[0m
  135. [32m14:57:09.366[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-secondaryToolbarToggle.svg, path: /web/images/toolbarButton-secondaryToolbarToggle.svg, host pdfjs[0m
  136. [32m14:57:09.366[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  137. [32m14:57:09.367[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-zoomOut.svg[0m
  138. [32m14:57:09.367[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-zoomOut.svg, path: /web/images/toolbarButton-zoomOut.svg, host pdfjs[0m
  139. [32m14:57:09.368[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  140. [32m14:57:09.371[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-zoomIn.svg[0m
  141. [32m14:57:09.371[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-zoomIn.svg, path: /web/images/toolbarButton-zoomIn.svg, host pdfjs[0m
  142. [32m14:57:09.371[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  143. [32m14:57:09.373[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-menuArrow.svg[0m
  144. [32m14:57:09.374[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-menuArrow.svg, path: /web/images/toolbarButton-menuArrow.svg, host pdfjs[0m
  145. [32m14:57:09.374[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  146. [32m14:57:09.378[0m [37mDEBUG   [0m [36mjs         shared:javascript_log_message:156[0m [37m[qute://pdfjs/web/viewer.html?filename=tmpu37qpj47_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf:406] Uncaught TypeError: Cannot read property 'set' of undefined[0m
  147. [32m14:57:09.408[0m [37mDEBUG   [0m [36mwebview    browsertab:_set_load_status:1007[0m [37mload status for <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=1 url='qute://pdfjs/web/viewer.html?filename=tmpu37qpj47_test.pdf&file=&source=http://localhost:36281/data…'>: LoadStatus.success[0m
  148. [32m14:57:09.408[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_status_changed(<LoadStatus.success: 2>) (tab 1)[0m
  149. [32m14:57:09.410[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_finished(True) (tab 1)[0m
  150. [32m14:57:09.410[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.insert (reason load started) as we're in mode KeyMode.normal[0m
  151. [32m14:57:09.410[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_leave_modes_on_load:737[0m [37mIgnoring leave_on_load request due to setting.[0m
  152. -------------------------------- server output ---------------------------------
  153.  * Running on http://127.0.0.1:36281/ (Press CTRL+C to quit)
  154. {"verb": "GET", "path": "/data/misc/test.pdf", "status": 200}
  155. {"verb": "GET", "path": "/data/misc/test.pdf", "status": 200}
  156. --------------------------------- BDD scenario ---------------------------------
  157. Feature: Downloading things from a website.
  158.   Scenario: Downloading via pdfjs (features/downloads.feature:644)
  159.     Given I set up a temporary download dir (1.26s)
  160.     And I clean old downloads (0.01s)
  161.     And I set downloads.remove_finished to -1 (0.01s)
  162.     Given pdfjs is available (0.00s)
  163.     When I set downloads.location.prompt to false (0.01s)
  164.     And I set content.pdfjs to true (0.01s)
  165.     And I open data/misc/test.pdf without waiting (0.01s)
  166.     And I wait for the javascript message "PDF * [*] (PDF.js: *)" (5.15s)
  167.     And I run :click-element id download (0.00s)
  168.     And I wait until the download is finished (0.00s)
  169. ------------------------------ Captured log call -------------------------------
  170. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  171. INFO     ipc:ipc.py:481 Opening in existing instance
  172. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":config-clear"], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  173. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  174. INFO     ipc:ipc.py:481 Opening in existing instance
  175. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"messages.timeout\\" \\"0\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  176. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  177. INFO     ipc:ipc.py:481 Opening in existing instance
  178. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"auto_save.interval\\" \\"0\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  179. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  180. INFO     ipc:ipc.py:481 Opening in existing instance
  181. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"new_instance_open_target_window\\" \\"last-opened\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  182. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  183. INFO     ipc:ipc.py:481 Opening in existing instance
  184. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"downloads.location.prompt\\" \\"false\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  185. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  186. INFO     ipc:ipc.py:481 Opening in existing instance
  187. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"downloads.location.remember\\" \\"false\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  188. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  189. INFO     ipc:ipc.py:481 Opening in existing instance
  190. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"downloads.location.directory\\" \\"/tmp/pytest-of-palbrecht/pytest-6/test_downloading_via_pdfjs0/downloads\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  191. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  192. INFO     ipc:ipc.py:481 Opening in existing instance
  193. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":download-cancel --all"], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  194. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  195. INFO     ipc:ipc.py:481 Opening in existing instance
  196. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":download-clear"], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  197. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  198. INFO     ipc:ipc.py:481 Opening in existing instance
  199. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"downloads.remove_finished\\" \\"-1\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  200. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  201. INFO     ipc:ipc.py:481 Opening in existing instance
  202. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"downloads.location.prompt\\" \\"false\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  203. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  204. INFO     ipc:ipc.py:481 Opening in existing instance
  205. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"content.pdfjs\\" \\"true\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  206. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-ozm9zw32/runtime/ipc-4e0422661884e0328df1f1234541e83b
  207. INFO     ipc:ipc.py:481 Opening in existing instance
  208. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":open http://localhost:36281/data/misc/test.pdf"], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  209.  
  210. tests/end2end/features/test_qutescheme_bdd.py F
  211.  
  212. _______________________ test_pdfjs_is_used_for_pdf_files _______________________
  213.  
  214. request = <FixtureRequest for <Function test_pdfjs_is_used_for_pdf_files>>
  215.  
  216.     @pytest.mark.usefixtures(*function_args)
  217.     def scenario_wrapper(request):
  218. >       _execute_scenario(feature, scenario, request)
  219.  
  220. .tox/py38-pyqt/lib/python3.8/site-packages/pytest_bdd/scenario.py:165:
  221. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  222. .tox/py38-pyqt/lib/python3.8/site-packages/pytest_bdd/scenario.py:136: in _execute_scenario
  223.     _execute_step_function(request, scenario, step, step_func)
  224. .tox/py38-pyqt/lib/python3.8/site-packages/pytest_bdd/scenario.py:106: in _execute_step_function
  225.     return_value = step_func(**kwargs)
  226. tests/end2end/features/conftest.py:524: in javascript_message_logged
  227.     quteproc.wait_for_js(message)
  228. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  229.  
  230. self = <end2end.fixtures.quteprocess.QuteProc object at 0x7f5f6c2979d0>
  231. message = 'PDF * [*] (PDF.js: *)'
  232.  
  233.     def wait_for_js(self, message):
  234.         """Wait for the given javascript console message.
  235.    
  236.         Return:
  237.             The LogLine.
  238.         """
  239. >       line = self.wait_for(category='js',
  240.                              message='[*] {}'.format(message))
  241. E       end2end.fixtures.testprocess.WaitForTimeout: Timed out after 5000ms waiting for {'category': 'js', 'message': '[*] PDF * [*] (PDF.js: *)'}.
  242.  
  243. tests/end2end/fixtures/quteprocess.py:587: WaitForTimeout
  244. ------------------------------ qutebrowser output ------------------------------
  245. [346 lines suppressed, use -v to show]
  246. [32m14:57:16.935[0m [37mDEBUG   [0m [36mdownloads  webenginedownloads:_on_state_changed:64[0m [37mState for <qutebrowser.browser.webengine.webenginedownloads.DownloadItem basename='tmpif8_2gjz_test.pdf'> changed to DownloadInProgress[0m
  247. [32m14:57:16.960[0m [37mDEBUG   [0m [36mdownloads  webenginedownloads:_on_state_changed:64[0m [37mState for <qutebrowser.browser.webengine.webenginedownloads.DownloadItem basename='tmpif8_2gjz_test.pdf'> changed to DownloadCompleted[0m
  248. [32m14:57:16.960[0m [37mDEBUG   [0m [36mdownloads  webenginedownloads:_on_state_changed:72[0m [37mDownload tmpif8_2gjz_test.pdf finished[0m
  249. [32m14:57:16.960[0m [37mDEBUG   [0m [36mdownloads  downloads:_on_begin_remove_row:1078[0m [37m_on_begin_remove_row with idx 0, webengine True[0m
  250. [32m14:57:16.961[0m [37mDEBUG   [0m [36mdownloads  downloads:_remove_item:997[0m [37mRemoved download 1: tmpif8_2gjz_test.pdf [100%|16.28kB][0m
  251. [32m14:57:16.961[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:tabopen:593[0m [37mCreating new tab with URL PyQt5.QtCore.QUrl('qute://pdfjs/web/viewer.html?filename=tmpif8_2gjz_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf'), background False, related True, idx None[0m
  252. [32m14:57:16.967[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_get_new_tab_idx:680[0m [37mtabs.new_position next -> opening new tab at 2, next left: 1 / right: 3[0m
  253. [32m14:57:16.970[0m [37mDEBUG   [0m [36mwebview    browsertab:_on_before_load_started:1041[0m [37mGoing to start loading: qute://pdfjs/web/viewer.html?filename=tmpif8_2gjz_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf[0m
  254. [32m14:57:16.970[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_on_title_changed:757[0m [37mChanging title for idx 2 to 'qute://pdfjs/web/viewer.html?filename=tmpif8_2gjz_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf'[0m
  255. [32m14:57:16.972[0m [37mDEBUG   [0m [36mmisc       eventfilter:eventFilter:53[0m [37m<qutebrowser.browser.webengine.webview.WebEngineView object at 0x7fa23c040ca0> got new child <PyQt5.QtWidgets.QWidget object at 0x7fa23c05b430>, installing filter[0m
  256. [32m14:57:16.975[0m [37mDEBUG   [0m [36mmisc       app:on_focus_object_changed:581[0m [37mFocus object changed: <PyQt5.QtWidgets.QWidget object at 0x7fa23c040940>[0m
  257. [32m14:57:16.976[0m [37mDEBUG   [0m [36mmisc       app:on_focus_object_changed:581[0m [37mFocus object changed: None[0m
  258. [32m14:57:16.988[0m [37mDEBUG   [0m [36mmisc       app:on_focus_object_changed:581[0m [37mFocus object changed: <PyQt5.QtWidgets.QWidget object at 0x7fa23c05b3a0>[0m
  259. [32m14:57:16.988[0m [37mDEBUG   [0m [36mmisc       app:on_focus_object_changed:581[0m [37mFocus object changed: <PyQt5.QtCore.QObject object at 0x7fa23c05b3a0>[0m
  260. [32m14:57:16.989[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_on_current_changed:832[0m [37mCurrent tab changed, focusing <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=2 url=''>[0m
  261. [32m14:57:16.989[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_on_current_changed:839[0m [37mMode before tab change: normal (mode_on_change = normal)[0m
  262. [32m14:57:16.989[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.hint (reason tab changed) as we're in mode KeyMode.normal[0m
  263. [32m14:57:16.989[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.caret (reason tab changed) as we're in mode KeyMode.normal[0m
  264. [32m14:57:16.989[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.insert (reason tab changed) as we're in mode KeyMode.normal[0m
  265. [32m14:57:16.990[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.passthrough (reason tab changed) as we're in mode KeyMode.normal[0m
  266. [32m14:57:16.990[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_on_current_changed:850[0m [37mMode after tab change: normal (mode_on_change = normal)[0m
  267. [32m14:57:17.022[0m [37mDEBUG   [0m [36mwebview    browsertab:_on_navigation_request:1065[0m [37mnavigation request: url qute://pdfjs/web/viewer.html?filename=tmpif8_2gjz_test.pdf&file=&source=http://localhost:36281/data…, type Type.typed, is_main_frame True[0m
  268. [32m14:57:17.024[0m [37mDEBUG   [0m [36mwebview    webenginetab:_store_match_data:151[0m [37mActive search match: 0/0[0m
  269. [32m14:57:17.024[0m [37mDEBUG   [0m [36mwebview    browsertab:_set_load_status:1007[0m [37mload status for <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=2 url=''>: LoadStatus.loading[0m
  270. [32m14:57:17.025[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_status_changed(<LoadStatus.loading: 6>) (tab 2)[0m
  271. [32m14:57:17.025[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_started() (tab 2)[0m
  272. [32m14:57:17.042[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/viewer.html?filename=tmpif8_2gjz_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf[0m
  273. [32m14:57:17.043[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/viewer.html?filename=tmpif8_2gjz_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf, path: /web/viewer.html, host pdfjs[0m
  274. [32m14:57:17.046[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning text/html data[0m
  275. [32m14:57:17.053[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_url_changed(PyQt5.QtCore.QUrl('qute://pdfjs/web/viewer.html?filename=tmpif8_2gjz_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf')) (tab 2)[0m
  276. [32m14:57:17.054[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_on_title_changed:757[0m [37mChanging title for idx 2 to 'qute://pdfjs/web/viewer.html?filename=tmpif8_2gjz_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf'[0m
  277. [32m14:57:17.076[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_on_title_changed:757[0m [37mChanging title for idx 2 to 'PDF.js viewer'[0m
  278. [32m14:57:17.086[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/viewer.css[0m
  279. [32m14:57:17.086[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/viewer.css, path: /web/viewer.css, host pdfjs[0m
  280. [32m14:57:17.095[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning text/css data[0m
  281. [32m14:57:17.097[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/build/pdf.js[0m
  282. [32m14:57:17.097[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/build/pdf.js, path: /build/pdf.js, host pdfjs[0m
  283. [32m14:57:17.097[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning application/javascript data[0m
  284. [32m14:57:17.100[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/viewer.js[0m
  285. [32m14:57:17.101[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/viewer.js, path: /web/viewer.js, host pdfjs[0m
  286. [32m14:57:17.102[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning application/javascript data[0m
  287. [32m14:57:17.125[0m [37mDEBUG   [0m [36mjs         shared:javascript_log_message:156[0m [37m[qute://pdfjs/build/pdf.js:2358] Uncaught SyntaxError: Unexpected token '='[0m
  288. [32m14:57:17.135[0m [37mDEBUG   [0m [36mjs         shared:javascript_log_message:156[0m [37m[qute://pdfjs/web/viewer.js:1561] Uncaught SyntaxError: Unexpected token '='[0m
  289. [32m14:57:17.150[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewThumbnail.svg[0m
  290. [32m14:57:17.151[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewThumbnail.svg, path: /web/images/toolbarButton-viewThumbnail.svg, host pdfjs[0m
  291. [32m14:57:17.151[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  292. [32m14:57:17.156[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewOutline.svg[0m
  293. [32m14:57:17.157[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewOutline.svg, path: /web/images/toolbarButton-viewOutline.svg, host pdfjs[0m
  294. [32m14:57:17.157[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  295. [32m14:57:17.160[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewAttachments.svg[0m
  296. [32m14:57:17.160[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewAttachments.svg, path: /web/images/toolbarButton-viewAttachments.svg, host pdfjs[0m
  297. [32m14:57:17.161[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  298. [32m14:57:17.163[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewLayers.svg[0m
  299. [32m14:57:17.163[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewLayers.svg, path: /web/images/toolbarButton-viewLayers.svg, host pdfjs[0m
  300. [32m14:57:17.163[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  301. [32m14:57:17.171[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-sidebarToggle.svg[0m
  302. [32m14:57:17.171[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-sidebarToggle.svg, path: /web/images/toolbarButton-sidebarToggle.svg, host pdfjs[0m
  303. [32m14:57:17.171[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  304. [32m14:57:17.181[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-search.svg[0m
  305. [32m14:57:17.181[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-search.svg, path: /web/images/toolbarButton-search.svg, host pdfjs[0m
  306. [32m14:57:17.181[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  307. [32m14:57:17.182[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-pageUp.svg[0m
  308. [32m14:57:17.182[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-pageUp.svg, path: /web/images/toolbarButton-pageUp.svg, host pdfjs[0m
  309. [32m14:57:17.182[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  310. [32m14:57:17.184[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-pageDown.svg[0m
  311. [32m14:57:17.185[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-pageDown.svg, path: /web/images/toolbarButton-pageDown.svg, host pdfjs[0m
  312. [32m14:57:17.185[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  313. [32m14:57:17.193[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-presentationMode.svg[0m
  314. [32m14:57:17.193[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-presentationMode.svg, path: /web/images/toolbarButton-presentationMode.svg, host pdfjs[0m
  315. [32m14:57:17.194[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  316. [32m14:57:17.198[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-openFile.svg[0m
  317. [32m14:57:17.198[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-openFile.svg, path: /web/images/toolbarButton-openFile.svg, host pdfjs[0m
  318. [32m14:57:17.199[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  319. [32m14:57:17.202[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-print.svg[0m
  320. [32m14:57:17.202[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-print.svg, path: /web/images/toolbarButton-print.svg, host pdfjs[0m
  321. [32m14:57:17.224[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  322. [32m14:57:17.225[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-download.svg[0m
  323. [32m14:57:17.226[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-download.svg, path: /web/images/toolbarButton-download.svg, host pdfjs[0m
  324. [32m14:57:17.226[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  325. [32m14:57:17.229[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-bookmark.svg[0m
  326. [32m14:57:17.229[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-bookmark.svg, path: /web/images/toolbarButton-bookmark.svg, host pdfjs[0m
  327. [32m14:57:17.230[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  328. [32m14:57:17.232[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-secondaryToolbarToggle.svg[0m
  329. [32m14:57:17.232[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-secondaryToolbarToggle.svg, path: /web/images/toolbarButton-secondaryToolbarToggle.svg, host pdfjs[0m
  330. [32m14:57:17.232[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  331. [32m14:57:17.235[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-zoomOut.svg[0m
  332. [32m14:57:17.235[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-zoomOut.svg, path: /web/images/toolbarButton-zoomOut.svg, host pdfjs[0m
  333. [32m14:57:17.235[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  334. [32m14:57:17.239[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-zoomIn.svg[0m
  335. [32m14:57:17.239[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-zoomIn.svg, path: /web/images/toolbarButton-zoomIn.svg, host pdfjs[0m
  336. [32m14:57:17.239[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  337. [32m14:57:17.243[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-menuArrow.svg[0m
  338. [32m14:57:17.243[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-menuArrow.svg, path: /web/images/toolbarButton-menuArrow.svg, host pdfjs[0m
  339. [32m14:57:17.244[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  340. [32m14:57:17.245[0m [37mDEBUG   [0m [36mjs         shared:javascript_log_message:156[0m [37m[qute://pdfjs/web/viewer.html?filename=tmpif8_2gjz_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf:406] Uncaught TypeError: Cannot read property 'set' of undefined[0m
  341. [32m14:57:17.286[0m [37mDEBUG   [0m [36mwebview    browsertab:_set_load_status:1007[0m [37mload status for <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=2 url='qute://pdfjs/web/viewer.html?filename=tmpif8_2gjz_test.pdf&file=&source=http://localhost:36281/data…'>: LoadStatus.success[0m
  342. [32m14:57:17.286[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_status_changed(<LoadStatus.success: 2>) (tab 2)[0m
  343. [32m14:57:17.288[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_finished(True) (tab 2)[0m
  344. [32m14:57:17.288[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.insert (reason load started) as we're in mode KeyMode.normal[0m
  345. [32m14:57:17.288[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_leave_modes_on_load:737[0m [37mIgnoring leave_on_load request due to setting.[0m
  346. -------------------------------- server output ---------------------------------
  347. {"verb": "GET", "path": "/data/misc/test.pdf", "status": 200}
  348. {"verb": "GET", "path": "/data/misc/test.pdf", "status": 200}
  349. --------------------------------- BDD scenario ---------------------------------
  350. Feature: Special qute:// pages
  351.   Scenario: pdfjs is used for pdf files (features/qutescheme.feature:175)
  352.     Given I open about:blank (2.18s)
  353.     Given pdfjs is available (0.00s)
  354.     When I set content.pdfjs to true (0.02s)
  355.     And I open data/misc/test.pdf without waiting (0.01s)
  356.     Then the javascript message "PDF * [*] (PDF.js: *)" should be logged (5.40s)
  357. ------------------------------ Captured log call -------------------------------
  358. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  359. INFO     ipc:ipc.py:481 Opening in existing instance
  360. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":config-clear"], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  361. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  362. INFO     ipc:ipc.py:481 Opening in existing instance
  363. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"messages.timeout\\" \\"0\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  364. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  365. INFO     ipc:ipc.py:481 Opening in existing instance
  366. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"auto_save.interval\\" \\"0\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  367. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  368. INFO     ipc:ipc.py:481 Opening in existing instance
  369. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"new_instance_open_target_window\\" \\"last-opened\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  370. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  371. INFO     ipc:ipc.py:481 Opening in existing instance
  372. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":open -t about:blank"], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  373. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  374. INFO     ipc:ipc.py:481 Opening in existing instance
  375. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"content.pdfjs\\" \\"true\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  376. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  377. INFO     ipc:ipc.py:481 Opening in existing instance
  378. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":open http://localhost:36281/data/misc/test.pdf"], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  379.  
  380. tests/end2end/features/test_qutescheme_bdd.py F
  381.  
  382. ______________ test_downloading_a_pdf_via_pdfjs_button_issue_1214 ______________
  383.  
  384. request = <FixtureRequest for <Function test_downloading_a_pdf_via_pdfjs_button_issue_1214>>
  385.  
  386.     @pytest.mark.usefixtures(*function_args)
  387.     def scenario_wrapper(request):
  388. >       _execute_scenario(feature, scenario, request)
  389.  
  390. .tox/py38-pyqt/lib/python3.8/site-packages/pytest_bdd/scenario.py:165:
  391. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  392. .tox/py38-pyqt/lib/python3.8/site-packages/pytest_bdd/scenario.py:136: in _execute_scenario
  393.     _execute_step_function(request, scenario, step, step_func)
  394. .tox/py38-pyqt/lib/python3.8/site-packages/pytest_bdd/scenario.py:106: in _execute_step_function
  395.     return_value = step_func(**kwargs)
  396. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  397.  
  398. quteproc = <end2end.fixtures.quteprocess.QuteProc object at 0x7f5f6c2979d0>
  399. is_regex = None, pattern = '[qute://pdfjs/*] PDF * (PDF.js: *)', do_skip = None
  400.  
  401.     @bdd.when(bdd.parsers.re(r'I wait for (?P<is_regex>regex )?"'
  402.                              r'(?P<pattern>[^"]+)" in the log(?P<do_skip> or skip '
  403.                              r'the test)?'))
  404.     def wait_in_log(quteproc, is_regex, pattern, do_skip):
  405.         """Wait for a given pattern in the qutebrowser log.
  406.    
  407.         If used like "When I wait for regex ... in the log" the argument is treated
  408.         as regex. Otherwise, it's treated as a pattern (* can be used as wildcard).
  409.         """
  410.         if is_regex:
  411.             pattern = re.compile(pattern)
  412.    
  413. >       line = quteproc.wait_for(message=pattern, do_skip=bool(do_skip))
  414. E       end2end.fixtures.testprocess.WaitForTimeout: Timed out after 5000ms waiting for {'message': '[qute://pdfjs/*] PDF * (PDF.js: *)'}.
  415.  
  416. tests/end2end/features/conftest.py:319: WaitForTimeout
  417. ------------------------------ qutebrowser output ------------------------------
  418. [223 lines suppressed, use -v to show]
  419. [32m14:57:22.492[0m [37mDEBUG   [0m [36mdownloads  webenginedownloads:_on_state_changed:64[0m [37mState for <qutebrowser.browser.webengine.webenginedownloads.DownloadItem basename='tmp4eqv5g8s_test.pdf'> changed to DownloadInProgress[0m
  420. [32m14:57:22.507[0m [37mDEBUG   [0m [36mdownloads  webenginedownloads:_on_state_changed:64[0m [37mState for <qutebrowser.browser.webengine.webenginedownloads.DownloadItem basename='tmp4eqv5g8s_test.pdf'> changed to DownloadCompleted[0m
  421. [32m14:57:22.507[0m [37mDEBUG   [0m [36mdownloads  webenginedownloads:_on_state_changed:72[0m [37mDownload tmp4eqv5g8s_test.pdf finished[0m
  422. [32m14:57:22.507[0m [37mDEBUG   [0m [36mdownloads  downloads:_on_begin_remove_row:1078[0m [37m_on_begin_remove_row with idx 0, webengine True[0m
  423. [32m14:57:22.508[0m [37mDEBUG   [0m [36mdownloads  downloads:_remove_item:997[0m [37mRemoved download 1: tmp4eqv5g8s_test.pdf [100%|16.28kB][0m
  424. [32m14:57:22.508[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:tabopen:593[0m [37mCreating new tab with URL PyQt5.QtCore.QUrl('qute://pdfjs/web/viewer.html?filename=tmp4eqv5g8s_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf'), background False, related True, idx None[0m
  425. [32m14:57:22.516[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_get_new_tab_idx:680[0m [37mtabs.new_position next -> opening new tab at 4, next left: 3 / right: 5[0m
  426. [32m14:57:22.517[0m [37mDEBUG   [0m [36mwebview    browsertab:_on_before_load_started:1041[0m [37mGoing to start loading: qute://pdfjs/web/viewer.html?filename=tmp4eqv5g8s_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf[0m
  427. [32m14:57:22.517[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_on_title_changed:757[0m [37mChanging title for idx 4 to 'qute://pdfjs/web/viewer.html?filename=tmp4eqv5g8s_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf'[0m
  428. [32m14:57:22.519[0m [37mDEBUG   [0m [36mmisc       eventfilter:eventFilter:53[0m [37m<qutebrowser.browser.webengine.webview.WebEngineView object at 0x7fa23421ab80> got new child <PyQt5.QtWidgets.QWidget object at 0x7fa2342374c0>, installing filter[0m
  429. [32m14:57:22.521[0m [37mDEBUG   [0m [36mmisc       app:on_focus_object_changed:581[0m [37mFocus object changed: <PyQt5.QtWidgets.QWidget object at 0x7fa23421aee0>[0m
  430. [32m14:57:22.521[0m [37mDEBUG   [0m [36mmisc       app:on_focus_object_changed:581[0m [37mFocus object changed: None[0m
  431. [32m14:57:22.529[0m [37mDEBUG   [0m [36mmisc       app:on_focus_object_changed:581[0m [37mFocus object changed: <PyQt5.QtWidgets.QWidget object at 0x7fa234237550>[0m
  432. [32m14:57:22.530[0m [37mDEBUG   [0m [36mmisc       app:on_focus_object_changed:581[0m [37mFocus object changed: <PyQt5.QtCore.QObject object at 0x7fa234237550>[0m
  433. [32m14:57:22.530[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_on_current_changed:832[0m [37mCurrent tab changed, focusing <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=4 url=''>[0m
  434. [32m14:57:22.530[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_on_current_changed:839[0m [37mMode before tab change: normal (mode_on_change = normal)[0m
  435. [32m14:57:22.530[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.hint (reason tab changed) as we're in mode KeyMode.normal[0m
  436. [32m14:57:22.531[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.caret (reason tab changed) as we're in mode KeyMode.normal[0m
  437. [32m14:57:22.531[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.insert (reason tab changed) as we're in mode KeyMode.normal[0m
  438. [32m14:57:22.531[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.passthrough (reason tab changed) as we're in mode KeyMode.normal[0m
  439. [32m14:57:22.531[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_on_current_changed:850[0m [37mMode after tab change: normal (mode_on_change = normal)[0m
  440. [32m14:57:22.555[0m [37mDEBUG   [0m [36mwebview    browsertab:_on_navigation_request:1065[0m [37mnavigation request: url qute://pdfjs/web/viewer.html?filename=tmp4eqv5g8s_test.pdf&file=&source=http://localhost:36281/data…, type Type.typed, is_main_frame True[0m
  441. [32m14:57:22.557[0m [37mDEBUG   [0m [36mwebview    webenginetab:_store_match_data:151[0m [37mActive search match: 0/0[0m
  442. [32m14:57:22.557[0m [37mDEBUG   [0m [36mwebview    browsertab:_set_load_status:1007[0m [37mload status for <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=4 url=''>: LoadStatus.loading[0m
  443. [32m14:57:22.557[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_status_changed(<LoadStatus.loading: 6>) (tab 4)[0m
  444. [32m14:57:22.558[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_started() (tab 4)[0m
  445. [32m14:57:22.569[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/viewer.html?filename=tmp4eqv5g8s_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf[0m
  446. [32m14:57:22.569[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/viewer.html?filename=tmp4eqv5g8s_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf, path: /web/viewer.html, host pdfjs[0m
  447. [32m14:57:22.571[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning text/html data[0m
  448. [32m14:57:22.576[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_url_changed(PyQt5.QtCore.QUrl('qute://pdfjs/web/viewer.html?filename=tmp4eqv5g8s_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf')) (tab 4)[0m
  449. [32m14:57:22.577[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_on_title_changed:757[0m [37mChanging title for idx 4 to 'qute://pdfjs/web/viewer.html?filename=tmp4eqv5g8s_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf'[0m
  450. [32m14:57:22.593[0m [37mDEBUG   [0m [36mwebview    tabbedbrowser:_on_title_changed:757[0m [37mChanging title for idx 4 to 'PDF.js viewer'[0m
  451. [32m14:57:22.602[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/viewer.css[0m
  452. [32m14:57:22.602[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/viewer.css, path: /web/viewer.css, host pdfjs[0m
  453. [32m14:57:22.602[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning text/css data[0m
  454. [32m14:57:22.604[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/build/pdf.js[0m
  455. [32m14:57:22.604[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/build/pdf.js, path: /build/pdf.js, host pdfjs[0m
  456. [32m14:57:22.604[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning application/javascript data[0m
  457. [32m14:57:22.606[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/viewer.js[0m
  458. [32m14:57:22.606[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/viewer.js, path: /web/viewer.js, host pdfjs[0m
  459. [32m14:57:22.607[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning application/javascript data[0m
  460. [32m14:57:22.622[0m [37mDEBUG   [0m [36mjs         shared:javascript_log_message:156[0m [37m[qute://pdfjs/build/pdf.js:2358] Uncaught SyntaxError: Unexpected token '='[0m
  461. [32m14:57:22.634[0m [37mDEBUG   [0m [36mjs         shared:javascript_log_message:156[0m [37m[qute://pdfjs/web/viewer.js:1561] Uncaught SyntaxError: Unexpected token '='[0m
  462. [32m14:57:22.657[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewThumbnail.svg[0m
  463. [32m14:57:22.658[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewThumbnail.svg, path: /web/images/toolbarButton-viewThumbnail.svg, host pdfjs[0m
  464. [32m14:57:22.658[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  465. [32m14:57:22.659[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewOutline.svg[0m
  466. [32m14:57:22.659[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewOutline.svg, path: /web/images/toolbarButton-viewOutline.svg, host pdfjs[0m
  467. [32m14:57:22.659[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  468. [32m14:57:22.665[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewAttachments.svg[0m
  469. [32m14:57:22.665[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewAttachments.svg, path: /web/images/toolbarButton-viewAttachments.svg, host pdfjs[0m
  470. [32m14:57:22.665[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  471. [32m14:57:22.666[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-viewLayers.svg[0m
  472. [32m14:57:22.666[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-viewLayers.svg, path: /web/images/toolbarButton-viewLayers.svg, host pdfjs[0m
  473. [32m14:57:22.666[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  474. [32m14:57:22.668[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-sidebarToggle.svg[0m
  475. [32m14:57:22.668[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-sidebarToggle.svg, path: /web/images/toolbarButton-sidebarToggle.svg, host pdfjs[0m
  476. [32m14:57:22.668[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  477. [32m14:57:22.671[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-search.svg[0m
  478. [32m14:57:22.671[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-search.svg, path: /web/images/toolbarButton-search.svg, host pdfjs[0m
  479. [32m14:57:22.671[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  480. [32m14:57:22.674[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-pageUp.svg[0m
  481. [32m14:57:22.674[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-pageUp.svg, path: /web/images/toolbarButton-pageUp.svg, host pdfjs[0m
  482. [32m14:57:22.674[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  483. [32m14:57:22.676[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-pageDown.svg[0m
  484. [32m14:57:22.677[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-pageDown.svg, path: /web/images/toolbarButton-pageDown.svg, host pdfjs[0m
  485. [32m14:57:22.677[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  486. [32m14:57:22.679[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-presentationMode.svg[0m
  487. [32m14:57:22.679[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-presentationMode.svg, path: /web/images/toolbarButton-presentationMode.svg, host pdfjs[0m
  488. [32m14:57:22.680[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  489. [32m14:57:22.683[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-openFile.svg[0m
  490. [32m14:57:22.683[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-openFile.svg, path: /web/images/toolbarButton-openFile.svg, host pdfjs[0m
  491. [32m14:57:22.684[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  492. [32m14:57:22.685[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-print.svg[0m
  493. [32m14:57:22.685[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-print.svg, path: /web/images/toolbarButton-print.svg, host pdfjs[0m
  494. [32m14:57:22.686[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  495. [32m14:57:22.692[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-download.svg[0m
  496. [32m14:57:22.692[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-download.svg, path: /web/images/toolbarButton-download.svg, host pdfjs[0m
  497. [32m14:57:22.693[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  498. [32m14:57:22.699[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-bookmark.svg[0m
  499. [32m14:57:22.699[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-bookmark.svg, path: /web/images/toolbarButton-bookmark.svg, host pdfjs[0m
  500. [32m14:57:22.700[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  501. [32m14:57:22.700[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-secondaryToolbarToggle.svg[0m
  502. [32m14:57:22.700[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-secondaryToolbarToggle.svg, path: /web/images/toolbarButton-secondaryToolbarToggle.svg, host pdfjs[0m
  503. [32m14:57:22.700[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  504. [32m14:57:22.700[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-zoomOut.svg[0m
  505. [32m14:57:22.700[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-zoomOut.svg, path: /web/images/toolbarButton-zoomOut.svg, host pdfjs[0m
  506. [32m14:57:22.701[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  507. [32m14:57:22.701[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-zoomIn.svg[0m
  508. [32m14:57:22.701[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-zoomIn.svg, path: /web/images/toolbarButton-zoomIn.svg, host pdfjs[0m
  509. [32m14:57:22.701[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  510. [32m14:57:22.703[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:95[0m [37mGot request for qute://pdfjs/web/images/toolbarButton-menuArrow.svg[0m
  511. [32m14:57:22.704[0m [37mDEBUG   [0m [36mmisc       qutescheme:data_for_url:141[0m [37murl: qute://pdfjs/web/images/toolbarButton-menuArrow.svg, path: /web/images/toolbarButton-menuArrow.svg, host pdfjs[0m
  512. [32m14:57:22.704[0m [37mDEBUG   [0m [36mnetwork    webenginequtescheme:requestStarted:118[0m [37mReturning image/svg+xml data[0m
  513. [32m14:57:22.705[0m [37mDEBUG   [0m [36mjs         shared:javascript_log_message:156[0m [37m[qute://pdfjs/web/viewer.html?filename=tmp4eqv5g8s_test.pdf&file=&source=http://localhost:36281/data/misc/test.pdf:406] Uncaught TypeError: Cannot read property 'set' of undefined[0m
  514. [32m14:57:22.743[0m [37mDEBUG   [0m [36mwebview    browsertab:_set_load_status:1007[0m [37mload status for <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=4 url='qute://pdfjs/web/viewer.html?filename=tmp4eqv5g8s_test.pdf&file=&source=http://localhost:36281/data…'>: LoadStatus.success[0m
  515. [32m14:57:22.743[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_status_changed(<LoadStatus.success: 2>) (tab 4)[0m
  516. [32m14:57:22.744[0m [37mDEBUG   [0m [36msignals    signalfilter:_filter_signals:87[0m [37memitting: cur_load_finished(True) (tab 4)[0m
  517. [32m14:57:22.744[0m [37mDEBUG   [0m [36mmodes      modeman:leave:424[0m [37mIgnoring leave request for KeyMode.insert (reason load started) as we're in mode KeyMode.normal[0m
  518. [32m14:57:22.744[0m [37mDEBUG   [0m [36mmodes      tabbedbrowser:_leave_modes_on_load:737[0m [37mIgnoring leave_on_load request due to setting.[0m
  519. -------------------------------- server output ---------------------------------
  520. {"verb": "GET", "path": "/data/misc/test.pdf", "status": 304}
  521. {"verb": "GET", "path": "/data/misc/test.pdf", "status": 200}
  522. --------------------------------- BDD scenario ---------------------------------
  523. Feature: Special qute:// pages
  524.   Scenario: Downloading a pdf via pdf.js button (issue 1214) (features/qutescheme.feature:188)
  525.     Given I open about:blank (0.08s)
  526.     Given pdfjs is available (0.00s)
  527.     When I set content.pdfjs to true (0.01s)
  528.     And I set downloads.location.prompt to true (0.01s)
  529.     And I open data/misc/test.pdf without waiting (0.01s)
  530.     And I wait for "[qute://pdfjs/*] PDF * (PDF.js: *)" in the log (5.04s)
  531.     And I run :jseval document.getElementById("download").click() (0.00s)
  532.     And I wait for "Asking question <qutebrowser.utils.usertypes.Question default=* mode=<PromptMode.download: 5> option=None text=* title='Save file to:'>, *" in the log (0.00s)
  533.     And I run :mode-leave (0.00s)
  534.     Then no crash should happen (0.00s)
  535. ------------------------------ Captured log call -------------------------------
  536. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  537. INFO     ipc:ipc.py:481 Opening in existing instance
  538. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":config-clear"], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  539. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  540. INFO     ipc:ipc.py:481 Opening in existing instance
  541. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"messages.timeout\\" \\"0\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  542. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  543. INFO     ipc:ipc.py:481 Opening in existing instance
  544. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"auto_save.interval\\" \\"0\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  545. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  546. INFO     ipc:ipc.py:481 Opening in existing instance
  547. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"new_instance_open_target_window\\" \\"last-opened\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  548. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  549. INFO     ipc:ipc.py:481 Opening in existing instance
  550. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":open -t about:blank"], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  551. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  552. INFO     ipc:ipc.py:481 Opening in existing instance
  553. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"content.pdfjs\\" \\"true\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  554. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  555. INFO     ipc:ipc.py:481 Opening in existing instance
  556. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":set -t \\"downloads.location.prompt\\" \\"true\\""], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  557. DEBUG    ipc:ipc.py:476 Connecting to /tmp/qutebrowser-basedir-j3ld4gwp/runtime/ipc-c5cf5f0037e0c3fdf4c1601ff2f37bab
  558. INFO     ipc:ipc.py:481 Opening in existing instance
  559. DEBUG    ipc:ipc.py:493 Writing: b'{"args": [":open http://localhost:36281/data/misc/test.pdf"], "target_arg": "", "version": "2.4.0", "protocol_version": 1, "cwd": "/home/palbrecht/dev/qutebrowser"}\n'
  560.  
  561. tests/unit/browser/webengine/test_webenginedownloads.py F
  562.  
  563. _________________ TestDataUrlWorkaround.test_workaround[False] _________________
  564.  
  565. self = <test_webenginedownloads.TestDataUrlWorkaround object at 0x7f5f6c148970>
  566. webengine_tab = <qutebrowser.browser.webengine.webenginetab.WebEngineTab tab_id=0 url=''>
  567. message_mock = <helpers.messagemock.MessageMock object at 0x7f5f3470de50>
  568. qtbot = <pytestqt.qtbot.QtBot object at 0x7f5f87f70c10>
  569. pdf_url = PyQt5.QtCore.QUrl('data:application/pdf;base64,JVBERi0xLjAKMSAwIG9iajw8L1BhZ2VzIDIgMCBSPj5lbmRvYmoKMiAwIG9iajw8L0tpZHNbMyAwIFJdL0NvdW50IDE+PmVuZG9iagozIDAgb2JqPDwvTWVkaWFCb3hbMCAwIDMgM10+PmVuZG9iagp0cmFpbGVyPDwvUm9vdCAxIDAgUj4+')
  570. download_manager = <qutebrowser.browser.webengine.webenginedownloads.DownloadManager downloads=0>
  571. expected_names = _ExpectedNames(before='pdf', after='download.pdf')
  572.  
  573.     def test_workaround(self, webengine_tab, message_mock, qtbot,
  574.                         pdf_url, download_manager, expected_names):
  575.         """Verify our workaround works properly."""
  576.         with qtbot.wait_signal(message_mock.got_question):
  577.             webengine_tab.load_url(pdf_url)
  578.    
  579.         question = message_mock.get_question()
  580. >       assert question.default == expected_names.after
  581. E       AssertionError: assert equals failed
  582. E