Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Firefox android opens a new tab from iframe src

  • 1 ответ
  • 0 имеют эту проблему
  • 20 просмотров
  • Последний ответ от scorpiot1000

more options

Steps: - create an iframe without src - create click event listener on any other element - set iframe src to on click to some url that supports "go to application" e.g. YouTube embed url

Expected: Iframe shows youtube video on element click

Actual: Firefox asks to open a new tab or open an app, and never shows this in iframe

Fix for developers: Recreate the iframe with the src

It only works on ff android, we spent literally hours to catch this bug

Steps: - create an iframe without src - create click event listener on any other element - set iframe src to on click to some url that supports "go to application" e.g. YouTube embed url Expected: Iframe shows youtube video on element click Actual: Firefox asks to open a new tab or open an app, and never shows this in iframe Fix for developers: Recreate the iframe with the src It only works on ff android, we spent literally hours to catch this bug
Приложенные скриншоты

Все ответы (1)

more options

A forgot to say it only happens once per application run per site. So step 0 is to kill the firefox using android app info page

Полезно?

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.