This was my own screw up. On Tuesday, March 31, 2015 at 3:15:12 PM UTC-4, [email protected] wrote: > > I'm seeing an assertion failed error in my app in line 118 of > webcomponent.js: > > window.ShadowDOMPolyfill = {}; > (function(scope) { > "use strict"; > var constructorTable = new WeakMap(); > var nativePrototypeTable = new WeakMap(); > var wrappers = Object.create(null); > function detectEval() { > if (typeof chrome !== "undefined" && chrome.app && > chrome.app.runtime) { > return false; > } > if (navigator.getDeviceStorage) { > return false; > } > try { > var f = new Function("return true;"); > return f(); > } catch (ex) { > return false; > } > } > var hasEval = detectEval(); > function assert(b) { > if (!b) > * throw new Error("Assertion failed");* > } > > This only shows up in Safari, and not Chrome. Any ideas? >
Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/9d8aace6-6f7f-4875-a5ff-b642bdbae8e3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
