1. 30 Mar, 2020 1 commit
    • Kyle Keating's avatar
      Add coercion map for specific host-config values · ecff45cf
      Kyle Keating authored
      add `type-coercion.js` util with 4 methods. These are used on incoming the host-config values `openSidebar` and `requestConfigFromFrame` which may have an incompatible type upstream (via3) from what the client expects.
      
      - toInteger
      - toObject
      - toString
      - toBoolean
      
      These methods coerces specific values into types so that downstream (client) methods can make assumptions. This is part of the prep work to support via3 which will eventually only export strings values in the config.
      ecff45cf
  2. 27 Mar, 2020 9 commits
  3. 26 Mar, 2020 2 commits
    • Kyle Keating's avatar
      Merge pull request #1961 from hypothesis/rcp-queue-until-ready · f98d0ebb
      Kyle Keating authored
      Add preStart method to cross-origin-rcp module
      f98d0ebb
    • Kyle Keating's avatar
      Add preStartServer() method to cross-origin-rcp module · aae34baf
      Kyle Keating authored
      When called, allows any incoming rpc request to wait in a queue and be proceeded a short time later when the actual start() method is called. This prevents potential timeouts from incoming RPC requests from LMS (or similar) that arrive after we tipped off the parent frame with a fetchConfig outgoing request but before startServer() is called.
      
      - Rename start() to startServer()
      - Use newer module export standard that matches the rest of the app
      aae34baf
  4. 24 Mar, 2020 12 commits
  5. 23 Mar, 2020 16 commits