I tried to make wait when open 4 websites until loading complete then get their title. For that I used readystate which didn't wait until load completes and gave Connecting as title. When I check in console the readystate gives undefined. Below is my code.
The sdk I am using is 1.17 and ff is 36.0.4.
var tabs = require("sdk/tabs");
tabs.open("https://developer.mozilla.org");
tabs.open("http://www.nytimes.com/");
tabs.open("http://en.wikipedia.org/wiki/Main_Page");
tabs.open("https://www.google.co.in");
for (let tab of tabs)
{
console.log(tab.title + tab.readystate);
};