Bug 29334 - Add LayoutTests to test proper security checks for the cases when prototype of top window is set to child window
Summary: Add LayoutTests to test proper security checks for the cases when prototype o...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-17 09:48 PDT by anton muhin
Modified: 2009-09-17 12:44 PDT (History)
3 users (show)

See Also:


Attachments
First pass (9.37 KB, patch)
2009-09-17 09:53 PDT, anton muhin
no flags Details | Formatted Diff | Diff
ChangeLog updated (9.45 KB, patch)
2009-09-17 09:55 PDT, anton muhin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description anton muhin 2009-09-17 09:48:43 PDT
Adding some more Layout test which verify that fiddling with top window prototype doesn't lead to security troubles.

Sorry, not ideal component---best I could think of.
Comment 1 anton muhin 2009-09-17 09:53:28 PDT
Created attachment 39699 [details]
First pass
Comment 2 anton muhin 2009-09-17 09:55:37 PDT
Created attachment 39700 [details]
ChangeLog updated
Comment 3 Adam Barth 2009-09-17 10:01:17 PDT
Comment on attachment 39700 [details]
ChangeLog updated

The names of the tests are not ideal because they don't say anything about about globals or __proto__, but I don't think that matters very much.
Comment 4 WebKit Commit Bot 2009-09-17 12:22:52 PDT
Comment on attachment 39700 [details]
ChangeLog updated

Rejecting patch 39700 from commit-queue.

Failed to run "['git', 'svn', 'dcommit']" exit_code: 1
Committing to http://svn.webkit.org/repository/webkit/trunk ...
Comment 5 Eric Seidel (no email) 2009-09-17 12:24:59 PDT
Comment on attachment 39700 [details]
ChangeLog updated

You were bitten by bug 28316, which I'm working on fixing this week. Sorry. :(
Comment 6 WebKit Commit Bot 2009-09-17 12:43:56 PDT
Comment on attachment 39700 [details]
ChangeLog updated

Clearing flags on attachment: 39700

Committed r48484: <http://trac.webkit.org/changeset/48484>
Comment 7 WebKit Commit Bot 2009-09-17 12:44:00 PDT
All reviewed patches have been landed.  Closing bug.