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

[BUGFIX beta] Remove FastBoot monkeypatch #12677

Merged
merged 1 commit into from
Dec 8, 2015

Conversation

tomdale
Copy link
Member

@tomdale tomdale commented Dec 3, 2015

The DOM helper used to require a patched protocolForURL to work in Node. This PR:

  1. Adds a test to verify attributes are correctly sanitized when rendered via visit() in Node
  2. Removes the monkeypatch

Note that this PR relies on tildeio/htmlbars#437, which will need to be merged and bumped before this PR's tests will pass.

/cc @chancancode

// enabled, we check to see if those flags are on before registering
// the tests. Once all feature flags are on by default we can remove
// this conditional.
if (appModule.canRunTests) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to keep this around in case it gets backed out?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess so. I'm not sure of the actual process of when things get removed. /cc @rwjblue

@chancancode
Copy link
Member

ProTip™: use https://github.com/emberjs/ember.js/pull/12677/files?w=1 for a better diff 👀

@tomdale
Copy link
Member Author

tomdale commented Dec 8, 2015

Looks like this is failing on IE. I don't have a VM on my laptop at the moment, though I'm trying to download one on slow Wi-Fi. If anyone with IE handy could run the tests and report the error, I would appreciate it.

@tomdale
Copy link
Member Author

tomdale commented Dec 8, 2015

Just a sauce issue, thanks @rwjblue for the re-run.

The DOM helper used to require a specially patched version of
`protocolForURL` and `setMorphHTML` to work in Node. This commit:

1) Adds a test to verify attributes are correctly sanitized in Node
2) Removes the monkeypatches
@tomdale tomdale changed the title Remove FastBoot monkeypatch [BUGFIX beta] Remove FastBoot monkeypatch Dec 8, 2015
@tomdale
Copy link
Member Author

tomdale commented Dec 8, 2015

Added [BUGFIX beta] tag

@rwjblue
Copy link
Member

rwjblue commented Dec 8, 2015

Thank you @tomdale

rwjblue added a commit that referenced this pull request Dec 8, 2015
[BUGFIX beta] Remove FastBoot monkeypatch
@rwjblue rwjblue merged commit 8fbcf6d into master Dec 8, 2015
@rwjblue rwjblue deleted the remove-fastboot-monkeypatch branch December 8, 2015 17:21
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.

3 participants