Modal "dialog" HTML element demo [resolved]

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
iyutr

Modal "dialog" HTML element demo [resolved]

Unread post by iyutr » 2021-10-19, 21:26

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.
Last edited by iyutr on 2021-10-19, 21:40, edited 1 time in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35479
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Modal "dialog" HTML element demo

Unread post by Moonchild » 2021-10-19, 21:28

Don't mess around in about:config if you don't know what you're doing.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

iyutr

Re: Modal "dialog" HTML element demo

Unread post by iyutr » 2021-10-19, 21:33

Sorry, dialog appears. My mistake. There were not an issue.

Locked