RESOLVED LATER 82826
Add security checks for iframe seamless
https://bugs.webkit.org/show_bug.cgi?id=82826
Summary Add security checks for iframe seamless
Eric Seidel (no email)
Reported 2012-03-31 01:19:37 PDT
Add security checks for iframe seamless
Attachments
Patch (5.86 KB, patch)
2012-03-31 01:20 PDT, Eric Seidel (no email)
no flags
Patch for landing (6.01 KB, patch)
2012-04-01 12:46 PDT, Eric Seidel (no email)
webkit.review.bot: commit-queue-
Eric Seidel (no email)
Comment 1 2012-03-31 01:20:20 PDT
Eric Seidel (no email)
Comment 2 2012-03-31 01:28:05 PDT
We don't have to land this by itself, but I figure its easier to review in isolation. Ideally i'd present this whole series as a git branch instead of patches. :)
Adam Barth
Comment 3 2012-03-31 01:32:44 PDT
Comment on attachment 134950 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=134950&action=review This is fine, but I'd prefer to land this together with tests. > Source/WebCore/dom/Document.cpp:4755 > +static bool computeEligabilityForSeamless(Document* parent, Document* child) I would have called this isEligabilityForSeamless > Source/WebCore/dom/SecurityContext.h:70 > + bool mayDisplaySeamlessWithParent() const { return m_mayDisplaySeamlessWithParent; } Usually we use the word "can" rather than "may", although you're right that "may" is more grammatically correct. IMHO, we should use "can" for consistency. > Source/WebCore/dom/SecurityContext.h:85 > + // Set in Document::initSecurityContext() at Document creation, per: I'd remove this comment.
Alexey Proskuryakov
Comment 4 2012-04-01 00:25:22 PDT
> I would have called this isEligabilityForSeamless isEligibleForSeamless?
Eric Seidel (no email)
Comment 5 2012-04-01 12:46:18 PDT
Created attachment 135011 [details] Patch for landing
WebKit Review Bot
Comment 6 2012-04-01 12:48:26 PDT
Comment on attachment 135011 [details] Patch for landing Rejecting attachment 135011 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: geLog Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/ChangeLog.rej patching file Source/WebCore/dom/Document.cpp patching file Source/WebCore/dom/SecurityContext.cpp patching file Source/WebCore/dom/SecurityContext.h patching file Source/WebCore/html/HTMLIFrameElement.cpp patching file Source/WebCore/html/HTMLIFrameElement.h Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Full output: http://queues.webkit.org/results/12306374
Eric Seidel (no email)
Comment 8 2012-04-01 17:45:08 PDT
Will land this differently when merging the branch into trunk.
Note You need to log in before you can comment on or make changes to this bug.