Create framed widget parent
Categories
(Firefox :: New Tab Page, enhancement)
Tracking
()
People
(Reporter: maxx, Assigned: maxx)
References
(Blocks 1 open bug)
Details
Attachments
(3 obsolete files)
| Assignee | ||
Comment 1•1 month ago
|
||
Adds a test-only "framed" newtab widget that renders an iframe (widgets.framed.endpoint, default the solitaire bucket) below a Crossword-style header. Includes the registry entry, prefs, the frame-src CSP origin, the customize toggle string, the header's "..." menu (size, move, hide), which also serves as the drag handle, and loading the iframe only once the card first scrolls into view.
| Assignee | ||
Comment 2•1 month ago
|
||
Validates postMessage traffic from the framed widget (origin, source, channel, and the protocol v1 payload rules), waits for the widget_ready check before showing the iframe, and falls back to a "Try again" card after a 12s load timeout or a terminal widget_error.
| Assignee | ||
Comment 3•1 month ago
|
||
Wraps the iframe in a dialog that stays in the card (show()) and becomes modal (showModal()) on the widget's start_game action, so the same document keeps running at up to 950x600. close_game and reset_game shrink it back; the X button, a backdrop click and Esc close it and reload the frame into its resume state. The card's header is hidden while the game is open.
Updated•1 month ago
|
Updated•5 days ago
|
Updated•5 days ago
|
Updated•5 days ago
|
Description
•