• 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
..
integration Loading commit data...
config-fragment-test.js Loading commit data...
frame-error-capture-test.js Loading commit data...
injector-test.js Loading commit data...
listener-collection-test.js Loading commit data...
port-finder-test.js Loading commit data...
port-provider-test.js Loading commit data...
port-rpc-test.js Loading commit data...
port-util-test.js Loading commit data...
prompts-test.js Loading commit data...
random-test.js Loading commit data...
renderer-options-test.js Loading commit data...
shortcut-test.js Loading commit data...
type-coercions-test.js Loading commit data...
user-agent-test.js Loading commit data...
warn-once-test.js Loading commit data...