Title: [165080] trunk/Source
Revision
165080
Author
[email protected]
Date
2014-03-04 14:48:30 -0800 (Tue, 04 Mar 2014)

Log Message

Allow iOS DumpRenderTree crashes to show application-specific information
https://bugs.webkit.org/show_bug.cgi?id=129705

Source/WebCore:

Reviewed by David Kilzer.

Make the WKSI function SetCrashReportApplicationSpecificInformation available
in iOS simulator builds.

* WebCore.exp.in:
* platform/ios/WebCoreSystemInterfaceIOS.mm:
* platform/mac/WebCoreSystemInterface.h:

Source/WebKit/mac:

Reviewed by David Kilzer.

Make the WKSI function SetCrashReportApplicationSpecificInformation available
in iOS simulator builds.

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

Source/WebKit2:

Reviewed by David Kilzer.

Make the WKSI function SetCrashReportApplicationSpecificInformation available
in iOS simulator builds.

* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (165079 => 165080)


--- trunk/Source/WebCore/ChangeLog	2014-03-04 22:42:53 UTC (rev 165079)
+++ trunk/Source/WebCore/ChangeLog	2014-03-04 22:48:30 UTC (rev 165080)
@@ -1,3 +1,17 @@
+2014-03-04  Simon Fraser  <[email protected]>
+
+        Allow iOS DumpRenderTree crashes to show application-specific information
+        https://bugs.webkit.org/show_bug.cgi?id=129705
+
+        Reviewed by David Kilzer.
+
+        Make the WKSI function SetCrashReportApplicationSpecificInformation available
+        in iOS simulator builds.
+
+        * WebCore.exp.in:
+        * platform/ios/WebCoreSystemInterfaceIOS.mm:
+        * platform/mac/WebCoreSystemInterface.h:
+
 2014-03-04  Andreas Kling  <[email protected]>
 
         Spam static branch prediction hints on JS bindings.

Modified: trunk/Source/WebCore/WebCore.exp.in (165079 => 165080)


--- trunk/Source/WebCore/WebCore.exp.in	2014-03-04 22:42:53 UTC (rev 165079)
+++ trunk/Source/WebCore/WebCore.exp.in	2014-03-04 22:48:30 UTC (rev 165080)
@@ -2283,7 +2283,6 @@
 _wkQTMovieViewSetDrawSynchronously
 _wkRecommendedScrollerStyle
 _wkSetCGFontRenderingMode
-_wkSetCrashReportApplicationSpecificInformation
 _wkSetDragImage
 _wkSetMetadataURL
 _wkSignedPublicKeyAndChallengeString
@@ -2684,6 +2683,10 @@
 _wkIOSurfaceContextCreateImage
 #endif
 
+#if PLATFORM(MAC) || PLATFORM(IOS_SIMULATOR)
+_wkSetCrashReportApplicationSpecificInformation
+#endif
+
 #if ENABLE(3D_RENDERING)
 _WebCoreHas3DRendering
 #endif

Modified: trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.mm (165079 => 165080)


--- trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.mm	2014-03-04 22:42:53 UTC (rev 165079)
+++ trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.mm	2014-03-04 22:48:30 UTC (rev 165080)
@@ -98,6 +98,10 @@
 CGImageRef (*wkIOSurfaceContextCreateImage)(CGContextRef context);
 #endif // !PLATFORM(IOS_SIMULATOR)
 
+#if PLATFORM(IOS_SIMULATOR)
+void (*wkSetCrashReportApplicationSpecificInformation)(CFStringRef);
+#endif
+
 CFURLStorageSessionRef (*wkCreatePrivateStorageSession)(CFStringRef);
 NSURLRequest* (*wkCopyRequestWithStorageSession)(CFURLStorageSessionRef, NSURLRequest*);
 CFHTTPCookieStorageRef (*wkCopyHTTPCookieStorage)(CFURLStorageSessionRef);

Modified: trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h (165079 => 165080)


--- trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h	2014-03-04 22:42:53 UTC (rev 165079)
+++ trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h	2014-03-04 22:48:30 UTC (rev 165080)
@@ -266,13 +266,16 @@
 extern CGImageRef (*wkIOSurfaceContextCreateImage)(CGContextRef context);
 #endif
 
