[Webkit-unassigned] [Bug 33806] Would like API to disallow setting of document.domain for pages with certain URL schemes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 18 14:31:10 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33806


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abarth at webkit.org




--- Comment #5 from Adam Barth <abarth at webkit.org>  2010-01-18 14:31:10 PST ---
+ if
(SecurityOrigin::isDomainRelaxationForbiddenForURLScheme(securityOrigin()->protocol()))
{

That line looks overly convoluted.  Why not just

if (securityOrigin()->canSetDomainFromDOM()) {

?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list