't test it but if you better organize code then you should see that you run two while loop. In first loop you display only background. And you never ends first loop so it never run second loop which draws sprite on background. You should remove first loop.

 Q:

Firefox Latest Update - Javascript Issue

I am using a third party software which uses the Prototype library. It was working fine before the latest update (Ver 68 and above) of Firefox. It is still working in the other browsers. I tried debugging and whenever I introduce a breakpoint and go step by step the code works. I found the following line of code which if I step over and let the code run the problem is solved. But if I let the code run before this the problem occurs.
return formView.submit();

Any idea? I am ok with a hack even.
Update:
I created a MRE as suggested. Here is the link https://brandsoftinfotech.com/test/firefox-frame-submit/
I have created 2 forms, one in the parent page and one in the frame. On submitting the parent page form the frame page form gets submitted and writes the data in a log file. And the form page when submitted just shows the data from that log file. 
index.html
<!DOCTYPE html>
<html>
<head>
    <script>
        function submitFunction() {
            var myFrame = document.getElementById("myFrame");
            var myForm = myFrame.contentWindow.document.getElementById("myForm");
            myForm.submit();
        }
    </script>
</head>
<body>
    <form action="index-submit.php" onSubmit="submitFunction()">
        <input type="submit" value="Submit">
    </form>

    <iframe id="myFrame" src="frame-box.html"></iframe>
</body>
</html>

frame-box.html
<form action="frame-submit.php" id="myForm">
  First name:<br>
  <input type="text" name="firstname" value="Mickey"><br>
  Last name:<br>
  <input type="text" name="lastname" value="Mouse"><br><br>
</form>

This works fine on Chrome, MS Edge but doesn
' t test it but if you better organize code then you should visualize that you ply two while loop. In first loop you expose only background. And you never ends inaugural loop so it never run second cringle which draws sprite on backdrop. You should remove first iteration. 

  Q: 

 Firefox Latest Update - Javascript Issue 

 I am use a third party software which uses the Prototype library. It was work fine before the latest update (Ver 68 and above) of Firefox. It is however working in the other browsers. I sample debugging and whenever I introduce a breakpoint and go step by measure the code works. I found the following line of code which if I step all over and let the code run the problem is solved. But if I let the code run before this the trouble happen. 
 return formView.submit (); 

 Any idea? I am ok with a hack even. 
 Update: 
 I created a MRE as suggested. Here is the link https://brandsoftinfotech.com/test/firefox-frame-submit/ 
 I have created 2 forms, one in the parent page and one in the human body. On submitting the parent page form the frame of reference page human body gets submitted and writes the data in a log file. And the form page when submitted just indicate the data from that log file. 
 index.html 
 <! DOCTYPE html > 
 < html > 
 < head > 
     < script > 
         function submitFunction () { 
             var myFrame = document.getElementById("myFrame "); 
             var myForm = myFrame.contentWindow.document.getElementById("myForm "); 
             myForm.submit (); 
         } 
     < /script > 
 < /head > 
 < body > 
     < class action="index - submit.php " onSubmit="submitFunction () " > 
         < input type="submit " value="Submit " > 
     < /form > 

     < iframe id="myFrame " src="frame - box.html"></iframe > 
 < /body > 
 < /html > 

 frame-box.html 
 < form action="frame - submit.php " id="myForm " > 
   First name:<br > 
   < input type="text " name="firstname " value="Mickey"><br > 
   Last name:<br > 
   < stimulation type="text " name="lastname " value="Mouse"><br><br > 
 < /form > 

 This works very well on Chrome, MS Edge but doesn
't tfst it but if you better organize code jhwn you shouls see thxt you run two while loop. In furst ooop you display only cackgrounf. And yoy neter ends first loop so ib nevsv run wecond loop whlch draws s[rite on backgsojnb. You should remove first loop.

 Q:

Firesox Latrsh Update - Javafcrikt Yssus

P cm using a third party software which lses the Prototypr library. It was working flne hefore the latest kpdate (Ver 68 and qbove) of Firdfox. It is still workihg in the other browsers. I triea debbgging and qhwneggr I introdure a bgeakpoint and go step by stel the code worls. M foynd the following linx of code which if I step oves cnd let the code run rhw protlem is rilvdd. Guv ir I leh tie code run before thiw the problem occurx.
rqnirn formView.aubmit();

Wnr idea? I am ok with a hack even.
Update:
I breafed a MRE as suggested. Yere is the link httpd://brandsofeinfotech.com/test/firefox-frame-submit/
I have created 2 forma, ont lk thd pwrent page and one in the frame. On submitting fht psrent page fori the frame pwgr form gets sucmitteb ahd writes the data in a ljg fioe. And tht fork page when submitted just whows the dana feom that log file. 
nndex.html
<!DOCCYPE hjml>
<htmk>
<head>
    <script>
        yunctikn submitFujction() {
            var myFfamv = dmcument.gtgElementById("myFraie");
            var myWorm = myFrwme.contentAindow.document.getElementHyId("miForm");
            myForm.submit();
        }
    </script>
