Summary: | Speedometer: Update the Ember.js TodoMVC to a more recent version | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Addy Osmani <addyo> | ||||||||
Component: | Tools / Tests | Assignee: | Addy Osmani <addyo> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | buildbot, cdumez, commit-queue, lforschler, rniwa | ||||||||
Priority: | P2 | ||||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 170513 | ||||||||||
Attachments: |
|
Description
Addy Osmani
2017-04-26 14:06:49 PDT
Created attachment 308283 [details]
Patch
As usual, please add a blink line between Reviewed by and the change log description, and remove these inline comments as they don't add any value since we're simply importing files. We should also probably comment out setItem in resources/todomvc/architecture-examples/emberjs/source/app/services/repo.js. Is todomvc-fdd2c48cf675753de4a79c857343e23f.js used? If so, that also calls localStorage.setItem. We might need to override window.localStorage in prepare function instead if the minimized version calls setItem. Created attachment 309870 [details]
Patch
Created attachment 309871 [details]
Patch
I've added an in-memory localStorage shim that doesn't persist any data to the implementation. I've also added a blank line and trimmed down the inline comments per the other patches. Comment on attachment 309871 [details] Patch Clearing flags on attachment: 309871 Committed r216735: <http://trac.webkit.org/changeset/216735> All reviewed patches have been landed. Closing bug. |