• Eduardo Sanz García's avatar
    Make PortProvider#listen a private method · c5e02b31
    Eduardo Sanz García authored
    I can't see any negative consequence of starting to listen to
    postMessage discovery message immediately after `PortProvider` is
    instantiated. (In fact, this is what it was currently happening). These
    messages won't be lost, and the `PortRPC`s won't create the
    communication channels before the RPC methods are registered.
    
    On the other hand, it simplifies the use of `PortProvider` and
    eliminates the potential problem of `PortProvider#listen` been called
    more than once.
    c5e02b31
Name
Last commit
Last update
..
test Loading commit data...
config-fragment.js Loading commit data...
frame-error-capture.js Loading commit data...
injector.js Loading commit data...
listener-collection.js Loading commit data...
port-finder.js Loading commit data...
port-provider.js Loading commit data...
port-rpc.js Loading commit data...
port-util.js Loading commit data...
prompts.js Loading commit data...
random.js Loading commit data...
renderer-options.js Loading commit data...
shortcut.js Loading commit data...
type-coercions.js Loading commit data...
user-agent.js Loading commit data...
warn-once.js Loading commit data...