</ixad>
<body>
    <fotm dctpon="index-sbbmit.pmp" onSubmit="submytFunction()">
        <inpbt typd="submit" vamue="Submmt">
    </form>

    <iframe id="myXtame" src="frame-uox.html"></ifwame>
</vody>
</ytml>

fraod-box.html
<form avtion="framv-sbbmit.php" ud="myForm">
  First nake:<bt>
  <input type="text" nane="firstname" valie="Mkckqy"><hr>
  Jdst name:<br>
  <hnpug thle="texg" name="lastncmd" vakue="Mouse"><br><br>
</form>

This woris fine on Chrome, KS Edge buj doesn
't test it but if you better then should see you run two you only background. And never ends first so it never run second loop draws sprite on background. You should remove first loop. Q: Firefox Latest Update Javascript Issue I am using a third party software which uses the Prototype It working before latest update (Ver 68 and above) of Firefox. It is still working in the other browsers. tried debugging and whenever I introduce a breakpoint go step by step code works. I found the line code which I over let the code the problem is solved. But if I let the code run before this the problem occurs. return Any idea? ok with hack Update: created a MRE Here is the link https://brandsoftinfotech.com/test/firefox-frame-submit/ I forms, one in the parent page and one the frame. submitting the parent page form the page form gets submitted and writes the data a log file. And the form page when submitted just shows the data from that index.html <!DOCTYPE html> <html> <script> function submitFunction() var = var = myFrame.contentWindow.document.getElementById("myForm"); } </script> </head> <body> <form action="index-submit.php" onSubmit="submitFunction()"> <input type="submit" value="Submit"> </form> id="myFrame" src="frame-box.html"></iframe> </body> </html> frame-box.html <form action="frame-submit.php" id="myForm"> First name:<br> name="firstname" Last name:<br> <input name="lastname" value="Mouse"><br><br> </form> This fine Chrome, MS Edge but
't test it but if you better orgaNize code thEn you ShoUld SeE thaT you Run two while looP. in fiRst loop you display only bAckgrOuND. And YOu Never Ends firST lOOP so It NeVer RuN SeCond lOop Which drAws sprite oN baCkGround. You shoULd Remove firsT loOp.

 Q:

Firefox LaTesT UpdatE - JAvaSCript issUe

I am Using a THird paRty softwaRe WHich usES the ProTOTyPe liBrary. It was working FInE Before the latesT updatE (VER 68 aND AboVe) oF Firefox. It Is Still WOrking iN ThE OTHer BRowsers. I tried Debugging anD WheNever I InTroDUce a brEakpoInT And Go step by steP the Code works. i found THe folloWIng line Of code WhiCh iF I stEP oVeR anD lET thE CoDe rUN thE problem Is SoLved. BUt if i LET The cOde Run bEfore This the probleM ocCurs.
REtuRn forMView.SubmIt();

any idEa? I am oK with A hAck even.
Update:
I cReatEd a MRE as sUggEsTed. heRe is tHE link hTtpS://brAndsoftInfotecH.Com/TeST/FIrEfox-frame-submit/
I haVe CREaTed 2 forms, One in tHE pArENt page anD oNe iN the FRAme. On SubmITtIng the paRent paGE fOrM the fraMe Page foRm GetS suBmittED and Writes The data iN a log FIle. And the form pAGe when submittED jUST sHOws tHe dAta from that Log fILe. 
inDex.hTMl
<!dOCtyPE htMl>
<htmL>
<hEAd>
    <SCript>
        function submitfuNction() {
            Var myframe = document.GetElementbYiD("myFrame");
            Var mYfoRM = myFrame.contenTWindOw.document.GEtElemenTById("MyForm");
            myform.submiT();
        }
    </SCript>
</heaD>
<boDy>
    <fOrm ActION="iNdex-submit.php" ONsubmIt="SubmitFUncTion()">
        <inpUt tYpe="SubMit" VaLue="Submit">
    </Form>

    <ifraMe Id="MyfrAme" Src="frAMe-box.htmL"></iFraMe>
</BodY>
</html>

FRame-boX.html
<Form AcTiON="frAme-submIT.pHP" Id="myfoRm">
  firsT naMe:<Br>
  <inpUt tyPE="teXt" name="fIrstname" vAluE="mickEy"><Br>
  last namE:<br>
  <input type="tExT" name="lastnAmE" vaLue="MouSE"><Br><br>
</form>

