Enabling custom properties for runtime objects allows us to do myNativeRuntimeObject.foo = "bar", which can be useful.
Created attachment 24576 [details] This patch implements the feature
Comment on attachment 24576 [details] This patch implements the feature Are you sure you want to do this for all runtime objects and not just QtInstances? Neither WebKit nor Firefox support setting custom properties on NPObjects for example.
You're right Anders, I will make a new patch that limits this behavior to QtInstance.
Created attachment 24597 [details] patch that limits behavior to QtInstance, and also expands the autotest for custom properties
Created attachment 24598 [details] similar to previous patch (limits to QtInstance), but removes debug statement
Comment on attachment 24598 [details] similar to previous patch (limits to QtInstance), but removes debug statement Looks great! r=me
Thanks for the review Anders! Landed in r37889