Title: [204381] trunk/Source/WebKit/mac
- Revision
- 204381
- Author
- [email protected]
- Date
- 2016-08-11 12:22:26 -0700 (Thu, 11 Aug 2016)
Log Message
Regression(r204268): Mail crashes when trying to compose an email
https://bugs.webkit.org/show_bug.cgi?id=160775
Reviewed by Anders Carlsson.
Properly initialize PageConfiguration.pluginInfoProvider in
[WebView initSimpleHTMLDocumentWithStyle] to avoid a null
dereference in Mail when trying to compose an email.
* WebView/WebView.mm:
(-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (204380 => 204381)
--- trunk/Source/WebKit/mac/ChangeLog 2016-08-11 19:09:39 UTC (rev 204380)
+++ trunk/Source/WebKit/mac/ChangeLog 2016-08-11 19:22:26 UTC (rev 204381)
@@ -1,3 +1,17 @@
+2016-08-11 Chris Dumez <[email protected]>
+
+ Regression(r204268): Mail crashes when trying to compose an email
+ https://bugs.webkit.org/show_bug.cgi?id=160775
+
+ Reviewed by Anders Carlsson.
+
+ Properly initialize PageConfiguration.pluginInfoProvider in
+ [WebView initSimpleHTMLDocumentWithStyle] to avoid a null
+ dereference in Mail when trying to compose an email.
+
+ * WebView/WebView.mm:
+ (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
+
2016-08-10 Simon Fraser <[email protected]>
Sort the feature flags in the FEATURE_DEFINES lines
Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (204380 => 204381)
--- trunk/Source/WebKit/mac/WebView/WebView.mm 2016-08-11 19:09:39 UTC (rev 204380)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm 2016-08-11 19:22:26 UTC (rev 204381)
@@ -1267,6 +1267,7 @@
pageConfiguration.storageNamespaceProvider = &_private->group->storageNamespaceProvider();
pageConfiguration.userContentProvider = &_private->group->userContentController();
pageConfiguration.visitedLinkStore = &_private->group->visitedLinkStore();
+ pageConfiguration.pluginInfoProvider = &WebPluginInfoProvider::singleton();
_private->page = new Page(WTFMove(pageConfiguration));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes