1. 27 Jul, 2016 1 commit
  2. 26 Jul, 2016 1 commit
  3. 25 Jul, 2016 1 commit
    • Nick Stenning's avatar
      Ensure that frame-rpc event listeners are correctly torn down · 6ca273c1
      Nick Stenning authored
      When the client is destroyed, it's important that we correctly tear down
      the frame-rpc event listeners (bound to the document's `onmessage`
      event).
      
      These event listeners are responsible for relaying messages from the
      frame-rpc mechanism to various parts of the code on either side of the
      frame boundary, including the `AnnotationSync` component. If the
      frame-rpc channels aren't correctly torn down, they will hold a
      reference to the `Bridge` object, which in turn holds a reference to the
      `AnnotationSync` object, and thus old copies of `AnnotationSync` which
      should have been garbage-collected will continue to receive events from
      the brand new Hypothesis client.
      
      The most visible result of this problem was that repeated activation and
      deactivation of the client would result in increasing numbers of
      highlights being drawn on annotated text, as reported in
      hypothesis/h#3096.
      
      Fixes hypothesis/h#3096.
      6ca273c1
  4. 22 Jul, 2016 3 commits
    • Robert Knight's avatar
      0.35.0 · 429009ca
      Robert Knight authored
      429009ca
    • Robert Knight's avatar
      Update CHANGELOG.md · a18345d9
      Robert Knight authored
      a18345d9
    • Robert Knight's avatar
      Remove PhantomJS-specific polyfills (#45) · 6656a63f
      Robert Knight authored
      PhantomJS supports ES5 fully and does not require specific polyfills for
      it. This means that we can use exactly the same polyfill script in both
      our unit tests and the actual app, which reduces the chances of breakage
      due to mismatches.
      
      Additionally, the broken URL constructor could potentially affect other
      browsers, so it makes sense to include it in the main polyfill script.
      6656a63f
  5. 21 Jul, 2016 6 commits
  6. 19 Jul, 2016 5 commits
  7. 15 Jul, 2016 16 commits
  8. 14 Jul, 2016 7 commits