"'window.webkitStorageInfo' is deprecated" warning while iterating window object
<p>Please consider the following code in html/javascript:</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;script&gt;
    var myObject = {};
    var mySecondReference = myObject;

    for (s in window)
      if (window[s]===myObject)
        alert("reference found: " + s);
&lt;/script&gt;
&lt;/head&gt;
&lt;/html&gt;
</code></pre>

<p>It iterates though the window object in order to search any references to a given object. It works fine everywhere, however in Chrome/ium gives me the following warnings:</p>

<pre><code>'window.webkitStorageInfo' is deprecated. Please use 'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead.
test.html:8 'webkitIndexedDB' is deprecated. Please use 'indexedDB' instead.
</code></pre>

<p>Is it something I should be scared of (especially with future versions of chrome browser)?</p>

<p>How can I get rid of those messages? </p>