Export Database::MaxUrlLength() to the JS modules
Categories
(Toolkit :: Places, task, P3)
Tracking
()
People
(Reporter: nanj, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [snt-scrubbed][places-tech-debt])
Updated•9 years ago
|
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Updated•3 years ago
|
Comment 13•3 years ago
|
||
We should look at the various code points defining the url lengths and unify those.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 14•3 years ago
|
||
There are many points where we refer to a url max length, and that makes things more confusing. we should investigate common values and expose them from a single place
https://searchfox.org/mozilla-central/rev/028c68d5f32df54bca4cf96376f79e48dfafdf08/toolkit/components/places/Database.h#396
https://searchfox.org/mozilla-central/rev/028c68d5f32df54bca4cf96376f79e48dfafdf08/docshell/base/BaseHistory.cpp#48
https://searchfox.org/mozilla-central/rev/028c68d5f32df54bca4cf96376f79e48dfafdf08/toolkit/components/places/PlacesUtils.sys.mjs#174
https://searchfox.org/mozilla-central/rev/028c68d5f32df54bca4cf96376f79e48dfafdf08/toolkit/components/places/SyncedBookmarksMirror.sys.mjs#75
and so on
Comment 15•3 years ago
|
||
Tangentially related, because Desktop Places and Mobile Places really need to agree on this value, the Rust code defines this constant here.
Description
•