You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works with the older release, but with the newer one will throw exceptions when the columns are clicked, for example:
"Exception caught during observer callback: NotFoundError: An attempt was made to reference a Node in a context where it does not exist. observe.js:341"
"Exception caught during observer callback: TypeError: Cannot call method 'schedule' of undefined observe.js:341"
"Uncaught TypeError: Cannot call method 'schedule' of undefined."
The text was updated successfully, but these errors were encountered:
If you run (Chrome) Canary with Experimental WebKit Features enabled, then you should have native ShadowDOM. Are you running with native ShadowDOM? If it works with native, then the problem is with the ShadowDOM Polyfill, and this is a likely a dupe of this root cause: Polymer/ShadowDOM#235.
Also, fwiw, and unfortunately, the observe.js:341 information is basically wrong. Unhandled exceptions are fatal for observe.js, so the system protects itself with a try/catch block. observe.js re-throws the exception when it is safe, which causes the console debugger to report an error in observe.js. This is something we would like to improve, but that's how it's set up as of now.
Indeed, after enabling experimental Web Platform features for Chrome Canary in chrome://flags, exceptions are not thrown as before, and the sample code behaves as expected.
May be related to #263 and #235(ShadowDOM).
Try the following sample-code (written by my co-worker) with both the 8/29 and 8/15 releases of Polymer:
https://gist.github.com/mattmoss/6395526
It works with the older release, but with the newer one will throw exceptions when the columns are clicked, for example:
"Exception caught during observer callback: NotFoundError: An attempt was made to reference a Node in a context where it does not exist. observe.js:341"
"Exception caught during observer callback: TypeError: Cannot call method 'schedule' of undefined observe.js:341"
"Uncaught TypeError: Cannot call method 'schedule' of undefined."
The text was updated successfully, but these errors were encountered: