chromium/chrome/test/data/extensions/api_test/icons/extension_no_permission/index.js

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

var img = document.createElement('img');
img.onload = function() {
  document.title = 'Loaded';
};
img.onerror = function() {
  document.title = 'Not Loaded';
};
img.src = 'chrome://extension-icon/apocjbpjpkghdepdngjlknfpmabcmlao/24/0';
document.body.appendChild(img);