Bug 1158228 - Disable visibility check helper function to avoid test bustage. rs=me

--HG--
extra : rebase_source : 5e78d06ec4595aebb98339d789d8c21c46a3e4f4
This commit is contained in:
Margaret Leibovic 2015-05-02 07:29:12 -07:00
parent a4ad505d39
commit 2371b1312f

View File

@ -121,7 +121,8 @@ this.ReaderMode = {
// We pass in a helper function to determine if a node is visible, because
// it uses gecko APIs that the engine-agnostic readability code can't rely
// upon.
return new Readability(uri, doc).isProbablyReaderable(this.isNodeVisible.bind(this, utils));
// NOTE: This is currently disabled, see bug 1158228.
return new Readability(uri, doc).isProbablyReaderable(/*this.isNodeVisible.bind(this, utils)*/);
},
isNodeVisible: function(utils, node) {