WebView and Rtf

  • I have a Cocoa program which used to load rtf files into a WebView.
    It worked under 10.4.10 but now (10.4.11 with latest Security
    Updates) it does not work anymore.

    I get:
    - (void)webView:(WebView *)sender didFailProvisionalLoadWithError:
    (NSError *)error forFrame:(WebFrame *)frame
    with NSLocalizedDescription = "Frame load interrupted";

    When I try to load the same rtf in Safari, it is not displayed -
    instead TextView is started and opens with the rtf.

    What can I do to load my rtf in a WebView?

    A maybe related issue:
    Whenever I ⌥-click any link in Safari I get (since the last Security
    Update) a panel with:
    "DisplayWebContent.html� is an application.
    Are you sure you want to download the application
    “DisplayWebContent.html�?
    And two buttons: Cancel and Download.
    Of course this is not an application, just a normal web-page.

    When I Ctrl-click the same link and choose: Save Linked File to
    "Desktop" it works ok.

    Kind regards

    Gerriet.
  • Gerriet,

    Are you sure that this worked in 10.4.10?  I think it was
    (intentionally) broken in 10.4.7.  See <http://bugs.webkit.org/
    show_bug.cgi?id=10781
    >.

    The Webkitsdk-dev list <http://lists.apple.com/mailman/listinfo/
    webkitsdk-dev
    > might be a better forum for this question.

    -Jeff

    On Dec 25, 2007, at 11:00 AM, Gerriet M. Denkmann wrote:

    > I have a Cocoa program which used to load rtf files into a WebView.
    > It worked under 10.4.10 but now (10.4.11 with latest Security
    > Updates) it does not work anymore.
    >
    > I get:
    > - (void)webView:(WebView *)sender didFailProvisionalLoadWithError:
    > (NSError *)error forFrame:(WebFrame *)frame
    > with NSLocalizedDescription = "Frame load interrupted";
    >
    > When I try to load the same rtf in Safari, it is not displayed -
    > instead TextView is started and opens with the rtf.
    >
    > What can I do to load my rtf in a WebView?
    >
previous month december 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Go to today