#3493 new

Illegal constructor

Reported by Pat | July 26th, 2013 @ 08:28 PM


I've a problem with prototye 1.7.1 on a Wiko Phone with the default Web browser ( and only with the default browser ).

When I test this code on this browser :

try {
alert(new Element('div')); } catch(err){ alert(err); }

I've got an error "Illegal constructor". I include Prototype for Phonegap projects ( It's works very well except on the Wiko Phone !! I've exactly the same problem.)

The default browser for Wiko phone is "Navigator v 4.1.2". When I install Chrome on my phone, it's work but Phonegap is based on the default browser...

Is there a solution ?

Thanks for help !


No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

People watching this ticket