Safari Problems - latest version

133 views
Skip to first unread message

Alex Miłowski

unread,
May 23, 2014, 12:09:47 PM5/23/14
to polym...@googlegroups.com
I have an experimental web component and  I tried just using platform.js to enable this Web component in other browsers with limited success.  

In Safari, I just get an error.  In fact, it doesn't even try to load the import.  It looks like it fails before ever getting started.

Here's the error:

[Error] Error: Assertion failed
c (platform.js, line 12)
b (platform.js, line 13)
insertBefore (platform.js, line 13)
(anonymous function) (platform.js, line 14)

Interesting how copy-paste of the stack trace gives me different locations even though I have platform.js.map and see individual file references in the console.

The trace is really:

events.js:405
events.js:405
Node.js:29
Elements.js:13
ShadowCSS.js:685

Any ideas?

--Alex Miłowski

Steve Orvell

unread,
May 23, 2014, 12:22:15 PM5/23/14
to Alex Miłowski, polym...@googlegroups.com
We'll need some additional information.

What version of polymer are you using?
Are you loading platform.js as the first script? (this is a requirement)

It'd be helpful if you could post a relevant snippet of the page or, better yet, a link to the source.


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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/c4266a51-1f94-486c-a06e-b7bc81f4606b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Miłowski

unread,
May 23, 2014, 12:52:58 PM5/23/14
to polym...@googlegroups.com, Alex Miłowski


On Friday, May 23, 2014 9:22:15 AM UTC-7, Steve Orvell wrote:
We'll need some additional information.

What version of polymer are you using?

I have tried both the latest and version 0.2.4
 
Are you loading platform.js as the first script? (this is a requirement)

Yes.
 

It'd be helpful if you could post a relevant snippet of the page or, better yet, a link to the source.\

You can see the example at:


and the rest of the source there.

I've tried platform.js with a very simple Web component (a single element test) and it fails the same way.  Looking at the resources loaded, it fails before the import so the component is never invoked.

I'm using Safari Version 7.0.4 (9537.76.4) on OS X 10.9.3

Reply all
Reply to author
Forward
0 new messages