Changeset 215240 in webkit


Ignore:
Timestamp:
Apr 11, 2017, 10:34:01 AM (9 years ago)
Author:
mitz@apple.com
Message:

[iOS] Simple HTML documents should allow non-markup JavaScript
https://bugs.webkit.org/show_bug.cgi?id=170734

Reviewed by Sam Weinig.

  • WebView/WebView.mm:

(-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]): Enabled scripting

but disabled scripting markup.

Location:
trunk/Source/WebKit/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/mac/ChangeLog

    r215219 r215240  
     12017-04-11  Dan Bernstein  <mitz@apple.com>
     2
     3        [iOS] Simple HTML documents should allow non-markup JavaScript
     4        https://bugs.webkit.org/show_bug.cgi?id=170734
     5
     6        Reviewed by Sam Weinig.
     7
     8        * WebView/WebView.mm:
     9        (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]): Enabled scripting
     10          but disabled scripting markup.
     11
    1122017-04-10  Alex Christensen  <achristensen@webkit.org>
    213
  • trunk/Source/WebKit/mac/WebView/WebView.mm

    r215201 r215240  
    17371737    _private->page->settings().setPictographFontFamily("AppleColorEmoji");
    17381738   
     1739    _private->page->settings().setScriptMarkupEnabled(false);
     1740    _private->page->settings().setScriptEnabled(true);
     1741   
    17391742    // FIXME: this is a workaround for <rdar://problem/11518688> REGRESSION: Quoted text font changes when replying to certain email
    17401743    _private->page->settings().setStandardFontFamily([_private->preferences standardFontFamily]);
Note: See TracChangeset for help on using the changeset viewer.