Title: [212387] trunk/Tools
Revision
212387
Author
[email protected]
Date
2017-02-15 12:01:01 -0800 (Wed, 15 Feb 2017)

Log Message

webkitpy: Fix DarwinPort._get_crash_log()
https://bugs.webkit.org/show_bug.cgi?id=168372
<rdar://problem/30535156>

Reviewed by Daniel Bates.

Callers of _get_crash_log expect a pair to be returned and do not check it's return value.
DarwinPort should return the expected return value for _get_crash_log.

* Scripts/webkitpy/port/darwin.py:
(DarwinPort._get_crash_log): Call parent class's implementation of _get_crash_log.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (212386 => 212387)


--- trunk/Tools/ChangeLog	2017-02-15 19:55:20 UTC (rev 212386)
+++ trunk/Tools/ChangeLog	2017-02-15 20:01:01 UTC (rev 212387)
@@ -1,3 +1,17 @@
+2017-02-15  Jonathan Bedard  <[email protected]>
+
+        webkitpy: Fix DarwinPort._get_crash_log()
+        https://bugs.webkit.org/show_bug.cgi?id=168372
+        <rdar://problem/30535156>
+
+        Reviewed by Daniel Bates.
+
+        Callers of _get_crash_log expect a pair to be returned and do not check it's return value.  
+        DarwinPort should return the expected return value for _get_crash_log.
+
+        * Scripts/webkitpy/port/darwin.py:
+        (DarwinPort._get_crash_log): Call parent class's implementation of _get_crash_log.
+
 2017-02-15  Chris Dumez  <[email protected]>
 
         [iOS] Form Validation Bubble should be sensitive to Dynamic Type

Modified: trunk/Tools/Scripts/webkitpy/port/darwin.py (212386 => 212387)


--- trunk/Tools/Scripts/webkitpy/port/darwin.py	2017-02-15 19:55:20 UTC (rev 212386)
+++ trunk/Tools/Scripts/webkitpy/port/darwin.py	2017-02-15 20:01:01 UTC (rev 212387)
@@ -101,7 +101,7 @@
         return crash_log.find_all_logs(include_errors=True, newer_than=newer_than)
 
     def _get_crash_log(self, name, pid, stdout, stderr, newer_than, time_fn=None, sleep_fn=None, wait_for_log=True):
-        return None
+        return super(DarwinPort, self)._get_crash_log(name, pid, stdout, stderr, newer_than)
 
     def look_for_new_crash_logs(self, crashed_processes, start_time):
         """Since crash logs can take a long time to be written out if the system is
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to