blackberry-webworks/BB10-WebWorks-Framework — pull request #127 by jeffheifetz (2012-08-13 16:29:15+00:00)
Title: Jeffheifetz/whitelisting rewrite

After this change basic websecurity should be enabled. This should prevent iframes from accessing window.top among other things.

This should NOT affect navigation or api usage compared to before. However this will affect XHR usage.

From now on will not allow cross site xhr access, this will need to be enabled explicitly with a specific tag. Additionally an alert dialog will not pop-up however you will see an explicit error in the console of webinspector (generated by webkit). @kwallis @nukulb are these acceptable changes?

This pull request still needs working functional tests, but the code and unit tests are complete.