edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* possible root cause in gebcn for a recaptcha issue
@ 2021-10-20 10:31 Kevin Carhart
  2021-10-20 11:33 ` Karl Dahlke
  2021-10-20 12:00 ` root element Karl Dahlke
  0 siblings, 2 replies; 5+ messages in thread
From: Kevin Carhart @ 2021-10-20 10:31 UTC (permalink / raw)
  To: edbrowse-dev

I may have found the root cause for the current issue with recaptcha/paypal

Sending to list so that I can include a block of innerHTML
In this sample session, I create a div, then make sure the childNodes are ready, and then echo the class for two of them.  After that, I try to pick them up with getElementsByClassName.  It seems like we return an element on "recaptcha-checkbox-border" but we don't return an element on ""recaptcha-checkbox-borderAnimation".  Could there be a case issue?

Barring something I'm missing of course.

K
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

test1 = document.createElement("DIV")

[object Object]

test1.innerHTML = '<SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN><DIV class="recaptcha-checkbox-border"><SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN></DIV><DIV class="recaptcha-checkbox-borderAnimation"><SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN></DIV><DIV class="recaptcha-checkbox-spinner"><SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN><DIV class="recaptcha-checkbox-spinner-overlay"><SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN></DIV></DIV><DIV class="recaptcha-checkbox-checkmark"><SPAN class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" id="recaptcha-anchor"></SPAN></DIV>'

[...]

.

bye

jdb

cx2 jsrt.browse

test1

[object Object]

ok(test1)

childNodes,parentNode,tagName,nodeName,nodeType,class,ownerDocument,innerHTML,inner$HTML,name,id

test1.childNodes

[object Object],[object Object],[object Object],[object Object],[object Object]

test1.childNodes[0].class

recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox

test1.childNodes[1].class

recaptcha-checkbox-border

test1.childNodes[2].class

recaptcha-checkbox-borderAnimation

test2 = test1.getElementsByClassName("recaptcha-checkbox-border")

[object Object]

test3 = test1.getElementsByClassName("recaptcha-checkbox-borderAnimation")



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-20 12:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 10:31 possible root cause in gebcn for a recaptcha issue Kevin Carhart
2021-10-20 11:33 ` Karl Dahlke
2021-10-20 12:31   ` Kevin Carhart
2021-10-20 12:59     ` Karl Dahlke
2021-10-20 12:00 ` root element Karl Dahlke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).