In WebKit also it allows to assign a new domain name to the child frame (through some domain relaxation script) provided it is a valid part of the parent domain name.
So a child frame can have a new domain name like 'app.server.com'. But later it denies the permission to access this frame as the domain is not matching with the parent.
Created attachment 15150 [details]
Sample html showing the error of domain mismatch
This html shows the error due to domain mismatch. It is not allowing to access the child frame once the domain is changed for it. It is allowing to change the domain, since the new domain is a substring of the parent domain.
just HTML & CSS
This is fixed at TOT. Please confirm by trying a nightly build from http://nightly.webkit.org/
Yes, works for me! Thx! :o)