"Harness status: ERROR" when running "request-end-to-end.https.html" test

RESOLVED FIXED in Firefox 44

Status

defect
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: noemi, Assigned: Ehsan)

Tracking

Trunk
mozilla44
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox42 affected, firefox44 fixed)

Details

Attachments

(1 attachment)

Reporter

Description

4 years ago
Test run such as |./mach web-platform-tests _mozilla/service-workers/service-worker/request-end-to-end.https.html|

Actual Result:
Harness status: Error
TypeError: e.request.headers[Symbol.iterator] is not a function
Found 1 tests
1 Timeout
* Request: end-to-end -> timed out
Traces: https://pastebin.mozilla.org/8838599
Reporter

Updated

4 years ago
Summary: Bug 1189671 - "Harness status: ERROR" when running "request-end-to-end.https.html" test → "Harness status: ERROR" when running "request-end-to-end.https.html" test
We don't support iterators on Headers yet. Everything else in this test should work.
Depends on: 1108181
Assignee

Updated

4 years ago
Assignee: nobody → ehsan
Comment on attachment 8675829 [details] [diff] [review]
Set FetchEvent.request.headers' guard to immutable before dispatching the FetchEvent

Review of attachment 8675829 [details] [diff] [review]:
-----------------------------------------------------------------

::: testing/web-platform/mozilla/tests/service-workers/service-worker/request-end-to-end.https.html
@@ +46,5 @@
>                        'request.method should be passed to onfetch event.');
>          assert_equals(event.data.referrer, location.href,
>                        'request.referrer should be passed to onfetch event.');
> +        assert_equals(event.data.headers['user-agent'], undefined,
> +                      'User-Agent header should not be passed to onfetch event.')

nit: *default* user-agent header should not be passed.  A manually created user-agent header should be passed.
Attachment #8675829 - Flags: review?(bkelly) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/a4334a6c531326e239293511a3bdb670b83effdf
Backed out changeset 4b38a09cca56 (bug 1189673) for W(4) and W(8) bustages ON A CLOSED TREE
Backed out for bustages like this:

 23:52:44     INFO - TEST-UNEXPECTED-TIMEOUT | /_mozilla/service-workers/service-worker/request-end-to-end.https.html | Request: end-to-end - Test timed out
 23:52:44     INFO - TEST-UNEXPECTED-TIMEOUT | /_mozilla/service-workers/service-worker/request-end-to-end.https.html | expected OK


https://treeherder.mozilla.org/logviewer.html#?job_id=15924928&repo=mozilla-inbound

Comment 9

4 years ago
backoutbugherdermerge
https://hg.mozilla.org/mozilla-central/rev/25488fb579b3
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.