Labs/Jetpack/Reboot/JEP/112: Difference between revisions

Line 139: Line 139:
Important points so far:
Important points so far:


# Domain of API must be all browser pages, not just a single node or page.
# The domain of browser extensions is not a single page but the set of all the user's pages.  The API should reflect that.
# Consumers must specify a context.  They can game the system by specifying a universal context, but being forced to specify a context nudges them to not abuse the <em>context</em> menu and consider alternative UI if their context is truly universal.
# The context menu is for context-related UI.  API consumers must specify a context.  They can game the system by specifying a universal context, but being forced to specify a context nudges them to not abuse the <em>context</em> menu and consider alternative UI if their context is truly universal.
# Contexts can be specified in different ways: selectors, functions, nodes?, ...
# Contexts can be specified in different ways: selectors, functions, nodes?, ...
# Declarative context specifications are better.
# Declarative context specifications are better.
Confirmed users
764

edits