I'm cleaning up my loose ends. Sorry it took this long. I'm going to send a startwindow with a few things including this from the 11th, where I can answer KD's latest followup from a week ago. This is about element type "a":

Does someone really ask for a.protocol?
They should ask for a.href.protocol, I would think.
Then maybe we should make a default href of type URL.
But if they want a.protocol then there's no harm setting that to empty string I 
guess.

I don't know the thinking behind it, but if you demin the sole massive code file from xqsuperschool and go to 16343, that's my evidence that a.href and a.protocol is a thing.


        createWebSocketURL: function(url) {
          var a;
          if (url && !/^wss?:/i.test(url)) {
            a = document.createElement("a");
            a.href = url;
            a.href = a.href;
            a.protocol = a.protocol.replace("http", "ws");
            return a.href;
          } else {
            return url;
          }
        },












Karl Dahlke


--------
Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to