For inclusive software, we should avoid using the term "dumb" in the source. The most common one is DumbPtrTraits. There's also a few in JSC: emitDumbVirtualCall() etc.
<rdar://problem/70349482>
report-non-inclusive-language should catch this.
Created attachment 412343 [details] Patch
Can I get some clarification as to why we think this is important and what the logic is behind it? I (and perhaps others) actually don't know, although I have an idea. For example, I don't know if we should also remove references to "dummy" since "dummy" and "dumb" share the same origin? I think it would be useful for people entering the project to be able to learn about inclusivity without having to ask someone.
"Dumb" is clearly a term that refers to someone who is unable to speak. I'm not sure about "Dummy"
(In reply to Alex Christensen from comment #5) > "Dumb" is clearly a term that refers to someone who is unable to speak. I'm > not sure about "Dummy" I wouldn't say clearly since I think only native English speakers (and probably only a subset of them) know about the origin of the word "dumb" or its ties to speaking. As far as I know, "dummy" is/was the noun version of "dumb", although, its relation to speaking is now considered archaic. Anyway, I'm not against this change, I just think it's important to create an easy to find description about which words we allow or not and why. Especially for people contributing that don't speak English as a first language and may have been taught terminology we'd like to avoid.
http://trac.webkit.org/r268993
Thank you! This has really bothered me for some time.
(In reply to Keith Miller from comment #4) > Can I get some clarification as to why we think this is important and what > the logic is behind it? I (and perhaps others) actually don't know, although > I have an idea. For example, I don't know if we should also remove > references to "dummy" since "dummy" and "dumb" share the same origin? In general, words like "stupid", "dumb", "retard", etc... are considered hurtful / harmful language for someone with intellectual disabilities and their friends and family. Your point about dummy is valid though. We should probably use some other term like "mock" or "sample".
By the way, this has broken binary compatibility with open-source builds (because those builds use the system WebInspector.framework).
What symbol is missing? We have added symbol stubs for this before.
(In reply to Alex Christensen from comment #11) > What symbol is missing? We have added symbol stubs for this before. The rename of RefPtr's template type means any function that accepts a RefPtr no longer matches what the caller looks for.
See also: https://bugs.webkit.org/show_bug.cgi?id=216945 and https://bugs.webkit.org/show_bug.cgi?id=215961