Title: [199205] trunk/Source/_javascript_Core
Revision
199205
Author
[email protected]
Date
2016-04-07 17:40:21 -0700 (Thu, 07 Apr 2016)

Log Message

Web Inspector: Not necessary to validate webinspectord connection on iOS
https://bugs.webkit.org/show_bug.cgi?id=156377
<rdar://problem/25612460>

Patch by Joseph Pecoraro <[email protected]> on 2016-04-07
Reviewed by Simon Fraser.

* inspector/remote/RemoteInspectorXPCConnection.h:
* inspector/remote/RemoteInspectorXPCConnection.mm:
(Inspector::RemoteInspectorXPCConnection::handleEvent):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (199204 => 199205)


--- trunk/Source/_javascript_Core/ChangeLog	2016-04-08 00:19:45 UTC (rev 199204)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-04-08 00:40:21 UTC (rev 199205)
@@ -1,3 +1,15 @@
+2016-04-07  Joseph Pecoraro  <[email protected]>
+
+        Web Inspector: Not necessary to validate webinspectord connection on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=156377
+        <rdar://problem/25612460>
+
+        Reviewed by Simon Fraser.
+
+        * inspector/remote/RemoteInspectorXPCConnection.h:
+        * inspector/remote/RemoteInspectorXPCConnection.mm:
+        (Inspector::RemoteInspectorXPCConnection::handleEvent):
+
 2016-04-07  Keith Miller  <[email protected]>
 
         Rename ArrayMode::supportsLength to supportsSelfLength

Modified: trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorXPCConnection.h (199204 => 199205)


--- trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorXPCConnection.h	2016-04-08 00:19:45 UTC (rev 199204)
+++ trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorXPCConnection.h	2016-04-08 00:40:21 UTC (rev 199205)
@@ -68,7 +68,7 @@
     dispatch_queue_t m_queue;
     Client* m_client;
     bool m_closed { false };
-#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000)
+#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200)
     bool m_validated { false };
 #endif
 };

Modified: trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorXPCConnection.mm (199204 => 199205)


--- trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorXPCConnection.mm	2016-04-08 00:19:45 UTC (rev 199204)
+++ trunk/Source/_javascript_Core/inspector/remote/RemoteInspectorXPCConnection.mm	2016-04-08 00:40:21 UTC (rev 199205)
@@ -46,7 +46,7 @@
 }
 #endif
 
-#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000)
+#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200)
 static bool auditTokenHasEntitlement(audit_token_t token, NSString *entitlement)
 {
     auto task = adoptCF(SecTaskCreateWithAuditToken(kCFAllocatorDefault, token));
@@ -168,7 +168,7 @@
         return;
     }
 
-#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000)
+#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200)
     if (!m_validated) {
         audit_token_t token;
         xpc_connection_get_audit_token(m_connection, &token);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to