Closed Bug 1116778 Opened 5 years ago Closed 5 years ago

test_app_permissions.html yields 404, I suspect the test isn't doing what we expect it to

Categories

(Testing :: Talos, defect)

x86
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla37

People

(Reporter: jmaher, Assigned: kaustabh93)

Details

Attachments

(1 file)

while debugging a mochitest-chrome failure locally, I ran into test_app_permissions.html yielding a lot of 404 messages.  This looked bizarre, so I took a look to ensure that is what we intended to do.  From a brief look at the source code, I suspect it is not what we want to do:
http://dxr.mozilla.org/mozilla-central/source/dom/devicestorage/test/test_app_permissions.html#131

in fact, I bet the file referenced:
var gTestUri = "https://example.com/tests/dom/devicestorage/test/test_app_permissions.html"

doesn't exist due to packaging issues.  I suspect adding a chrome would help:
"https://example.com/chrome/dom/devicestorage/test/test_app_permissions.html"

I am sure someone could easily fix this.
Attached patch 404.patchSplinter Review
Comment on attachment 8546621 [details] [diff] [review]
404.patch

looks good to me!
Attachment #8546621 - Flags: review+
Assignee: nobody → kaustabh93
https://hg.mozilla.org/mozilla-central/rev/c5b38afb60d8
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.