[Zope3-checkins]
SVN: Zope3/branches/benji-testbrowser-with-real-browsers-take-2/src/zope/testbrowser/real/__resources__/commands.js
slightly less insane way of doing the same thing,
still not happy with it
Benji York
benji at zope.com
Tue Aug 1 23:37:00 EDT 2006
Log message for revision 69334:
slightly less insane way of doing the same thing, still not happy with it
Changed:
U Zope3/branches/benji-testbrowser-with-real-browsers-take-2/src/zope/testbrowser/real/__resources__/commands.js
-=-
Modified: Zope3/branches/benji-testbrowser-with-real-browsers-take-2/src/zope/testbrowser/real/__resources__/commands.js
===================================================================
--- Zope3/branches/benji-testbrowser-with-real-browsers-take-2/src/zope/testbrowser/real/__resources__/commands.js 2006-08-02 03:23:49 UTC (rev 69333)
+++ Zope3/branches/benji-testbrowser-with-real-browsers-take-2/src/zope/testbrowser/real/__resources__/commands.js 2006-08-02 03:36:59 UTC (rev 69334)
@@ -15,12 +15,7 @@
}
function _tb_getContents(info) {
- temp = document.createElement('div');
- clone = top.frames[0].document.documentElement.cloneNode(true);
- temp.appendChild(clone);
- contents=temp.innerHTML;
- temp.innerHTML="";
- return contents;
+ return top.frames[0].document.body.parentNode.innerHTML;
}
function _tb_getUrl(info) {
More information about the Zope3-Checkins
mailing list