Menu

Javascript: Navigator & Document.write

2002-08-22
2003-08-15
  • Troy Waldrep

    Troy Waldrep - 2002-08-22

    Hello,

    First of all, let me complement you on an excellent product.  I find it extremely useful.  Now on to the questions.  Do you plan to support the Navigator ]object within your javascript implementation?  Also, do you plan to support Document.write() ?

    thanks,

    troy

     
    • Russell Gold

      Russell Gold - 2002-08-22

      Thanks for the compliment. I intend to support JavaScript 1.1, which includes both, so yes.

       
    • Troy Waldrep

      Troy Waldrep - 2002-08-23

      Great.  Since Document.write results in raw html source being dynamically added to the document structure, how do you plan to support it?  I don't think JTidy has the ability to support html source being dynamically "poked" into the stream during parse.  You could add a "parsed" element node to the already-parsed document, but what would you use to parse the one node to begin with?  Sorry about the long message, but I was just wondering if you had any thoughts on the implementation of Document.write().

      regards,

      troy

       
      • suresh vv

        suresh vv - 2002-09-09

        Thanks for the info that docment.write is not supported by httpunit! :-(

        Anyway around this limitation? I am using a class that does this and JavaScriptEngineFactory keeps choking on my pages. Is there a way I can catch the exception and continue around it?

        Hope you can help.

        TIA,

        suresh

         
        • Russell Gold

          Russell Gold - 2002-09-09

          At present, I don't know a way around this in the current build. But I can add no-op definitions to the DOM so that all we would get is warnings rather than fatal exceptions...

           
          • suresh vv

            suresh vv - 2002-09-12

            Can you please do this or tell me how I can do this?

            TIA,

            Suresh

             
    • John Lonergan

      John Lonergan - 2003-08-15

      Does httpunit support document.write yet ?

       

Log in to post a comment.

Auth0 Logo