[Webkit-unassigned] [Bug 83721] Framesniffing defense is too aggressive.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 16 11:26:30 PDT 2012


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


James Robinson <jamesr at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #137174|review?                     |review+
               Flag|                            |




--- Comment #12 from James Robinson <jamesr at chromium.org>  2012-04-16 11:26:30 PST ---
(From update of attachment 137174)
View in context: https://bugs.webkit.org/attachment.cgi?id=137174&action=review

This looks pretty good to me. One style nitpick.

> Source/WebCore/loader/FrameLoader.cpp:2693
> +    if (boundaryFrame.get())

You can (and WebKit code typically does) null-check smart pointers by just doing:

if (boundaryFrame)

since RefPtr/OwnPtr implement operator bool()

> LayoutTests/http/tests/navigation/anchor-frames-same-origin.html:1
> +<html>

For new tests, we typically add a <!DOCTYPE html> declaration to put the page in standards (as opposed to quirks) mode unless we specifically want to check a quirks behavior. most of the time it doesn't make a difference, but it's useful to have the lack of a doctype mean that there is something quirks-mode-specific going on

-- 
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