⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 249699 in webkit


Ignore:
Timestamp:
Sep 9, 2019, 8:20:05 PM (7 years ago)
Author:
Alan Coon
Message:

Cherry-pick r249624. rdar://problem/55202935

Marking up a note on iOS results in a PDF with no contents
https://bugs.webkit.org/show_bug.cgi?id=201530
<rdar://problem/53686019>

Unreviewed follow-up.

  • UIProcess/ios/WKContentView.mm: (-[WKContentView _waitForDrawToPDFCallback]): Remove an ASSERT_NOT_REACHED that fires if the synchronous wait for printing times out. This is a totally legitimite situation that can occur if the process crashes; there's no need for an assert there.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249624 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-608-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-608-branch/Source/WebKit/ChangeLog

    r249698 r249699  
     12019-09-09  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Cherry-pick r249624. rdar://problem/55202935
     4
     5    Marking up a note on iOS results in a PDF with no contents
     6    https://bugs.webkit.org/show_bug.cgi?id=201530
     7    <rdar://problem/53686019>
     8   
     9    Unreviewed follow-up.
     10   
     11    * UIProcess/ios/WKContentView.mm:
     12    (-[WKContentView _waitForDrawToPDFCallback]):
     13    Remove an ASSERT_NOT_REACHED that fires if the synchronous wait for printing
     14    times out. This is a totally legitimite situation that can occur if the process
     15    crashes; there's no need for an assert there.
     16   
     17   
     18    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     19
     20    2019-09-07  Tim Horton  <timothy_horton@apple.com>
     21
     22            Marking up a note on iOS results in a PDF with no contents
     23            https://bugs.webkit.org/show_bug.cgi?id=201530
     24            <rdar://problem/53686019>
     25
     26            Unreviewed follow-up.
     27
     28            * UIProcess/ios/WKContentView.mm:
     29            (-[WKContentView _waitForDrawToPDFCallback]):
     30            Remove an ASSERT_NOT_REACHED that fires if the synchronous wait for printing
     31            times out. This is a totally legitimite situation that can occur if the process
     32            crashes; there's no need for an assert there.
     33
    1342019-09-09  Kocsen Chung  <kocsen_chung@apple.com>
    235
  • branches/safari-608-branch/Source/WebKit/UIProcess/ios/WKContentView.mm

    r249697 r249699  
    750750- (BOOL)_waitForDrawToPDFCallback
    751751{
    752     if (!_page->process().connection()->waitForAndDispatchImmediately<Messages::WebPageProxy::DrawToPDFCallback>(_page->webPageID(), Seconds::infinity())) {
    753         ASSERT_NOT_REACHED();
     752    if (!_page->process().connection()->waitForAndDispatchImmediately<Messages::WebPageProxy::DrawToPDFCallback>(_page->pageID(), Seconds::infinity()))
    754753        return false;
    755     }
    756754    ASSERT(!_isPrintingToPDF);
    757755    return true;
Note: See TracChangeset for help on using the changeset viewer.