Closed
Bug 1361567
Opened 7 years ago
Closed 7 years ago
Intermittent test_navigation.py TestTLSNavigation.test_navigate_by_click | InsecureCertificateException:
Categories
(Testing :: Marionette Client and Harness, defect)
Tracking
(Not tracked)
VERIFIED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: bulk-close-intermittents, intermittent-failure)
Filed by: wkocher [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=96047622&repo=autoland https://queue.taskcluster.net/v1/task/C-c8AOhEQB2CpIpWsOJP7g/runs/0/artifacts/public/logs/live_backing.log
Comment 1•7 years ago
|
||
The test looks like: link_url = self.test_page_insecure self.marionette.navigate( inline("<a href=%s>https is the future</a>" % link_url)) self.marionette.find_element(By.TAG_NAME, "a").click() self.assertIn("https", self.marionette.get_url()) So clicking the link should actually not return an insecure certificate error, given that the tests in this class allow it those certs by default. But such an error is thrown: 1493758041327 Marionette TRACE 1060 -> [0,4,"clickElement",{"id":"e2e1812e-8014-46cf-b532-4b92862b98a4"}] 1493758041888 Marionette DEBUG Received DOM event "pagehide" for "data:text/html;charset=utf-8,%3Ca%20href%3Dhttps%3A//127.0.0.1%3A34245/test.html%3Ehttps%20is%20the%20future%3C/a%3E" 1493758041891 Marionette DEBUG Received DOM event "unload" for "data:text/html;charset=utf-8,%3Ca%20href%3Dhttps%3A//127.0.0.1%3A34245/test.html%3Ehttps%20is%20the%20future%3C/a%3E" 1493758042183 Marionette DEBUG Received DOM event "DOMContentLoaded" for "about:certerror?e=nssBadCert&u=https%3A//127.0.0.1%3A34245/test.html&c=UTF-8&f=regular&d=127.0.0.1%3A34245%20uses%20an%20invalid%20security%20certificate.%0A%0AThe%20certificate%20is%20not%20trusted%20because%20the%20issuer%20certificate%20is%20unknown.%0AThe%20server%20might%20not%20be%20sending%20the%20appropriate%20intermediate%20certificates.%0AAn%20additional%20root%20certificate%20may%20need%20to%20be%20imported.%0AThe%20certificate%20is%20only%20valid%20for%20the%20following%20names%3A%0A%20%20web-platform.test%2C%20www.web-platform.test%2C%20xn--n8j6ds53lwwkrqhv28a.web-platform.test%2C%20xn--lve-6lad.web-platform.test%2C%20www2.web-platform.test%2C%20www1.web-platform.test%20%20%0A%0AError%20code%3A%20%3Ca%20id%3D%22errorCode%22%20title%3D%22SEC_ERROR_UNKNOWN_ISSUER%22%3ESEC_ERROR_UNKNOWN_ISSUER%3C/a%3E%0A" 1493758042227 Marionette TRACE 1060 <- [1,4,{"error":"insecure certificate","message":"","stacktrace":"WebDriverError@chrome://marionette/content/error.js:212:5\nInsecureCertificateError@chrome://marionette/content/error.js:308:5\nhandleEvent@chrome://marionette/content/listener.js:240:21\n"},null]
Status: NEW → RESOLVED
Closed: 7 years ago
Keywords: bulk-close-intermittents
Resolution: --- → INCOMPLETE
Updated•7 years ago
|
Status: RESOLVED → VERIFIED
Updated•1 year ago
|
Product: Testing → Remote Protocol
Comment 2•1 year ago
|
||
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in
before you can comment on or make changes to this bug.
Description
•