## 2018-10-26 #Chrome #Deprecation

## New feature #utils: #waitForDeepProperty

```
import {waitForDeepProperty} from "utils"

var o = {
  
}

waitForDeepProperty(o, "foo.bar").then(result => {
  lively.notify("Yeah! " + result)
})

lively.sleep(1000).then(() => {
  o.foo = {}
})

lively.sleep(3000).then(() => {
  o.foo.bar = 7
})

```

## How to deal with importScript deprecation warning?

- **[Deprecation] importScripts() of new scripts after service worker installation is deprecated and will be removed in M71, around December 2018. See https://www.chromestatus.com/features/5748516353736704 for more details.**]


## WebCompents v0 are duplicated...

- **component-loader.js:448 [Deprecation] HTML Imports is deprecated and will be removed in M73, around March 2019. Please use ES modules instead. See https://www.chromestatus.com/features/5144752345317376 for more details.**
- **component-loader.js:199 [Deprecation] document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details.**
- **component-loader.js:79 [Deprecation] Element.createShadowRoot is deprecated and will be removed in M73, around March 2019. Please use Element.attachShadow instead. See https://www.chromestatus.com/features/4507242028072960 for more details.**


Some info:

- https://github.com/w3c/webcomponents/issues/645
- https://www.chromestatus.com/features/5144752345317376


## And this warning...

- **[Violation] Added non-passive event listener to a scroll-blocking event. Consider marking event handler as 'passive' to make the page more responsive.**