1. 11 Mar, 2020 1 commit
  2. 10 Mar, 2020 7 commits
  3. 09 Mar, 2020 12 commits
  4. 06 Mar, 2020 11 commits
  5. 05 Mar, 2020 7 commits
  6. 04 Mar, 2020 2 commits
    • Kyle Keating's avatar
      Merge pull request #1870 from hypothesis/rpc-improvements · e67ca503
      Kyle Keating authored
      Refactor fetch-config.js and allow requestConfigFromFrame to be an object
      e67ca503
    • Kyle Keating's avatar
      Refactor fetch-config.js and allow requestConfigFromFrame to be an object · 75b15ef3
      Kyle Keating authored
      - Rename fetchConfig to fetchConfigLegacy
      - Allow the requestConfigFromFrame variable from hypothesisConfig to be either a string containing the origin url (legacy),
      or an object containing the origin url + the ancestor level value of the parent frame. This is used to directly find the
      frame which to send RPC requests too so we don't have to guess and create erroneous console errors.
      - Rename fetchConfig to fetchConfigLegacy (now deprecated)
      - Add fetchConfigRpc to replace fetchConfigLegacy
      - Add fetchConfigEmbed for the simple hash fragment case
      - Refactor fetchConfig to decide how it will fetch the host config (one of 3-ways)
       1. simple case from url hash fragment
       2. legacy RPC call from (depreciated)
       3. RPC call directly to parent frame.
      75b15ef3