Describe the process of rendering a webpage from the moment a URL is entered.
Represent the process as named browser events with dependency lists, then implement a function that returns a valid execution order. Use input order to break ties between events that are simultaneously available.
events is a list of dictionaries with unique name strings and a depends_on list of names. Return a list of event names in dependency-respecting order. Inputs contain a valid acyclic dependency graph.
def render_order(events):