Emulating XMLHttpRequest in node.js
I’ve been following the node.js project for a while. It’s a really cool, lightweight, event-based implementation of server side Javascript using V8. I hadn’t used it at all because it was missing a few key features, mainly binary support. I checked the project status a few days ago and lo and behold, binary support had been added. Now it was getting interesting! I decided to start a project to learn a bit about it. node-XMLHttpRequest (node-XHR): XMLHttpRequest emulation to allow reuse of browser based libraries.
In: Uncategorized · Tagged with: Javascript, node.js, XMLHttpRequest
Solving XUL Permission Denied Exceptions
Our company has a XUL-based CRM-ERP application that I maintain. Like most applications we run into bugs from time to time. We’ve had an ongoing battle with some very annoying permission denied exceptions. The exact error varies but it’s always in the form “Permission denied to [accessing|get|set property] XULElement.something”. Here are some examples:
- Permission denied accessing XULElement.parentNode
- Permission denied to get property XULElement.selectedIndex
In: Web Development · Tagged with: CRM, ERP, Javascript, XUL
