[Webkit-unassigned] [Bug 180292] [Web App Manifest] Support fetching the app manifest
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 4 15:30:02 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=180292
Geoffrey Garen <ggaren at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ggaren at apple.com
Attachment #328176|review? |review+
Flags| |
--- Comment #2 from Geoffrey Garen <ggaren at apple.com> ---
Comment on attachment 328176
--> https://bugs.webkit.org/attachment.cgi?id=328176
WIP Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=328176&action=review
r=me with some comments
> Source/WebCore/loader/DocumentLoader.cpp:1087
> + for (const auto& link : childrenOfType<HTMLLinkElement>(*head)) {
> + if (link.isApplicationManifest()) {
> + manifestURL = link.href();
> + useCredentials = equalIgnoringASCIICase(link.attributeWithoutSynchronization(HTMLNames::crossoriginAttr), "use-credentials");
> + break;
> + }
> + }
Is it specified that multiple manifest links should only result in loading the first link? If so, can you add a test for this?
> Source/WebCore/loader/DocumentLoader.cpp:1089
> + if (manifestURL.isNull() || manifestURL.isEmpty() || !manifestURL.isValid())
isEmpty() is a superset of isNull() so you should remove the check for isNull().
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171204/dcf8236f/attachment.html>
More information about the webkit-unassigned
mailing list