-
Notifications
You must be signed in to change notification settings - Fork 9
Remove all Xul Dependencies #14
Comments
Things we need to get rid of --
Using Chrome URL's and
We've used preferences via the Yes, we don't use much of |
It looks like the new extension API will support This may remove any need to keep the storage shim around! |
Using
But now the ajax calls fail due to a Cross-Origin-Request. But I was thinking if we should go about solving this first rather than removing the usage of Preferences. Preferences would have to be removed anyways regardless of whether we use So if we were to remove Preferences, one way would be to use the context messenger to send and receive stored content from the Extension scripts(that could make use of Do you know what can be done to solve the Cross-Origin-Request issue ? Some changes in the server side can correct this ? I haven't looked much into the network services. |
When using I realized that |
We should be able to solve all the server cross-origin issues within a |
+1. I think we should go ahead with submitting the add-on for review and then based on the review, try out the experiments if necessary. |
Sounds good. I don't think the new policies are in effect at this point, so we should be able to ask these questions over the next few reviews. |
I spoke with a mozilla dev on irc today - |
But the question is if we should continue enhancing Jetpack ? Or wait and switch to WebExtensions? 😢 With the WebExtensions API we can have one extension with minor changes for both Firefox and Chrome, which would help in maintainability. But if we plan to keep two separate extensions, then we might as well start making changes in Jetpack. |
This whole thing is a repeat of history from the introduction of JetPack. This time it is WebExtensions playing the part of JetPack, and JetPack is the new Xul. JetPack has everything we need and we apparently have a small number of changes to make for the post-Xul world. Further, the only major change we need in JetPack to reach parity with Chrome is to support seamless posting. Since the seamless posting changes are mostly in content scripts, things are unlikely to change if we move to WebExtensions. I would expect we have 2-4 years before Mozilla deprecates JetPack and we have about a year until we would want to migrate to WebExtensions. I think this constitutes a "want" rather than a "need" because most Privly development will not be inside privly-JetPack when WebExtensions is released. privly-applications is slowly eating the extension-specific code. Mozilla says they really want input on the WebExtensions API, which we may need to give in the next 6 months if we want to decrease the likelihood of them blocking our use case. My proposal:
|
The day of reckoning has arrived and Mozilla has (finally) deprecated Xul. It looks like we are in good shape with the JetPack extension since we make minimal use of the XPCom and
require("chrome")
. Still, we need to refactor all these references so the JetPack extension will not get swept up in the Firefox extension apocalypse.The text was updated successfully, but these errors were encountered: