Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript JavaScript Foundations Objects Methods

window.webkitStorageInfo is deprecated

Latest version of Chrome. I get "'window.webkitStorageInfo' is deprecated. Please use 'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead." when I tried replicating

function whatIsThis() {
  console.log(this);
}

whatIsThis();

2 Answers

Andrew McCormick
Andrew McCormick
17,730 Points

this is caused by something in Chrome or an extension. For me it dealt with having an undocked toolbar. When I docked the console to the Chrome window, the error went away. See below when the window wasn't docked, and then running the script after I docked it console

My console is currently docked to Chrome, and the only extension I have installed is YSlow. I do have multiple windows open in Chrome, though (if that matters). One for watching the videos, one for a workspace and the last to see the results of what I am doing in the workspace.