Opened 5 months ago

Last modified 3 weeks ago

#28798 new defect

tbb-testsuite: fix the svg-disable and svg-enable tests

Reported by: boklm Owned by: cypherpunks
Priority: Medium Milestone:
Component: Applications/Quality Assurance and Testing Version:
Severity: Normal Keywords: tbb-testsuite, boklm201812, TorBrowserTeam201904
Cc: tbb-team Actual Points:
Parent ID: #27105 Points:
Reviewer: Sponsor:

Description

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@chrome://marionette/content/error.js:178:5
	UnknownError@chrome://marionette/content/error.js:529:5
handleReadyState@chrome://marionette/content/listener.js:277:21
handleEvent@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@chrome://marionette/content/error.js:178:5
	UnknownError@chrome://marionette/content/error.js:529:5
handleReadyState@chrome://marionette/content/listener.js:277:21
handleEvent@chrome://marionette/content/listener.js:245:9

Child Tickets

Change History (5)

comment:1 Changed 5 months ago by boklm

Summary: tbb-testsuite: fx the svg-disable and svg-enable teststbb-testsuite: fix the svg-disable and svg-enable tests

comment:2 Changed 4 months ago by gk

Keywords: TorBrowserTeam201901 added; TorBrowserTeam201812 removed

Moving tickets to Jan 2019.

comment:3 Changed 3 months ago by gk

Keywords: TorBrowserTeam201902 added; TorBrowserTeam201901 removed

Moving tickets to February.

comment:4 Changed 7 weeks ago by gk

Keywords: TorBrowserTeam201903 added; TorBrowserTeam201902 removed

Moving remaining tickets to March.

comment:5 Changed 3 weeks ago by gk

Keywords: TorBrowserTeam201904 added; TorBrowserTeam201903 removed

Moving tickets to April.

Note: See TracTickets for help on using tickets.