Stop using [array] in places IDLs
Categories
(Toolkit :: Places, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
(Blocks 2 open bugs)
Details
Attachments
(6 files, 1 obsolete file)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
The old code used variants with SetAsAUTF8String, which would get converted to
a string when going into JS. We can just use Array<AUTF8String> directly
instead. C++ callers would need to change, but there aren't any.
That said, there are no non-test callers either, so maybe we could just remove
this API?
| Assignee | ||
Comment 5•6 years ago
|
||
| Assignee | ||
Comment 6•6 years ago
|
||
| Assignee | ||
Comment 7•6 years ago
|
||
I audited the various callsites that pass in nsIFaviconDataCallback to
nsIFaviconService methods. I think I got all the ones that needed changing...
| Assignee | ||
Comment 8•6 years ago
|
||
I'm going to move part 7 to a different bug, and see whether I can avoid that data copy it adds.
Updated•6 years ago
|
Comment 10•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/722c158c5386
https://hg.mozilla.org/mozilla-central/rev/f5db7f234584
https://hg.mozilla.org/mozilla-central/rev/4c91b3e1fede
https://hg.mozilla.org/mozilla-central/rev/87a537f8e5a8
https://hg.mozilla.org/mozilla-central/rev/5db31f792bf4
https://hg.mozilla.org/mozilla-central/rev/fb8cc6cad30a
Description
•