Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MIME Checks for link rel=manifest #24446

Merged
merged 6 commits into from
Jul 15, 2020
Merged

Add MIME Checks for link rel=manifest #24446

merged 6 commits into from
Jul 15, 2020

Conversation

marcoscaceres
Copy link
Contributor

Part of #24389

@wpt-pr-bot wpt-pr-bot added the html label Jul 6, 2020
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-24446 July 6, 2020 06:32 Inactive
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-24446 July 6, 2020 06:49 Inactive
html/links/manifest/mime-type-application-json.headers Outdated Show resolved Hide resolved
html/links/manifest/mime-type-text-json.headers Outdated Show resolved Hide resolved
<h1>Test JSON MIME Type support for web manifest</h1>
<p>
To pass, the use agent must treat the manifest valid (name is "pass"). The
response's Content-Type metadata is a JSON MIME type "text/json".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to test an "invalid" media type?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea... will add an actual invalid type.

@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-24446 July 6, 2020 07:56 Inactive
@stephenmcgruer
Copy link
Contributor

@marcoscaceres the checks for this PR will be blocked due to the Taskcluster Checks migration. You can either rebase/merge-from-master the PR to bring in the new Taskcluster config, or just let me know when you want it merged and I can admin-merge it for you :)

@marcoscaceres
Copy link
Contributor Author

Thanks @stephenmcgruer! I'll rebase.

@foolip
Copy link
Member

foolip commented Jul 14, 2020

The lint is failing because html/links/manifest/mime-type-none.html and html/links/manifest/mime-type-invalid.html are being interpreted as (misnamed) visual tests. To avoid this, one can put them in a resources/ or support/ subdirectory.

@marcoscaceres
Copy link
Contributor Author

Thanks for the tip, @foolip! Fixed the naming... they should have been "-manual.html" - so thankfully the linter caught those!

@marcoscaceres marcoscaceres merged commit 48340be into master Jul 15, 2020
@marcoscaceres marcoscaceres deleted the manifest_html branch July 15, 2020 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants