UITour: loading an iframe in web content hides UITour highlights & info panels

NEW
Unassigned

Status

()

defect
5 years ago
5 years ago

People

(Reporter: agibson, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Whilst building the 33.1 whatsnew post-tour landing page, we discovered the following issue. Not sure if this is somehow intended behavior or just a bug, but filing it here anyway:

STR:

1.) Show a UITour highlight and/or info panel in the browser chrome.
2.) Load an iframe src in the web page

Expected results:

The UITour highlight / info panel should remain visible.

Actual results:

When the iframe src loads, UITour highlights / info panels disappear.

To work around this bug, we had to delay loading the iframe until the user finishes the tour.
If I run the following in a scratchpad while on https://www.mozilla.org/en-US/firefox/36.0a1/tour/ the info panel stays open:

var iframe = document.createElement("iframe");
iframe.src = "https://people.mozilla.com/"
document.body.appendChild(iframe);

Could you give example code that causes the problem?

Can you file future UITour bugs blocking fx-UITour to ease tracking?
Blocks: fx-UITour
Flags: needinfo?(agibson)
(In reply to Matthew N. [:MattN] (UTC+1 until Nov. 22) from comment #1)
> If I run the following in a scratchpad while on
> https://www.mozilla.org/en-US/firefox/36.0a1/tour/ the info panel stays open:
> 
> var iframe = document.createElement("iframe");
> iframe.src = "https://people.mozilla.com/"
> document.body.appendChild(iframe);
> 
> Could you give example code that causes the problem?
> 
> Can you file future UITour bugs blocking fx-UITour to ease tracking?

Using the above code pasted into the console, the doorhanger disappears for me on 35.0a2 and 33.1. Does not seem to happen on Nightly though?
Flags: needinfo?(agibson)
(In reply to Matthew N. [:MattN] (UTC+1 until Nov. 22) from comment #1)
> Can you file future UITour bugs blocking fx-UITour to ease tracking?

Also sorry, sure I will do :)
(In reply to Matthew N. [:MattN] (UTC+1 until Nov. 22) from comment #1)
> If I run the following in a scratchpad while on
> https://www.mozilla.org/en-US/firefox/36.0a1/tour/ the info panel stays open:
> 
> var iframe = document.createElement("iframe");
> iframe.src = "https://people.mozilla.com/"
> document.body.appendChild(iframe);

In both e10s and non-e10s mode? :-)
Moving open UITour bugs to Firefox::Tours. Filter on firefox-tours-20150121.
Component: General → Tours
You need to log in before you can comment on or make changes to this bug.