diff options
| author | Stephen Blott | 2016-04-10 11:51:32 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2016-04-12 06:36:03 +0100 | 
| commit | f144c7c9d3f141636ce6a3856db3abf08a4fc063 (patch) | |
| tree | d8b2dce8227e2760f2f65722a3e8450f88f7ec95 /pages/ui_component_server.coffee | |
| parent | 81fa2852b9ebfd1a0a2abd8b5ea374ac9bc49ca8 (diff) | |
| download | vimium-f144c7c9d3f141636ce6a3856db3abf08a4fc063.tar.bz2 | |
Set the mode indicator last.
Similarly to the previous commit: 454f5272c71388c53665d7505aa6832566284e2b.
This is intended to mitigate some CSP violations we're seeing.  In some
circumstances - as yet not fully pinned down - messages to the HUD
trigger CSP violations.  Until we track that down, we move all HUD
operations (in link hints) to the end of their execution slice.  So, if
HUD operations fail, then they won't affect any other operation.
The error message for offending HUD operations is:
ui_component.js:55:
  Failed to execute 'postMessage' on 'DOMWindow': The target origin provided
  ('chrome-extension://hiihfcebjbnoniicphblpiekhfmbdmog') does not match
  the recipient window's origin ('null').
Diffstat (limited to 'pages/ui_component_server.coffee')
0 files changed, 0 insertions, 0 deletions
