Closed Bug 1067721 Opened 10 years ago Closed 10 years ago

[e10s] "Save Snapshot As" dialog box doesn't open

Categories

(Toolkit :: Video/Audio Controls, defect)

35 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla36
Tracking Status
e10s m4+ ---

People

(Reporter: epinal99-bugzilla2, Assigned: mconley)

References

Details

Attachments

(3 files, 5 obsolete files)

STR: play any MP4 video like http://www.w3schools.com/html/mov_bbb.mp4 and right click to select the entry "save snapshot as".

Result: Nightly fails to open the dialog box to save the snapshot.
Blocks: e10s
tracking-e10s: --- → ?
Assignee: nobody → mconley
Attached patch Regression test (obsolete) (deleted) — Splinter Review
Attachment #8513781 - Attachment is obsolete: true
Attachment #8513781 - Attachment is obsolete: false
Attached patch Regression test (obsolete) (deleted) — Splinter Review
Attachment #8513781 - Attachment is obsolete: true
Attachment #8513850 - Attachment is obsolete: true
Comment on attachment 8513781 [details] [diff] [review]
[e10s] Make "Save Snapshot As" context menu item work for e10s. r=?

Grrr, bzexport...
Attachment #8513781 - Attachment is obsolete: false
Attached file MozReview Request: bz://1067721/mconley (obsolete) (deleted) —
Attachment #8514030 - Flags: review?(felipc)
/r/91 - Bug 1067721 - [e10s] Make "Save Snapshot As" context menu item work for e10s. r=?
/r/93 - Regression test

Pull down these commits:

hg pull review -r 734c1b478b5416ddabd116288845f25888148e53
Attachment #8514030 - Attachment is obsolete: true
Attachment #8514030 - Flags: review?(felipc)
Comment on attachment 8513781 [details] [diff] [review]
[e10s] Make "Save Snapshot As" context menu item work for e10s. r=?

This is the fix I have in mind. The regression test appears to fail on try, so I'm looking into that next.
Attachment #8513781 - Flags: review?(felipc)
Attached patch Regression test (obsolete) (deleted) — Splinter Review
Attachment #8513851 - Attachment is obsolete: true
Attached patch Regression test (obsolete) (deleted) — Splinter Review
Attachment #8514325 - Attachment is obsolete: true
Comment on attachment 8514328 [details] [diff] [review]
Regression test

I re-purposed some pre-existing video support files to do my bidding here, and so I renamed them to be more general.

This test works for both e10s and non-e10s - I was pleasantly surprised that I could use nsIDOMWindowUtils to open a context menu in a framescript.
Attachment #8514328 - Flags: review?(felipc)
Attachment #8513781 - Flags: review?(felipc) → review+
It's worth checking if you can just use document.popupNode in the child instead of sending back the CPOW ref
(In reply to :Felipe Gomes from comment #13)
> It's worth checking if you can just use document.popupNode in the child
> instead of sending back the CPOW ref

Tried, and it wasn't defined. I can't say I'm 100% surprised though - reading through[1], it looks like document.popupNode is on the outs.

Thanks for the review!

[1]: https://developer.mozilla.org/en-US/docs/Web/API/document.popupNode
Attached patch Regression test (deleted) — Splinter Review
Attachment #8514328 - Attachment is obsolete: true
Attachment #8514328 - Flags: review?(felipc)
Comment on attachment 8514502 [details] [diff] [review]
Regression test

browser_autocomplete_a11y_label.js was relying on that promisePopupHidden bug to actually hide the popup. When I fixed promisePopupHidden, it broke the assumption that promisePopupHidden actually _hides_ the popup (instead of waiting for it to hide). So I just hide the popup here.
Attachment #8514502 - Flags: review?(felipc)
Attachment #8514502 - Flags: review?(felipc) → review+
Thanks!

remote:   https://hg.mozilla.org/integration/fx-team/rev/9ee0da2fce79
Whiteboard: [fixed-in-fx-team]
Flags: in-testsuite+
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/9ee0da2fce79
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla36
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0

Verified fixed on:
- latest Nightly, build ID: 20141228030216
- Firefox 36.0a2, build ID: 20141229004004
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: