This is a bug report.

**Expected Behavior**
React should not suggest me to download the DevTools extension in a `chrome-extension://` page, because the extension has no permission to inject the devtool.

**Actual Behavior**
`Download the React DevTools and use an HTTP server (instead of a file: URL) for a better development experience: https://fb.me/react-devtools`

**Reproducing**

1. Create a Chrome extension with an `option` or `popup` page that uses React
2. Load the extension to Chrome and open up that page.
3. Observe console.

**Version**
Google Chrome 56.0.2924.3
React 15.4.0

if (!container) {
    return null;
  }
  if (container.nodeType === DOCUMENT_NODE) {
    return container.documentElement;
  } else {
    return container.firstChild;
  }
}
function shouldHydrateDueToLegacyHeuristic(container) {
  const rootElement = getReactRootElementInContainer(container);
  return !!(rootElement &&
    rootElement.nodeType === ELEMENT_NODE &&
    rootElement.hasAttribute(ROOT_ATTRIBUTE_NAME));
}
function shouldAutoFocusHostComponent(type: string, props: Props): boolean {
  switch (type) {
    case 'button':
    case 'input':
    case 'select':
    case 'textarea':
      return !!props.autoFocus;
  }
  return false;
}
var DOMRenderer = ReactFiberReconciler({
  getRootHostContext(rootContainerInstance: Container): HostContext {
    let type;
    let namespace;