Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schneems/test for 141 #142

Merged
merged 2 commits into from
Sep 25, 2015
Merged

Schneems/test for 141 #142

merged 2 commits into from
Sep 25, 2015

Conversation

schneems
Copy link
Member

No description provided.

schneems added a commit that referenced this pull request Sep 25, 2015
@schneems schneems merged commit d2bf061 into master Sep 25, 2015
wlipa and others added 2 commits September 25, 2015 13:18
Currently dependencies are mutated after they're pulled out of the cache. These same dependencies can then be re-stored later

```
cache.set(key, history.unshift(deps).take(limit))
```

This makes it possible for a project to load the wrong asset.
This isn't ideal, we're directly inspecting the cache, but I don't know how to cause a second asset to actually use the information in the cache to incorrectly load an asset. If someone could show me how, that would be great and I'll update the test. To understand the failure mode see: #141 (comment)
@jeremy jeremy deleted the schneems/test-for-141 branch September 27, 2015 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants