Bug 167366 - Add invalid value tests to Link header handling.
Summary: Add invalid value tests to Link header handling.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-24 01:57 PST by Yoav Weiss
Modified: 2017-01-29 07:15 PST (History)
5 users (show)

See Also:


Attachments
Patch (4.22 KB, patch)
2017-01-24 01:59 PST, Yoav Weiss
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yoav Weiss 2017-01-24 01:57:45 PST
Add invalid value tests to Link header handling.
Comment 1 Yoav Weiss 2017-01-24 01:59:18 PST
Created attachment 299589 [details]
Patch
Comment 2 Alex Christensen 2017-01-25 00:34:56 PST
Comment on attachment 299589 [details]
Patch

Cool
Let's also add one with "as=script; as=style" in the same header just to verify that we don't accidentally change behavior when there are duplicates.
Comment 3 Yoav Weiss 2017-01-25 00:49:48 PST
(In reply to comment #2)
> Comment on attachment 299589 [details]
> Patch
> 
> Cool
> Let's also add one with "as=script; as=style" in the same header just to
> verify that we don't accidentally change behavior when there are duplicates.

Adding that test here won't really tell us which attribute is used.
In order to make that test meaningful, I want to first land https://bugs.webkit.org/show_bug.cgi?id=159678 and then duplicate the test there for headers.
Comment 4 Yoav Weiss 2017-01-29 06:49:38 PST
Added https://bugs.webkit.org/show_bug.cgi?id=167560
Landing this in the mean time
Comment 5 WebKit Commit Bot 2017-01-29 07:15:06 PST
Comment on attachment 299589 [details]
Patch

Clearing flags on attachment: 299589

Committed r211352: <http://trac.webkit.org/changeset/211352>
Comment 6 WebKit Commit Bot 2017-01-29 07:15:12 PST
All reviewed patches have been landed.  Closing bug.