+#if PLATFORM(MAC) || PLATFORM(IOS_SIMULATOR)
+extern void (*wkSetCrashReportApplicationSpecificInformation)(CFStringRef);
+#endif
+
 #if !PLATFORM(IOS)
 extern int (*wkRecommendedScrollerStyle)(void);
 
 extern bool (*wkExecutableWasLinkedOnOrBeforeSnowLeopard)(void);
 
 extern CFStringRef (*wkCopyDefaultSearchProviderDisplayName)(void);
-extern void (*wkSetCrashReportApplicationSpecificInformation)(CFStringRef);
 
 extern NSURL *(*wkAVAssetResolvedURL)(AVAsset*);
 

Modified: trunk/Source/WebKit/mac/ChangeLog (165079 => 165080)


--- trunk/Source/WebKit/mac/ChangeLog	2014-03-04 22:42:53 UTC (rev 165079)
+++ trunk/Source/WebKit/mac/ChangeLog	2014-03-04 22:48:30 UTC (rev 165080)
@@ -1,3 +1,16 @@
+2014-03-04  Simon Fraser  <[email protected]>
+
+        Allow iOS DumpRenderTree crashes to show application-specific information
+        https://bugs.webkit.org/show_bug.cgi?id=129705
+
+        Reviewed by David Kilzer.
+
+        Make the WKSI function SetCrashReportApplicationSpecificInformation available
+        in iOS simulator builds.
+
+        * WebCoreSupport/WebSystemInterface.mm:
+        (InitWebCoreSystemInterface):
+
 2014-03-04  Mark Hahnenberg  <[email protected]>
 
         Merge API shims and JSLock

Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm (165079 => 165080)


--- trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm	2014-03-04 22:42:53 UTC (rev 165079)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm	2014-03-04 22:48:30 UTC (rev 165080)
@@ -152,10 +152,12 @@
 #endif
     INIT(CreateCTTypesetterWithUniCharProviderAndOptions);
     INIT(CTRunGetInitialAdvance);
+#if PLATFORM(MAC) || PLATFORM(IOS_SIMULATOR)
+    INIT(SetCrashReportApplicationSpecificInformation);
+#endif
 #if !PLATFORM(IOS)
     INIT(RecommendedScrollerStyle);
     INIT(ExecutableWasLinkedOnOrBeforeSnowLeopard);
-    INIT(SetCrashReportApplicationSpecificInformation);
     INIT(CopyDefaultSearchProviderDisplayName);
     INIT(AVAssetResolvedURL);
     INIT(Cursor);

Modified: trunk/Source/WebKit2/ChangeLog (165079 => 165080)


--- trunk/Source/WebKit2/ChangeLog	2014-03-04 22:42:53 UTC (rev 165079)
+++ trunk/Source/WebKit2/ChangeLog	2014-03-04 22:48:30 UTC (rev 165080)
@@ -1,3 +1,16 @@
+2014-03-04  Simon Fraser  <[email protected]>
+
+        Allow iOS DumpRenderTree crashes to show application-specific information
+        https://bugs.webkit.org/show_bug.cgi?id=129705
+
+        Reviewed by David Kilzer.
+        
+        Make the WKSI function SetCrashReportApplicationSpecificInformation available
+        in iOS simulator builds.
+
+        * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
+        (InitWebCoreSystemInterface):
+
 2014-03-04  Mark Hahnenberg  <[email protected]>
 
         Merge API shims and JSLock

Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm (165079 => 165080)


--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm	2014-03-04 22:42:53 UTC (rev 165079)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm	2014-03-04 22:48:30 UTC (rev 165080)
@@ -143,11 +143,13 @@
 #endif // !PLATFORM(IOS_SIMULATOR)
         INIT(CreateCTTypesetterWithUniCharProviderAndOptions);
         INIT(CTRunGetInitialAdvance);
+#if PLATFORM(MAC) || PLATFORM(IOS_SIMULATOR)
+        INIT(SetCrashReportApplicationSpecificInformation);
+#endif
 #if !PLATFORM(IOS)
         INIT(RecommendedScrollerStyle);
         INIT(ExecutableWasLinkedOnOrBeforeSnowLeopard);
         INIT(CopyDefaultSearchProviderDisplayName);
-        INIT(SetCrashReportApplicationSpecificInformation);
         INIT(AVAssetResolvedURL);
         INIT(Cursor);
         INIT(WindowSetScaledFrame);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to