Closed Bug 1189673 Opened 9 years ago Closed 9 years ago

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

Categories

(Testing :: web-platform-tests, defect)

defect
Not set
normal

Tracking

(firefox42 affected, firefox44 fixed)

RESOLVED FIXED
mozilla44
Tracking Status
firefox42 --- affected
firefox44 --- fixed

People

(Reporter: noemi, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

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
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: 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
https://hg.mozilla.org/mozilla-central/rev/25488fb579b3
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: