News for hackers. Stuff that matters.
Re:Advanced objects in JavaScript by yoran on Tuesday August 26, 2014 @09:40AM (#8226990)
This is interesting, I hadn't heard of Oasis.js. Both approaches try to solve the same problem, i.e. manage to sandbox third-party scripts. However, the implementation is different: oasis.js uses iframes, we chose for not using iframes, mainly because iframes are not enough to limit access to security-sensitive APIs such as XHR, Geolocation and local storage.
Re:Advanced objects in JavaScript by Cyril-sf on Tuesday August 26, 2014 @12:48PM (#8228178)
One constraint for Oasis.js when picking a technology was the compatibility with IE8. So we use modern technology everywhere we can, but we have to find a way to polyfill them for older browsers (mostly IE8/9).