Intermittent /xhr/responsexml-document-properties.htm | lastModified set to time of response if no HTTP header provided - assert_greater_than_equal: expected a number greater than or equal to 1541322656 but got 1541319056
Categories
(Core :: DOM: Networking, defect, P2)
Tracking
()
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure, Whiteboard: [necko-triaged])
Updated•7 years ago
|
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Comment 6•7 years ago
|
||
Sorry for the delay here. The test in question is just checking that the various properties on an XMLHttpRequest's responseXML property seem sane, by doing a few controlled XHRs and checking their properties.
The reason it checks dates at all is because of the responseXML.lastModified object, which can be affected by HTTP headers. It does stand to reason that since I'm using Date.getTime(), any sudden change due to daylight savings would cause exactly the error we saw here (especially since we apparently haven't seen it again since).
The cookie-related failure is beyond me, however. I don't understand why a document's cookie would end up undefined
like that after fetching a responseXML. Ehsan, is there a known reason for that to happen? All the code is essentially doing is this:
var client = new XMLHttpRequest();
client.open("GET", "resources/well-formed.xml", false); // sync XHR
client.send(null);
// check a bunch of values, such as:
assert_equals(client.responseXML.contentType, "application/xml");
assert_equals(client.responseXML.readyState, "complete");
assert_equals(client.responseXML.cookie, ""); // ultimately fails here
I don't understand why the cookie would be undefined if the other values seemed correct, which the test results are claiming.
Comment hidden (Intermittent Failures Robot) |
Comment 8•7 years ago
|
||
The cookie related failures are bug 144795 (completely unrelated to the intermittent failure being discussed here).
Updated•7 years ago
|
Comment 9•6 years ago
|
||
Description
•