Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify some things regarding onbefore* events #15

Closed
hallvors opened this issue Jul 27, 2015 · 1 comment
Closed

Clarify some things regarding onbefore* events #15

hallvors opened this issue Jul 27, 2015 · 1 comment

Comments

@hallvors
Copy link
Contributor

Per IRC discussion with Anne:

7:59 PM <hallvors> it's up to the UA when to fire them, but typically it would happen for example when the user opens the "Edit" menu
7:59 PM <annevk> ah right, they're unrelated to firing of the non-before events
8:00 PM <hallvors> so the UA is about to show the user a menu containing "copy"/"cut"/"paste" commands, and wants to enable or disable them
8:00 PM <hallvors> exactly. They are sort of completely unrelated to those other clipboard events..
8:00 PM <annevk> so what you actually want to define then is a set of steps for displaying "edit UI"
8:00 PM <annevk> And then you have an algorithm whenever you "display edit UI"
8:01 PM <annevk> To figure out how you display it
8:01 PM <annevk> It happens to run some script from a queued task to figure that out
8:01 PM <annevk> Do you get distinct tasks for each event? Or do they share a task?
8:01 PM <annevk> That's the kind of thing that should be obvious from that algorithm
@hallvors
Copy link
Contributor Author

hallvors commented Apr 4, 2016

I killed those before* events completely.

@hallvors hallvors closed this as completed Apr 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant