As discussed on IRC, web developers find it useful to disable the same-origin policy when regression testing their web site (e.g., with Selenium). Firefox has this option. So should we.
Created attachment 26745 [details]
These methods should be added to WebPreferencesPrivate rather than WebPreferences as they need to go through Apple API review before they can be added to an API header file.
Comment on attachment 26745 [details]
Ok. Clearing review flag.
Created attachment 26747 [details]
I figured out how to do this for mac. Is there a similar issue on windows?
Steve or Adam Roben would know what our policy is for API vs SPI on Windows.
We make the Windows API change in the interface that matches the Mac. So WebPreferences->IWebPreferences, WebPreferencesPrivate->IWebPreferencesPrivate.
One problem with your patch: you need to add new methods to COM interfaces at the *end* to preserve the vtable order. Otherwise, you break compatibility.
Comment on attachment 26747 [details]
Ok. Will do. Clearing review flag while I re-spin the patch.
Created attachment 26828 [details]
This version should address the above comments (thanks!).
Friendly ping. :)
(I secretly want to land this because it will help with Bug 20249.)
Comment on attachment 26828 [details]
(In reply to comment #10)
> Doh. r=me
Committing to http://svn.webkit.org/repository/webkit/trunk ...