Glavin001 / atom-preview

:construction: (NO LONGER MAINTAINED) :construction: - :eyeglasses: Ultimate previewer of source code in Atom.
https://atom.io/packages/preview
MIT License
51 stars 23 forks source link

Uncaught SecurityError: Failed to read the 'cookie' property from 'Document': Access is denied for this document. #80

Open simspace-dev opened 9 years ago

simspace-dev commented 9 years ago

[Enter steps to reproduce below:]

Whenever I type anything in a .JS file this error pops up.

When I removed the package I got this error ... "Uninstalling “atom-beautify” failed. Failed to delete atom-beautify: ENOENT, no such file or directory '/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/js-beautify/js/lib/unpackers'"

After restarting Atom the package was gone and the errors stopped.

Atom Version: 0.176.0 System: Mac OS X 10.8.5 Thrown From: preview package, v0.13.4

Stack Trace

Uncaught SecurityError: Failed to read the 'cookie' property from 'Document': Access is denied for this document.

At /Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121

Error: Failed to read the 'cookie' property from 'Document': Access is denied for this document.
  at Error (native)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:31)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at _clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:121:18)
  at clone (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/node_modules/clone/clone.js:127:10)
  at Analytics.enqueue (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/lib/index.js:178:13)
  at Analytics.track (/Users/chris.simeone/.atom/packages/atom-beautify/node_modules/analytics-node/lib/index.js:90:8)
  at PreviewView.module.exports.PreviewView.renderPreviewWithRenderer (/Users/chris.simeone/.atom/packages/preview/lib/preview-view.coffee:288:20)
  at PreviewView.renderPreviewWithRenderer (/Users/chris.simeone/.atom/packages/preview/lib/preview-view.coffee:1:1)
  at PreviewView.module.exports.PreviewView.renderPreview (/Users/chris.simeone/.atom/packages/preview/lib/preview-view.coffee:155:6)
  at PreviewView.renderPreview (/Users/chris.simeone/.atom/packages/preview/lib/preview-view.coffee:1:1)
  at later (/Applications/Atom.app/Contents/Resources/app/node_modules/roaster/node_modules/underscore/underscore.js:724:25)

Commands

  2x -2:46.1 core:backspace (atom-text-editor.editor.is-focused)
     -2:45.5 editor:newline (atom-text-editor.editor.is-focused)
 12x -2:44.5 editor:move-to-end-of-word (atom-text-editor.editor.is-focused)
  3x -2:42.2 core:move-right (atom-text-editor.editor.is-focused)
  3x -2:41.5 core:backspace (atom-text-editor.editor.is-focused)
     -2:22.4 core:save (atom-workspace.workspace.scrollbars-visible-always.theme-suranyami-light-syntax.theme-suranyami-light-ui)
     -1:15.8 core:move-right (atom-text-editor.editor.is-focused)
     -1:15.3 core:move-left (atom-text-editor.editor.is-focused)
     -1:14.6 core:backspace (atom-text-editor.editor.is-focused)
     -1:14.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)
     -1:13.5 core:backspace (atom-text-editor.editor.is-focused)
     -0:05.2 core:move-down (atom-text-editor.editor.is-focused)
     -0:05.0 core:move-left (atom-text-editor.editor.is-focused)
     -0:04.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:03.7 core:backspace (atom-text-editor.editor.is-focused)
  3x -0:03.0 editor:move-to-end-of-word (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "emmet"
    ],
    "themes": [
      "suranyami-light-ui",
      "suranyami-light-syntax"
    ]
  },
  "preview": {
    "_analyticsUserId": "9a4fa5ad-032e-4a26-bac2-d4bccc204d1e"
  }
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.2.3
atom-lint, v0.20.1
change-case, v0.4.0
color, v0.5.0
git-log, v0.2.0
linter, v0.10.1
linter-ruby, v0.1.4
minimap, v3.5.6
open-last-project, v0.1.1
open-terminal-here, v0.2.0
preview, v0.13.4
project-manager, v1.15.5
rest-client, v0.3.1
rsense, v0.6.0
soft-wrap-indicator, v0.4.0
suranyami-light-syntax, v0.8.0
suranyami-light-ui, v0.5.0
tabclick, v0.1.0
toggle-tabs, v0.1.8
wakatime, v4.0.0
webbox-color, v0.5.4
wordpress-api, v1.1.0

# Dev
No dev packages

/cc @atom/core