Closed
Bug 1692066
Opened 5 years ago
Closed 4 years ago
Save to Pocket button message response don't need panel ids in their name
Categories
(Firefox :: Pocket, enhancement, P2)
Firefox
Pocket
Tracking
()
RESOLVED
FIXED
92 Branch
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: thecount, Assigned: thecount)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Right now the messaging system for the save to Pocket button has an id in the response from the time when it was in an iframe to ensure no other events or panels may be listening. By putting the panel id right in the message response name, it made it unique.
The new messaging system is a 1 to 1 relationship, so there is no need to setup a unique event name, and it also means we can now allowlist all our event names because they are now static.
Updated•4 years ago
|
Assignee: nobody → sdowne
Priority: -- → P2
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Steps to test:
- Open an article of some sort, a rec from newtab for example.
- Log into Pocket using the Pocket panel.
- Save the article, make sure it' saved to your Pocket.
- Click some of the on save recs in the panel.
- Delete the article, make sure it's now gone.
- Log out.
That should do it. It's just regression testing, really. If this is going to break something, it's likely to break it in very noticeable ways, and the panel would become non functional completely.
Pushed by sdowne@getpocket.com:
https://hg.mozilla.org/integration/autoland/rev/d2d46aeb34e1
Pocket panels remove panel id from messaging. r=gvn
Comment 4•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox92:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•