RESOLVED FIXED 180368
[Web App Manifest] Add SPI for applying a manifest to a top-level browsing context
https://bugs.webkit.org/show_bug.cgi?id=180368
Summary [Web App Manifest] Add SPI for applying a manifest to a top-level browsing co...
David Quesada
Reported 2017-12-04 12:09:38 PST
To run a web app as intended by the manifest, we need the ability to apply a manifest to the browsing context.
Attachments
Patch (17.89 KB, patch)
2017-12-04 13:32 PST, David Quesada
ggaren: review+
Patch for landing (18.75 KB, patch)
2017-12-05 17:16 PST, David Quesada
no flags
Patch for landing (v2) (18.78 KB, patch)
2017-12-06 14:58 PST, David Quesada
no flags
Patch for landing (v3) (18.83 KB, patch)
2017-12-06 17:03 PST, David Quesada
no flags
Patch for landing (v4) (18.79 KB, patch)
2017-12-06 17:07 PST, David Quesada
no flags
Radar WebKit Bug Importer
Comment 1 2017-12-04 12:10:11 PST
David Quesada
Comment 2 2017-12-04 12:10:57 PST
Actually, I already had a radar for this one :/ rdar://problem/34748067
David Quesada
Comment 3 2017-12-04 13:32:54 PST
Created attachment 328383 [details] Patch Patch for review. This depends on 180294.
Geoffrey Garen
Comment 4 2017-12-04 15:41:14 PST
Comment on attachment 328383 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=328383&action=review r=me > Source/WebCore/page/PageConfiguration.h:81 > + std::optional<ApplicationManifest> applicationManifest { std::nullopt }; No need to specify nullopt here. The default constructor will do that for you.
David Quesada
Comment 5 2017-12-05 17:16:02 PST
Created attachment 328532 [details] Patch for landing
David Quesada
Comment 6 2017-12-06 14:58:53 PST
Created attachment 328636 [details] Patch for landing (v2) Attempt to fix the EWS errors.
Joseph Pecoraro
Comment 7 2017-12-06 16:58:15 PST
Comment on attachment 328636 [details] Patch for landing (v2) View in context: https://bugs.webkit.org/attachment.cgi?id=328636&action=review > Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h:70 > +@property (nonatomic, setter=_setApplicationManifest:) _WKApplicationManifest *_applicationManifest; This should have a API_AVAILABLE macro with TBA values. Certainly mac, maybe iOS? @property ... _WKApplicationManifest *_applicationManifest WK_API_AVAILABLE(macosx(WK_MAC_TBA));
David Quesada
Comment 8 2017-12-06 17:03:56 PST
Created attachment 328655 [details] Patch for landing (v3) Now with API availability annotation
David Quesada
Comment 9 2017-12-06 17:07:11 PST
Created attachment 328657 [details] Patch for landing (v4) Addressed one more piece of feedback from JoePeck: removed #if guards around a class forward declaration.
WebKit Commit Bot
Comment 10 2017-12-06 19:30:11 PST
Comment on attachment 328657 [details] Patch for landing (v4) Clearing flags on attachment: 328657 Committed r225615: <https://trac.webkit.org/changeset/225615>
WebKit Commit Bot
Comment 11 2017-12-06 19:30:13 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.