Bug 170734

Summary: [iOS] Simple HTML documents should allow non-markup JavaScript
Product: WebKit Reporter: mitz
Component: WebKit Misc.Assignee: mitz
Status: RESOLVED FIXED    
Severity: Normal CC: sam, thorton, wenson_hsieh
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Enable non-markup scripting sam: review+

mitz
Reported 2017-04-11 10:27:30 PDT
A WebView initialized with -[WebView(WebPrivate) initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:] should allow script evaluation, excluding script embedded in markup. Patch forthcoming.
Attachments
Enable non-markup scripting (1.47 KB, patch)
2017-04-11 10:29 PDT, mitz
sam: review+
mitz
Comment 1 2017-04-11 10:29:45 PDT
Created attachment 306830 [details] Enable non-markup scripting
Sam Weinig
Comment 2 2017-04-11 10:31:05 PDT
We should really try to get rid of "simple" HTML documents. Does it serve a performance purpose still?
mitz
Comment 3 2017-04-11 10:34:17 PDT
Note You need to log in before you can comment on or make changes to this bug.