[webkit-reviews] review requested: [Bug 21288] Implement HTML5's sandbox attribute for iframes : [Attachment 43307] Thank you for your informative review. Here's our updated patch.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 16 07:48:51 PST 2009
Patrik Persson <patrik.j.persson at ericsson.com> has asked for review:
Bug 21288: Implement HTML5's sandbox attribute for iframes
https://bugs.webkit.org/show_bug.cgi?id=21288
Attachment 43307: Thank you for your informative review. Here's our updated
patch.
https://bugs.webkit.org/attachment.cgi?id=43307&action=review
------- Additional Comments from Patrik Persson <patrik.j.persson at ericsson.com>
* General: Clarified comments and added missing periods.
* Document, WebSocketChannel: Removed initializations of ignored
exceptions.
* Frame, HTMLFrameOwnerElement:
- Moved most of the sandbox flag management to Frame. Modified call
sites in JSDOMWindowCustom, ScriptController, and FrameLoader to
reflect this.
The flags from the attribute are still kept in
HTMLFrameOwnerElement. (There is not necessarily a frame available
to store the flags in when the attribute is parsed.)
- Sandbox flags are now copied to the document contained by the
Frame, rather than the one containing the Frame. This was a bug
on my part.
* HTMLAppletElement: Introduced private helper method isJavaEnabled().
* HTMLIFrameElement: Separated parsing of sandbox attribute from
assignment of sandbox status.
* We have _NOT_ accounted for "about:blank" frames. We agree with
Adam's comment that this should be addressed by a separate patch.
More information about the webkit-reviews
mailing list