Closed Bug 1311358 Opened 8 years ago Closed 8 years ago

Show error notification when opening RDM for container tab

Categories

(DevTools :: Responsive Design Mode, defect, P1)

49 Branch
defect

Tracking

(firefox52 verified)

VERIFIED FIXED
Firefox 52
Iteration:
52.3 - Nov 14
Tracking Status
firefox52 --- verified

People

(Reporter: jryans, Assigned: jryans)

References

(Depends on 1 open bug)

Details

(Whiteboard: [multiviewport][reserve-rdm])

Attachments

(1 file)

Let's add an error notification when opening RDM on a container tab as a temporary fix until it's really supported.  This avoid breaking the tab.

See meta bug 1306975 for more details.
Flags: qe-verify+
Comment on attachment 8802522 [details]
Bug 1311358 - Add error notification for RDM with container tabs.

https://reviewboard.mozilla.org/r/86906/#review85928

::: dom/ipc/ContentParent.cpp:4785
(Diff revision 1)
>                                  InfallibleTArray<FrameScriptInfo>* aFrameScripts,
>                                  nsCString* aURLToLoad,
>                                  TextureFactoryIdentifier* aTextureFactoryIdentifier,
>                                  uint64_t* aLayersId)
>  {
> +  printf("RCW\n");

nit: logging leftover
Comment on attachment 8802522 [details]
Bug 1311358 - Add error notification for RDM with container tabs.

https://reviewboard.mozilla.org/r/86906/#review86036

Works well for me!
Attachment #8802522 - Flags: review?(ntim.bugs) → review+
Comment on attachment 8802522 [details]
Bug 1311358 - Add error notification for RDM with container tabs.

https://reviewboard.mozilla.org/r/86906/#review85928

> nit: logging leftover

Wow, thanks for catching...  I'm doing too many things at once it seems (was part of a totally different bug...).
Pushed by jryans@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/455c709178a6
Add error notification for RDM with container tabs. r=ntim
https://hg.mozilla.org/mozilla-central/rev/455c709178a6
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
This bug is about showing error notification when trying to enable rdm mode in a container tab as a temporary fix of bug 1306975

I can see the error message is implemented in Latest Nightly 52.0a1 in Elementary OS 64bit

Build ID 	20161020030211
User Agent 	Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: