Add new install location for built in search web extensions
Categories
(WebExtensions :: General, enhancement, P1)
Tracking
(firefox67 fixed)
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: daleharvey, Assigned: aswan)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
7.94 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Comment 1•5 years ago
|
||
Are we sure that this won't add any startup I/O before first paint?
Reporter | ||
Comment 2•5 years ago
|
||
We talked about performance worries. Andrew said the process shouldnt be expensive. We are going to be reading a bunch of json files from the omni jar instead of those xml files directly from disk afaik so it could be slower or faster, but will measure and if it causes any slowdown there are things we can do to make sure it is fast (like build the nssearchservice cache at build time for instance) Any pointers to tests I could use to verify / measure these issues would be very useful, thanks
Comment 3•5 years ago
|
||
(In reply to Dale Harvey (:daleharvey) from comment #2) > We talked about performance worries. Andrew said the process shouldnt be > expensive. > > We are going to be reading a bunch of json files from the omni jar instead > of those xml files directly from disk The xml files are in omni.ja too. My main question is if we are going to read more from the omni.ja before first paint of the browser UI. Currently the search service starts asynchronously after first paint, and we have a test ensuring that. Most of the add-on manager initialization happens before first paint. > Any pointers to tests I could use to verify / measure these issues would be > very useful, thanks The impact of I/O is hard to measure unfortunately, as it's not deterministic. Typically this would be more visible on cold startup on machines with slow rotating hard drives.
Assignee | ||
Updated•5 years ago
|
Reporter | ||
Comment 4•5 years ago
|
||
Hey Andrew whats your thoughts on this, especially with the plan of installing 'all' engines?
Reporter | ||
Comment 5•5 years ago
|
||
Ping Andrew Hey so we are going to be determining the status of this in terms of 66 vs 67 today and it looks like we would need to be landed by 10th. Is this something you can pick up shortly or is it something I can take with some guidance? Cheers Dale
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
I started on this before the holidays and ran into a small snag. Its at the top of my list though, I expect to finish it in the next day or two. I'll have an update for you either way at the end of today (US west coast time)
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Comment 8•5 years ago
|
||
I've attached my work-in-progress. The new test and existing xpcshell tests are passing but it needs some polish as well as more thorough testing. I hope to have it ready for review tomorrow.
Updated•5 years ago
|
Reporter | ||
Comment 9•5 years ago
|
||
Hey Andrew
As per IRC chat, I am testing this with unzipped web extensions in the omni jar and finding that the engines seem to install, but the promise returned never seems to resolve for me
Cheers
Dale
Reporter | ||
Comment 10•5 years ago
|
||
This is possibly my problem, I wanted to test this on a fresh patch but I might need some fixes from my patch to avoid a race here, will report back tonight
Reporter | ||
Comment 11•5 years ago
|
||
Just to confirm, it was a problem on my end, basing my work on top of this patch and it looks to be working well at the moment
Comment 12•5 years ago
|
||
Pushed by aswan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8952c559acfb Add new built-in addon location r=kmag
Comment 13•5 years ago
|
||
Backout for multiple failures e.g. bc, xpcshell, mochitest chrome
Failure logs:
bc: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=222830998&repo=autoland&lineNumber=3326
xpcshell: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=222830892&repo=autoland&lineNumber=2261
mochitest-chrome: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=222829552&repo=autoland&lineNumber=3477
Backout: https://hg.mozilla.org/integration/autoland/rev/b86c22898543ba5cefed5b453af7ef46dcc1dfb5
Assignee | ||
Comment 14•5 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e476cb7c0c0b9baaabfa0b75851ee2a922ec3678 Bug 1512436 Add new built-in addon location r=kmag
Comment 15•5 years ago
|
||
Backed out changeset e476cb7c0c0b (bug 1512436) for mochitest failures e.g. at browser/extensions/screenshots/test/browser/browser_screenshots_ui_check.js
Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/c486d86fd49fc2079255f8c96d94ec8c1fa2950a
Failure push: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=e476cb7c0c0b9baaabfa0b75851ee2a922ec3678
Failure logs:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=222984463&repo=mozilla-inbound&lineNumber=5041
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=222988266&repo=mozilla-inbound&lineNumber=2162
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=222988690&repo=mozilla-inbound&lineNumber=4317
Assignee | ||
Comment 16•5 years ago
|
||
I'll fix that test and re-land this after the soft freeze is over.
Reporter | ||
Comment 17•5 years ago
|
||
Andrew asked me to leave a needinfo with some follow ups that would be very useful
- Add support for hidden: true so we can avoid showing these in about:addons
- Expose an isSystem or similiar property so we can distinguish built in addons from user installed ones
Many thanks
Assignee | ||
Comment 18•5 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e3e75697e98c28a99c29930012c3c71334b01a82 Bug 1512436 Add new built-in addon location r=kmag
Comment 19•5 years ago
|
||
bugherder |
Assignee | ||
Comment 20•5 years ago
|
||
The patch above should cover the requests from comment 17, if anything got overlooked, lets open a new bug.
Updated•5 years ago
|
Comment 21•5 years ago
|
||
Can you please add some STRs to this issue or mark it as "qe-verify- " if no manual testing is needed ?
Assignee | ||
Comment 22•5 years ago
|
||
no manual testing needed, thanks.
Description
•