Open Bug 1855143 Opened 2 years ago Updated 3 months ago

Remove global constructors from widget/gtk/MPRISServiceHandler

Categories

(Core :: Widget: Gtk, task)

task

Tracking

()

People

(Reporter: sergesanspaille, Assigned: sergesanspaille, NeedInfo)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(1 file)

Using the frozen library we can use compile-time initialized hash table instead of runtime initialized ones.

Attachment #9355022 - Attachment description: WIP: Bug 1855143 - Use frozen to store statically initialized hash map in widget/gtk/MPRISServiceHandler → Bug 1855143 - Use frozen to store statically initialized hash map in widget/gtk/MPRISServiceHandler
Component: General → Widget: Gtk
Attachment #9355022 - Attachment description: Bug 1855143 - Use frozen to store statically initialized hash map in widget/gtk/MPRISServiceHandler → WIP: Bug 1855143 - Use frozen to store statically initialized hash map in widget/gtk/MPRISServiceHandler
Attachment #9355022 - Attachment description: WIP: Bug 1855143 - Use frozen to store statically initialized hash map in widget/gtk/MPRISServiceHandler → Bug 1855143 - Use frozen to store statically initialized hash maps in widget/gtk/MPRISServiceHandler
Pushed by sguelton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ba29fe0cccd9 Use frozen to store statically initialized hash maps in widget/gtk/MPRISServiceHandler r=emilio

Backed out 4 changesets (Bug 1855143, Bug 1855144, Bug 1855136, Bug 1855145) for causing mochitest failures @ test_bug1354633_media_error.html.

TEST-UNEXPECTED-FAIL | browser/components/resistfingerprinting/test/mochitest/test_bug1354633_media_error.html | Error message in allowlist: 404: Not Found - got "", expected "404: Not Found"
Flags: needinfo?(sguelton)
Attachment #9355022 - Attachment description: Bug 1855143 - Use frozen to store statically initialized hash maps in widget/gtk/MPRISServiceHandler → Bug 1855143 - Use frozen to store statically initialized hash maps in widget/gtk/MPRISServiceHandler r=glandium
Attachment #9355022 - Attachment description: Bug 1855143 - Use frozen to store statically initialized hash maps in widget/gtk/MPRISServiceHandler r=glandium → Bug 1855143 - Use frozen to store statically initialized hash maps in widget/gtk/MPRISServiceHandler r=glandium!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: