Closed
Bug 901773
Opened 11 years ago
Closed 11 years ago
Two GK_ATOM's with "_moz-type"
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: martijn.martijn, Assigned: ehsan.akhgari)
References
()
Details
Attachments
(1 file)
1.75 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
(not sure if this is a bug, but it seems like it to me) In the source, I'm seeing 2 times GK_ATOM to refer to "_moz-type". It seems to me, ideally, we would only have one of these. http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsGkAtomList.h#38 GK_ATOM(moztype, "_moz-type") http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsGkAtomList.h#52 GK_ATOM(_moz_type, "_moz-type")
Assignee | ||
Comment 1•11 years ago
|
||
Comment on attachment 788321 [details] [diff] [review] Patch (v1) Review of attachment 788321 [details] [diff] [review]: ----------------------------------------------------------------- I wonder if it's possible to test this somehow.
Attachment #788321 -
Flags: review?(khuey) → review+
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #2) > Comment on attachment 788321 [details] [diff] [review] > Patch (v1) > > Review of attachment 788321 [details] [diff] [review]: > ----------------------------------------------------------------- > > I wonder if it's possible to test this somehow. Should be possible to write a C++ test for it, where you try to detect duplicates. You can #include "nsGkAtomList.h" for the win. Feel free to file a bug and assign it to me if that doesn't make sense.
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ea854a4e9e95
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ea854a4e9e95
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•