Closed Bug 1268915 Opened 9 years ago Closed 9 years ago

Mixed content tests are broken on windows because they read the files wrong

Categories

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

defect
Not set
normal

Tracking

(firefox48 fixed, firefox49 fixed)

RESOLVED FIXED
mozilla49
Tracking Status
firefox48 --- fixed
firefox49 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

They read the image/video/etc files as text, which causes them to mess up the bytes, which causes the files to not load correctly in browser, which makes the browser parts of the test think they're always blocked.
I still have a try run outstanding, so it's possible some of the ini files might still change, but I think I got all the relevant ones. If they do change, I'll post an interdiff
Attachment #8747127 - Flags: review?(james)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #8747127 - Flags: review?(james) → review+
How easily could we audit the rest of w-p-t for other similar issues?
It's pretty easy to get a list of open() calls in Python files in there: mozilla% find testing/web-platform/tests/ -name "*.py" | xargs fgrep "open(" | wc -l 251 But that's not really that helpful... What would be more useful, perhaps, would be looking at ini files to see things that are disabled on a per-platform basis.
Sounds like a good project for those who maintain these tests :P. Probably should be incorporated into whatever upstream review process there is for new tests too. Also, looks like WinXP still isn't happy :(. I wonder what version of Python we have installed on those machines...
The WinXP unhappiness is all video-tag. I expect that has more to do with our media stack on WinXP than python versions....
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Depends on: 1269716
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: