Page 1 of 1

Modal "dialog" HTML element demo [resolved]

Posted: 2021-10-19, 21:26
by iyutr
1) I've enabled dom.dialog_element.enabled = true (after https://caniuse.com/dialog).
2) click on button "Click me" in https://alligator.io/html/dialog-element/, dialog does not appear,
3) InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
https://alligator.io/html/dialog-element/:91:360

But In Chrome dialog appears.

Re: Modal "dialog" HTML element demo

Posted: 2021-10-19, 21:28
by Moonchild
Don't mess around in about:config if you don't know what you're doing.

Re: Modal "dialog" HTML element demo

Posted: 2021-10-19, 21:33
by iyutr
Sorry, dialog appears. My mistake. There were not an issue.