The following work is done in the seveth week:
- Events API
- Added WebPage methods in Tabs API
- I18n API
- Documentation for Events and WebPage methods in Tab API
WebPage methods in Tabs API
Implementing acceptNavigationRequest for QML Plugins requires to expose some methods of WebPage class to QML. Now since the standard WebExtensions API doesnt differentiate WebView/WebPage from Tabs API - so the required methods are added to QmlTab class (similar to the WebExtensions Tabs API).
The I18n API exposes the methods i18n and i18np to the QML Plugins and uses gettext C API (similar to Python plugins, unlike C++ plugins). Since this uses libintl.h, it will probably not work under windows unless there is some way to make it available with MSVC. Also this API took most of my time, as I misunderstood
gettext similar to python extensions as exposing the gettext module of python to QML.