DescriptionIn order to fix whitelisting for Safari, I have added an abstraction layer for frames. So event handlers for ext.webRequest.onBeforeload and ext.onMessage, receive a Frame object, instead of Chrome-specific frame ids, now. Also I had to implement key-based whitelisting via HTML attribute, because of in Safari there is no way to read response headers. This patch is huge since I had to change all code that relied on frames.
Also I had to use the onBeforeNavigate event in order to make thing work cross Chrome/Safari. But this event belongs to the webNavigation API on Chromium. So I broke compatibility with Opera 15-16. Please let me know whether whether we can drop compatibility for Opera 15 and 16 (18 is current stable). Otherwise I could easily implement a fallback based on content scripts and the beforeunload event.
Patch Set 1 #
Total comments: 21
Patch Set 2 : Rebased and addressed comments #
Total comments: 1
Patch Set 3 : Addressed another comment #
MessagesTotal messages: 6
|