Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

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

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.