web.html and web.xml bug demonstration

This page demonstrates the bug 592661 that sometimes prevents web.html() and web.xml() DekiScript functions loading pages from https://bugzilla.mozilla.org/.

var params = "('https://bugzilla.mozilla.org/show_bug.cgi?id=592661', '//span[@id=\"static_bug_status\"]')";
var webHtmlString = "web.html" .. params;
<p>"The result of "; <code>webHtmlString</code>; ":";</p>;
web.pre(string.eval(webHtmlString));
var webXmlString = "web.xml" .. params;
<p>"The length of "; <code>webXmlString</code>; " is:";</p>;
var xml1 = string.eval(webXmlString);
web.pre(#xml1);
<p>"And the result of the above function execution is:"</p>;
web.pre(xml.format(xml1, "plain"));

Document Tags and Contributors

Contributors to this page: IgorKitsa, user01
Last updated by: IgorKitsa,