[tor-bugs] #28798 [Applications/Quality Assurance and Testing]: tbb-testsuite: fx the svg-disable and svg-enable tests

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 10 10:04:05 UTC 2018


#28798: tbb-testsuite: fx the svg-disable and svg-enable tests
-------------------------------------+-------------------------------------
     Reporter:  boklm                |      Owner:  cypherpunks
         Type:  defect               |     Status:  new
     Priority:  Medium               |  Milestone:
    Component:                       |    Version:
  Applications/Quality Assurance     |
  and Testing                        |   Keywords:  tbb-testsuite,
     Severity:  Normal               |  boklm201812, TorBrowserTeam201812
Actual Points:                       |  Parent ID:  #27105
       Points:                       |   Reviewer:
      Sponsor:                       |
-------------------------------------+-------------------------------------
 Running the `svg-disable` test currently fails with the error:
 {{{
 Traceback (most recent call last):
 File "/home/tbb-testsuite/tbb-testsuite/virtualenv-
 marionette-4.3.0/local/lib/python2.7/site-
 packages/marionette_harness-4.3.0-py2.7.egg/marionette_harness/marionette_test/testcases.py",
 line 156, in run
 testMethod()
 File "/home/tbb-testsuite/tbb-
 testsuite/marionette/tor_browser_tests/test_svg.py", line 32, in test_svg
 m.navigate("%s/img_src_url.html" % self.svg_dir)
 File "/home/tbb-testsuite/tbb-testsuite/virtualenv-
 marionette-4.3.0/local/lib/python2.7/site-
 packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py",
 line 1632, in navigate
 self._send_message("get", {"url": url})
 File "/home/tbb-testsuite/tbb-testsuite/virtualenv-
 marionette-4.3.0/local/lib/python2.7/site-
 packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/decorators.py",
 line 23, in _
 return func(*args, **kwargs)
 File "/home/tbb-testsuite/tbb-testsuite/virtualenv-
 marionette-4.3.0/local/lib/python2.7/site-
 packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py",
 line 740, in _send_message
     self._handle_error(err)
   File "/home/tbb-testsuite/tbb-testsuite/virtualenv-
 marionette-4.3.0/local/lib/python2.7/site-
 packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py",
 line 764, in _handle_error
     raise errors.lookup(error)(message, stacktrace=stacktrace)
 UnknownException: Reached error page:
 about:neterror?e=fileAccessDenied&u=file%3A///home/tbb-testsuite/tbb-
 testsuite/test-
 data/svg//img_src_url.html&c=UTF-8&f=regular&d=%D8%A7%D9%84%D9%85%D9%84%D9%81%20%D9%81%D9%8A%20/home
 /tbb-testsuite/tbb-testsuite/test-
 data/svg//img_src_url.html%20%D9%84%D9%8A%D8%B3%20%D9%85%D9%82%D8%B1%D9%88%D8%A1%D9%8B%D8%A7.
 stacktrace:
         WebDriverError at chrome://marionette/content/error.js:178:5
         UnknownError at chrome://marionette/content/error.js:529:5
 handleReadyState at chrome://marionette/content/listener.js:277:21
 handleEvent at chrome://marionette/content/listener.js:245:9
 }}}

 The `svg-enable` test fails with the same error:
 {{{
 Traceback (most recent call last):
 File "/home/tbb-testsuite/tbb-testsuite/virtualenv-
 marionette-4.3.0/local/lib/python2.7/site-
 packages/marionette_harness-4.3.0-py2.7.egg/marionette_harness/marionette_test/testcases.py",
 line 156, in run
 testMethod()
 File "/home/tbb-testsuite/tbb-
 testsuite/marionette/tor_browser_tests/test_svg.py", line 32, in test_svg
 m.navigate("%s/img_src_url.html" % self.svg_dir)
 File "/home/tbb-testsuite/tbb-testsuite/virtualenv-
 marionette-4.3.0/local/lib/python2.7/site-
 packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py",
 line 1632, in navigate
 self._send_message("get", {"url": url})
 File "/home/tbb-testsuite/tbb-testsuite/virtualenv-
 marionette-4.3.0/local/lib/python2.7/site-
 packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/decorators.py",
 line 23, in _
 return func(*args, **kwargs)
 File "/home/tbb-testsuite/tbb-testsuite/virtualenv-
 marionette-4.3.0/local/lib/python2.7/site-
 packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py",
 line 740, in _send_message
     self._handle_error(err)
   File "/home/tbb-testsuite/tbb-testsuite/virtualenv-
 marionette-4.3.0/local/lib/python2.7/site-
 packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py",
 line 764, in _handle_error
     raise errors.lookup(error)(message, stacktrace=stacktrace)
 UnknownException: Reached error page:
 about:neterror?e=fileAccessDenied&u=file%3A///home/tbb-testsuite/tbb-
 testsuite/test-
 data/svg//img_src_url.html&c=UTF-8&f=regular&d=%D8%A7%D9%84%D9%85%D9%84%D9%81%20%D9%81%D9%8A%20/home
 /tbb-testsuite/tbb-testsuite/test-
 data/svg//img_src_url.html%20%D9%84%D9%8A%D8%B3%20%D9%85%D9%82%D8%B1%D9%88%D8%A1%D9%8B%D8%A7.
 stacktrace:
         WebDriverError at chrome://marionette/content/error.js:178:5
         UnknownError at chrome://marionette/content/error.js:529:5
 handleReadyState at chrome://marionette/content/listener.js:277:21
 handleEvent at chrome://marionette/content/listener.js:245:9
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28798>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list