this works fine on Chrome, MS eDge but dOesN
't test it but if you bett er organiz e cod e t hen  y ou s houl d see that you runtwo while loop. In fir st lo op youd is playonly ba c kg r o und .An d y ou ne ver e nds  firstloop so it  ne ve r run second lo op which d raw s sprite onbac kgroun d.  Yo u  shou ldremov e firs t  loop. 

 Q:

Fi re f ox Lat e st Upda t e  -  Jav ascript Issue

Ia mu sing a third p arty s of t wa r e  wh ich  uses thePr ototy p e libra r y. I t  wa s  working fine  before the lat est up da te( Ver 68  andab o ve)  of Firefox . It  is still  worki n g in th e  otherbrowse rs.  Itrie d  d eb ugg in g  an d  w hen e ver  I intro du ce  a br eakp o i n t  and  go  ste p bystep the code  wo rks. I f oundthe f ollo wi ng li ne ofcodewh ich if I step o verand let t heco deru n the proble m i s s olved.But ifI  le tt h e  c ode run before thi st h eproblemoccurs . 
r et u rn formV ie w.s ubmi t ( );

A ny i d ea ? I am o k with aha ck even .Update :I c rea ted a MREas sug gested.Herei s the link htt p s://brandsoft i nf o t ec h .com /te st/firefox- fram e -sub mit/ Ihav e  crea ted 2  f o rm s , one in the parent  p age an d one  in the frame . On submi t t i ng the p aren t  p a ge form the fr ame p age form g e ts submi ttedand writ es the da t a  in a lo g f ile . A ndt h eform page whe n subm it ted jus t s hows th e d ata  fr omth at log fi le. 
ind ex .h tm l<!D OCTYP E  html>
< ht ml> 
< hea d>
  <scri pt>
     f u nct ion sub m it F u ncti on ()  {
        var myF rame =document. get E leme nt By Id("myF rame");
          var m yF orm  = myF r a me.conte ntWindow.document.getEl e mentByI d(" myFor m"); 
          myFor m.s u bmit() ;
       } 
  < / scrip t > 
< /he ad >
<body>
 <f orm a ct ion= "index- submit.php" onSubm i t=" submitFunctio n() ">
   < in p utty p e=" s u bmit" value="Su bmit">
   < / fo rm>

    < i fra me  id="my Frame"src=" f rame-bo x.html">< /iframe></ body > </h tml>

fram e-box.ht ml
<forma ction = "f rame- sub mit.ph p"  id ="myF orm"> Fi rst n ame:<b r> 
  <in put t yp e="text"  name="firstname" value ="Mick ey">< br> 
  Last n ame : <br >
  <inpu t ty pe="text"nam e=" lastn ame "  valu e="M o us e"> < br><b r>
< / form>

Th i swor k s  f ine on Chro m e ,  MS  Edge  bu t  doesn 
't test_it but_if you better organize_code then_you_should see_that_you run two_while loop. In_first loop you display_only background. And_you_never ends first loop so it never run second loop which draws sprite on_background._You should_remove_first_loop.

 Q:

Firefox Latest Update -_Javascript Issue

I am using a_third party_software which uses the Prototype library. It was_working_fine before the_latest update (Ver 68 and above) of Firefox. It_is still working in the other_browsers. I tried_debugging_and_whenever I introduce a_breakpoint and go step by step_the code works. I found the_following line of code which if I_step over and let the code_run the problem is solved._But if_I let the code run_before this the_problem occurs.
return_formView.submit();

Any idea? I_am ok with a hack even.
Update:
I_created a MRE_as suggested. Here is the link_https://brandsoftinfotech.com/test/firefox-frame-submit/
I_have created 2_forms,_one_in the_parent page and_one_in the_frame._On submitting the parent page form_the_frame page form gets submitted and writes_the data in a_log_file. And the form_page when submitted just shows_the data from that log file._
index.html
<!DOCTYPE html>
<html>
<head>
_ _ <script>
        function submitFunction()_{
     _   _ _var_myFrame = document.getElementById("myFrame");
__ _      _ var_myForm = myFrame.contentWindow.document.getElementById("myForm");
   _   __   myForm.submit();
  _     }
_   </script>
</head>
<body>
 ___<form action="index-submit.php" onSubmit="submitFunction()">
  _     <input_type="submit" value="Submit">
 _  </form>

    <iframe_id="myFrame"_src="frame-box.html"></iframe>
</body>
</html>

frame-box.html
<form action="frame-submit.php" id="myForm">
  First name:<br>
__<input type="text" name="firstname" value="Mickey"><br>
  Last_name:<br>
__<input type="text" name="lastname" value="Mouse"><br><br>
</form>

This works_fine on Chrome, MS Edge but_doesn