The subview chevron (the subviewbutton-nav class) is only added to view widgets created with SOURCE_BUILTIN. The Developer button is created by devtools through CustomizableUI.createWidget(), which always marked widgets as SOURCE_EXTERNAL, so it never got the indicator in the overflow menu even though it opens a subview. Add an optional source argument to the public and internal createWidget() (defaulting to SOURCE_EXTERNAL so existing callers are unaffected), and have DevToolsStartup create the Developer button with SOURCE_BUILTIN. Differential Revision: https://phabricator.services.mozilla.com/D311830