Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

challenge fails to load on Firefox and IE #5

Open
ghost opened this issue Feb 20, 2015 · 11 comments
Open

challenge fails to load on Firefox and IE #5

ghost opened this issue Feb 20, 2015 · 11 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 20, 2015

TypeError: Argument 1 of Window.getComputedStyle does not implement interface Element.

Above is the error message when clicking "I'm not a robot." in Firefox and IE. The challenge loads fine in Chrome, Safari, and Opera.

@addyosmani
Copy link
Member

@cbalit do you see this in your upstream repo too?

@cbalit
Copy link

cbalit commented Feb 21, 2015

@addyosmani yep it seems that it comes from paltform.js on getComputedStyle function

getComputedStyle: function (a, b) {
return g(),
l.call(h(this), i(a), b)
}

No idea why, I'll make some test on monday (i'm in holiday)

@addyosmani
Copy link
Member

Thanks for verifying, @cbalit. Enjoy your vacation!

@ghost
Copy link
Author

ghost commented Mar 5, 2015

@cbalit is there any chance this will be fixed in the next few weeks? The current state of being broken in FF and IE prohibits this component's usage in production applications. I'd just like to get an idea of when this will be fixed so as to plan our application's roadmap around it.

@cbalit
Copy link

cbalit commented Mar 6, 2015

@Triune i'n not sure to see how to deal with it, since it cames from webcomponents.js and the only available solution is to wrap recaptcha.js file. By the way you sais you made it work by wraping the recaptha api. Even that i didn't suceed. Do you have an exemple of that ?

@ghost
Copy link
Author

ghost commented Mar 7, 2015

@cbalit errantly I thought I had it working because captcha was not presenting a challenge question in FF or IE, just a checkbox for completion; our application worked. However, further testing revealed that wrapping the code did not solve the problem at all. At this point we have to add a major hack to our code to disable recaptcha in the user registration process for IE and FF users until an alternate workaround can be devised or a webcomponents fix because we cannot simply remove Polymer (the other solution).

@ghost
Copy link
Author

ghost commented Jul 29, 2015

This issue seems to have been resolved with Polymer 1.0.0 and google-recaptcha 1.0.0

@jab
Copy link

jab commented Oct 8, 2015

Just tested the demos on http://cbalit.github.io/re-captcha/components/re-captcha/ in latest Firefox (41.0.1) on OS X 10.10.5 and it worked, fwiw. (First few times it believed I'm not a robot without making me solve the puzzle but when it finally asked me to it worked.)

@cbalit
Copy link

cbalit commented Oct 29, 2015

@jab the re-captcha component can validate only by clicking the checkbox. You can find some informations on it here : http://qnimate.com/how-does-googles-no-captcha-recaptcha-work/

@jab
Copy link

jab commented Oct 30, 2015

@cbalit I know, all I was saying is that I tested both the case where it doesn't ask you to solve the puzzle, and the case where it does, and both cases worked in Firefox for me.

@cbalit
Copy link

cbalit commented Oct 30, 2015

@jab my misunderstanding. Happy to see that it's working

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants