Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.3.9 Changes to Webkit



>We cannot say that
stringByEvaluatingJavaScriptFromString does not
> work at all. It does, only the JS it accepts seems
to be more 
>restricted. In my case it's multltiple frames that do
not work any 
>more: I have a Javascript in a main page that tries
to write into 3 
>different subframes. Whatever tricks I try I cannot
access the 
>subframes any more, they are all "undefined". What
makes all this 
>especially nasty is that it's very hard to learn what
the Javascript 
>actually does - it just fails silently.

If you're loading your frames/subframes from within
your app (by using something like loadHTMLstring... or
loadData...) you might try specifying a non-nil
baseURL (any url) so that it doesn't end up in a
'local domain'.

Of course I have no clue why Apple decided a frames
all in the local domain can't access each other; it's
not like one of them is from a totally different
domain.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.