Closed Bug 1171941 Opened 9 years ago Closed 9 years ago

Test for redirect.sjs in fetch_tests.js is incorrect

Categories

(Core :: DOM: Service Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: jdm, Assigned: reznord, Mentored)

Details

(Whiteboard: [lang=js][good first bug])

Attachments

(1 file, 1 obsolete file)

The test succeeds because it checks for a 404 result, but the path it fetches (fetch/redirect.sjs) doesn't exist. It should still succeed if we get rid of the fetch/ prefix, when it should find the sjs file properly.
Mentor: josh
Whiteboard: [lang=js][good first bug]
The test can be run via `./mach mochitest dom/workers/tests/serviceworkers/test_fetch_event.html` (run it with and without an --e10s argument, too)
Hi Josh,

I am interested in working on this bug, so, can you please assign this bug to me?

Thanks in advance,
Anup
Assignee: nobody → allamsetty.anup
Removed the prefix "fetch/" from fetch_tests.js in test for redirect.sjs and tested as per what given in the comments.
Attachment #8638547 - Flags: review?(josh)
Attachment #8638547 - Flags: feedback?(josh)
Comment on attachment 8638547 [details] [diff] [review]
removed the prefix "fetch/" from fetch_tests.js in test for redirect.sjs

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

"Bug 1171941: reomved the fetch/ prefix."

This commit message should be a bit more descriptive (and fix the typo, please).
Attachment #8638547 - Flags: review?(josh)
Attachment #8638547 - Flags: review+
Attachment #8638547 - Flags: feedback?(josh)
Removed the prefix "fetch/" from fetch_tests.js in test for redirect.sjs and fixed the typo mistakes
Attachment #8638547 - Attachment is obsolete: true
Attachment #8638931 - Flags: review?(josh)
Go ahead and add the checkin-needed keyword.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/ee746a325426
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Comment on attachment 8638931 [details] [diff] [review]
Removed the prefix "fetch/" and fixed typo mistakes

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

Looks good! Don't forget the "r=jdm" suffix on the commit message, too. No need to ask for re-review on this.
Attachment #8638931 - Flags: review?(josh) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: