forked from mirrors/gecko-dev
Make the callsites call InspectorUtils.rgbToColorName instead. Since it was throwing when passed a non-valid named color, which wasn't the expected outcome in DevTools, modify the c++ method so it return an empty string instead. Add a dedicated test since there wasn't one. Differential Revision: https://phabricator.services.mozilla.com/D168989 |
||
|---|---|---|
| .. | ||
| tests | ||
| inDeepTreeWalker.cpp | ||
| inDeepTreeWalker.h | ||
| inIDeepTreeWalker.idl | ||
| inLayoutUtils.cpp | ||
| inLayoutUtils.h | ||
| InspectorFontFace.cpp | ||
| InspectorFontFace.h | ||
| InspectorUtils.cpp | ||
| InspectorUtils.h | ||
| moz.build | ||
| ServoStyleRuleMap.cpp | ||
| ServoStyleRuleMap.h | ||