GoogleChrome/experience-sampling — pull request #58 by adrifelt (2014-10-27 02:13:37+00:00)
Title: Pass a URL as a query parameter to the surveys

We need to be able to display destination URLs in the questions. Here's how it works:
1. The background script gets the destination URL as part of the event
2. Background script sanitizes the URL
3. Background script appends the sanitized URL as a query parameter when opening survey.html
4. The survey driver checks that the URL is sanitized
5. The URL can be used in questions (as part of textContent)

Extensions do not have questions about URLs, so this only applies to the non-extension surveys.