On 1/20/17, 9:47 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote:
>sorry in > >http://caniuse.com/#feat=dialog > ><http://caniuse.com/#feat=dialog>Safari 10 is in red and so "not >supported" > >And for that reason we are forced to use brackets notation and HTMLElement >right? I still don't understand why you need brackets. FWIW, you can use: @flexjsignorecoercion HTMLDialogElement This will get rid of the Language.as call, but I don't know what createElement will return. I thought you said you somehow got this to work on Safari and FF but couldn't call the show method without ["show"]. I still don't understand what the dialog variable is pointing to if you couldn't get past the createElement call. But if Safari returns something that is an HTMLElement with a show method, you should be able to call dialog.show() if you skip the Language.as check by using @flexjsignorecoercion HTH, -Alex