Use Map instead of object literal in browser-plugins.js for hash tables

RESOLVED FIXED in seamonkey2.16

Status

SeaMonkey
General
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: neil@parkwaycc.co.uk, Assigned: neil@parkwaycc.co.uk)

Tracking

unspecified
seamonkey2.16

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
+++ This bug was initially created as a clone of Bug #799396 +++

An object literal is used to track missing plugins. If a plugin were to have the name of "__proto__" this could cause some really odd bugs to crop up.
(Assignee)

Comment 1

5 years ago
Created attachment 680280 [details] [diff] [review]
Proposed patch
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #680280 - Flags: review?(bugzilla)
Comment on attachment 680280 [details] [diff] [review]
Proposed patch

Review of attachment 680280 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, the tests pass and plugin finder service works again.
Attachment #680280 - Flags: review?(bugzilla) → review+
(Assignee)

Comment 3

5 years ago
Pushed comm-central changeset 0d23a44bda98.
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Updated

5 years ago
Target Milestone: --- → seamonkey2.16
You need to log in before you can comment on or make changes to this bug.