Closed
Bug 1247894
Opened 10 years ago
Closed 9 years ago
Move about:loop* definitions into the Loop add-on
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: standard8, Assigned: dmosedale)
References
Details
(Whiteboard: [add-on independence][47][btpp-fix-now])
Attachments
(3 files, 1 obsolete file)
Currently the about:loop* definitions exist in the core of the desktop browser:
http://hg.mozilla.org/mozilla-central/annotate/576a6dcde5b6/browser/components/about/AboutRedirector.cpp#l104
We should move these to the add-on so that its easier for us to add/change them independently of the Firefox releases. Pocket has already done this:
http://hg.mozilla.org/mozilla-central/annotate/576a6dcde5b6/browser/extensions/pocket/bootstrap.js#l77
I think we should do the same.
Note: we'll need to additionally implement getIndexedDBOriginPostfix in the about page handler to return the appropriate value if the uri matches.
Updated•10 years ago
|
Rank: 29
Priority: -- → P2
Whiteboard: [add-on independence] → [add-on independence][btpp-fix-later]
| Reporter | ||
Comment 1•9 years ago
|
||
I think we want to bump this up the priority queue - its looking like we need to alter the about: uris for the work we're doing so having this in place would be the obvious thing to do.
Rank: 29 → 19
Priority: P2 → P1
Whiteboard: [add-on independence][btpp-fix-later] → [add-on independence]
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → dmose
Comment 2•9 years ago
|
||
| Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8741456 [details] [review]
Link to Github pull-request: https://github.com/mozilla/loop/pull/360
The functional tests should explode badly if things go wrong in this code, so that seems like sufficient coverage.
Attachment #8741456 -
Attachment description: [loop] dmose:about-urls-in-addon-1247894 > mozilla:master → Link to Github pull-request: https://github.com/mozilla/loop/pull/360
Attachment #8741456 -
Flags: review?(standard8)
| Reporter | ||
Comment 4•9 years ago
|
||
This is the patch I used to test the add-on against FF.
| Reporter | ||
Comment 5•9 years ago
|
||
Comment on attachment 8741456 [details] [review]
Link to Github pull-request: https://github.com/mozilla/loop/pull/360
I left some comments in the PR, I think there's still things in the conversation window to sort out at least.
Attachment #8741456 -
Flags: review?(standard8)
| Reporter | ||
Updated•9 years ago
|
Whiteboard: [add-on independence] → [add-on independence][47][btpp-fix-now]
| Assignee | ||
Updated•9 years ago
|
Attachment #8741456 -
Flags: review?(standard8)
| Reporter | ||
Updated•9 years ago
|
Attachment #8741456 -
Flags: review?(standard8)
| Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8741456 [details] [review]
Link to Github pull-request: https://github.com/mozilla/loop/pull/360
Review/feedback/thoughts requested here, including about tests. Lots of the latest context in the PR.
Attachment #8741456 -
Flags: review?(standard8)
| Reporter | ||
Comment 8•9 years ago
|
||
Comment on attachment 8741456 [details] [review]
Link to Github pull-request: https://github.com/mozilla/loop/pull/360
Ok, I've had a play around with this. Adding
<em:multiprocessCompatible>true</em:multiprocessCompatible>
just after the `em:type` in install.rdf.in fixes the issues when run with my patch (note: *.in files don't auto-rebuild via runserver). Which means we're still hitting an issue with the shims even doing it the new way.
Due to the fact that akita needs an extra about: page for the toc, we're going to need to do something. That means turning off multiprocess compatible for us.
I'd still like to poke at the shims and see if we can get them fixed, however, for now, how about we retarget this for landing on Akita?
We can land with the patch roughly as-is, but with the multiprocess compat flag set to true, and not land the FF removals for the pages.
That will unblock the akita work, and get us something that we can start testing. If the shims can be fixed, we can consider what we want to do later wrt master - I'm still keen on getting this into FF land for some earlier testing.
I've not thought about tests too much yet. It doesn't look super scary. I think testing shutdown/unload with anything other than manual is going to be potentially difficult anyway. Lets punt on that we do the restartless testing (it doesn't really affect FF users, only people manually installing the add-on).
Attachment #8741456 -
Flags: review?(standard8)
Comment 9•9 years ago
|
||
| Assignee | ||
Comment 10•9 years ago
|
||
This PR attempts to back out the old version of the about:loop branch from the akita patch (which turned out to be more exciting than anticipated due to some interleaved commits), and land the most up-to-date version. There's at least one problem where the sidebar doesn't load that needs to be tracked down, plus some manual testing to make sure nothing else got broken is necessary. I also haven't yet made the tweaks suggested in comment 8, which is why this is still WIP.
| Reporter | ||
Comment 11•9 years ago
|
||
Just to follow-up on comment 8, I've filed bug 1271244 on the core issue. We'll work out how to deal with this as we move forward.
See Also: → 1271244
| Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8750173 [details] [review]
[loop] dmose:about-loop-backout-reland > mozilla:akita
This seems to be basically working, at least well-enough for the akita branch...
Attachment #8750173 -
Flags: review?(standard8)
| Reporter | ||
Comment 13•9 years ago
|
||
Comment on attachment 8750173 [details] [review]
[loop] dmose:about-loop-backout-reland > mozilla:akita
The code is good. r=Standard8 with the comments addressed.
Attachment #8750173 -
Flags: review?(standard8) → review+
| Assignee | ||
Comment 14•9 years ago
|
||
Adding a needinfo to myself to summarize the state of both akita and master, and file any spin-off bugs, including testing ones.
Flags: needinfo?(dmose)
| Assignee | ||
Updated•9 years ago
|
Rank: 19 → 22
Flags: needinfo?(dmose)
| Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(dmose)
| Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(dmose)
| Reporter | ||
Comment 15•9 years ago
|
||
Support for Hello/Loop has been discontinued.
https://support.mozilla.org/kb/hello-status
Hence closing the old bugs. Thank you for your support.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•