Things I’ve Learned This Week (April 6 – April 10, 2015)
It’s possible to synthesize native Cocoa events and dispatch them to your own app For example, here is where we synthesize native mouse events for OS X. I think this is mostly used for testing when we...
View ArticleThings I’ve Learned This Week (April 13 – April 17, 2015)
When you send a sync message from a frame script to the parent, the return value is always an array Example: // Some contrived code in the browser let browser = gBrowser.selectedBrowser;...
View ArticleThings I’ve Learned This Week (May 4 – May 8, 2015)
How to convert an NSString to a Gecko nsAString I actually discovered this during my most recent Joy of Coding episode – there is a static utility method to convert between native Cocoa NSStrings and...
View ArticleThe Joy of Coding (Ep. 13): Printing. Again!
Had to deal with some network issues during this video – sorry if people were getting dropped frames during the live show! I have personally checked this recording, and almost all frames are there. The...
View ArticleThe Joy of Coding (Ep. 14): More OS X Printing
In this episode, I kept working on the same bug as last week – proxying the print dialog from the content process on OS X. We actually finished the serialization bit, and started doing deserialization!...
View ArticleThe Joy of Coding (Ep. 15): OS X Printing Returns
In Episode 15, we kept working on the same bug as the last two episodes – proxying the printing dialog on OS X to the parent process from the content process. At the end of Episode 14, we’d finished...
View Article