Project Async & Responsive, issue 2
May 24, 2013 § 5 Comments
Our heroes continued on their quest to move add-on- and front-end-accessible APIs off the main thread. Arrayed against them, work weeks, conferences, holidays and terrible weather. Still, they pressed on.
Tooling and new APIs
- JavaScript module loader for workers (bug 872421). Working prototype.
- Constant stack implementation of Promise (bug 810490). Working prototype, improving gradually.
- Async API for Downloads (bug 825588). In progress. Numerous blockers.
Refactorings
- Making Session Restore non-blocking (bug 838577). Working prototype, improving gradually.
- Numerous simplifications to Session Restore (bug 874381 and blockers). Many patches are ready to land, once we have decided of a good policy to revert them in case they destroy too many add-ons.
- Async mozStorage connection (bug 702559). Working prototype. Pending review.
Testing
- Adding support for Task.jsm in mochitest (bug 872229). In progress.
Turning those bug numbers into links would be a nice thing to do. 🙂
Done 🙂
Cheers!
There should be a WordPress addon that linkifies “bug ######” text…
you can try this script :
javascript:function%20insertLink(textNode,start,end,url){p2=textNode.splitText(start);p3=p2.splitText(end-start);link=document.createElement(‘a’);link.href=url;link.appendChild(p2);p3.parentNode.insertBefore(link,p3);}function%20isDigit(ch){return(“0123456789”.indexOf(ch)!=-1)}function%20buglinkify(node){var%20i,j,t;if(node.nodeType==3){t=node.data;for(i=0;i<t.length;++i){if(isDigit(t.charAt(i))){for(j=i+1;j99){insertLink(node,i,j,’https://bugzilla.mozilla.org/show_bug.cgi?id=’+t.substring(i,j));break;}}}}else%20if(node.nodeType==1&&node.tagName.toLowerCase()==’a’&&node.href){}else{for(i=0;i<node.childNodes.length;++i)buglinkify(node.childNodes[i]);}}buglinkify(document.body)
🙂