Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FBTest: fix Compare tab in test results (actual and expected results …

…visible again)
  • Loading branch information...
commit 03b6d81b7fc94eed6f25593c5763fb3336fd5b81 1 parent 5d06f40
@janodvarko janodvarko authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 tests/FBTest/content/testResultRep.js
View
9 tests/FBTest/content/testResultRep.js
@@ -7,8 +7,9 @@ FBTestApp.ns( /** @scope _testResultRep_ */ function() { with (FBL) {
var Cc = Components.classes;
var Ci = Components.interfaces;
+var Cu = Components.utils;
-Components.utils["import"]("resource://fbtest/FBTestIntegrate.js");
+Cu["import"]("resource://fbtest/FBTestIntegrate.js");
// ************************************************************************************************
// Domplate for tests results
@@ -596,8 +597,10 @@ FBTestApp.TestResultTabView = domplate(
// Generate UI. Get appropriate domplate tag for every element that is found
// within the helper <wrapper> and append it into the parent container.
for (var i=0; i<docElem.childNodes.length; i++)
- Firebug.HTMLPanel.CompleteElement.getNodeTag(docElem.childNodes[i]).
- append({object: docElem.childNodes[i]}, parentNode);
+ {
+ FBTestApp.FBTest.FirebugWindow.Firebug.HTMLPanel.CompleteElement.getNodeTag(
+ docElem.childNodes[i]).append({object: docElem.childNodes[i]}, parentNode);
+ }
},
insertText: function(data, parentNode)
Please sign in to comment.
Something went wrong with that request. Please try again.