haxe icon indicating copy to clipboard operation
haxe copied to clipboard

js.html.Notification.requestPermission is missing

Open ghost opened this issue 5 years ago • 3 comments

See the relevant section in the Permission webidl for verification. I understand that the Web API externs are generated from the webidl files - is this just a bug in the generator?

(I should add that this isn't very urgent. I'm just using js.Syntax.code as a shim for now.)

ghost avatar Jan 18 '20 00:01 ghost

Yeah, this is probably an issue of the extern generator. Keeping the issue here to not forget it in 4.1 release

RealyUniqueName avatar Jan 18 '20 09:01 RealyUniqueName

@haxiomic can we have this before 4.3?

nadako avatar Jun 15 '22 16:06 nadako

@nadako I'd be happy to make this a manual change to the externs for 4.3

To my eyes, modifying the ts compiler's extern generator to output haxe is a shorter path to updated externs than working more with the html extern generator

I've made a start on this https://github.com/HaxeFoundation/haxe/pull/10607#issuecomment-1095018865

haxiomic avatar Jun 27 '22 17:06 haxiomic