Matt Curtis
Matt Curtis
> For example, could the browser limit reading/writing the AOM to accessibility event callback functions inside some sort of worker or isolated process that cannot write to the DOM (or...
I can't remember why I closed this, but I think that it was because I couldn't reproduce it. Maybe closing it was an accident. Are you experiencing this issue too?
Hmm. I imagine that this happens (without examining the source code) because there's a strong reference to the JSValue function that keeps the context alive, maybe? I'll take a look...
Seems like this is the problem/solution: http://stackoverflow.com/questions/21617871/objective-c-compiler-is-leaving-out-a-protocol-definition
You're totally right about this. Breaks a lot of scripts. (@mathieudutour is the BC team aware of this issue?)
> Really? I've never really seen Proxy used in the wild yet I both tried to write some code that uses it and also tried to pull in a library...
Your suggestion is what I had in mind at first, however it still has the problem in that the reverse can happen: default global object properties can then override Objective-C...
> The nice thing about the Obj-C API is that everything you want to access is prefixed with NS or MS are whatever. There are really few symbols that aren't...
Sure - here's one I just constructed. Tested in Sketch. ``` COScript.currentCOScript().setShouldKeepAround_(true); // Create class var uniqueClassName = "Mocha_DynamicClass_"+new Date().getTime(); var delegateClassDesc = MOClassDescription.allocateDescriptionForClassWithName_superclass_(uniqueClassName, NSObject); var selector = "webView:didFinishLoadForFrame:"; var...
Maybe I'm not understanding, but wouldn't [this](http://stackoverflow.com/a/1457572/183471) solve that?