← 输入框|github.com|刷新
Skip to content

fix(http): remove dots from jsonp callback name - #13219

Closed
DzmitryShylovich wants to merge 1 commit into
angular:masterfrom
DzmitryShylovich:gh/13175
Closed

DzmitryShylovich wants to merge 1 commit into
angular:masterfrom
DzmitryShylovich:gh/13175

Conversation

@DzmitryShylovich

Copy link
Copy Markdown
Contributor

Fixes #13175


exposeConnection(id: string, connection: any) {
exposeConnection(id: string, connection: any): void {
const connections = _getJsonpConnections();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is there any problems with _getJsonpConnections()? if it will throw ${JSONP_HOME}${id}_finished is undefined.

@vicb vicb added comp: http action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 9, 2016
@mhevery mhevery added the action: merge The PR is ready for merge by the caretaker label Jan 28, 2017
@mhevery mhevery closed this in 9e5617e Jan 29, 2017
mhevery pushed a commit that referenced this pull request Feb 3, 2017
@doxiaodong

Copy link
Copy Markdown

@DzmitryShylovich , hello, after upgrade to 2.4.6, I get Uncaught ReferenceError: __ng_jsonp____req0_finished is not defined as #13219 (comment)

@ipeshev

ipeshev commented Feb 3, 2017

Copy link
Copy Markdown

Тhe feature request and the issue are intertwined in very interesting way. The consequences are that in angular version 2.4.6 JSONP with usual setup is not working. Do we have the feature though @DzmitryShylovich ?

@DzmitryShylovich

Copy link
Copy Markdown
Contributor Author

@ipeshev use http 2.4.5 until it will be fixed
there's nothing new in 2.4.6 except jsonp bug :)

mhevery added a commit to mhevery/angular that referenced this pull request Feb 9, 2017
IgorMinar pushed a commit that referenced this pull request Feb 16, 2017
tinesoft added a commit to tinesoft/ngx-sharebuttons that referenced this pull request Feb 23, 2017
…ersions with JSONP bug#13219

- add note in `README.md` regarding angular version and  angular/angular#13219
asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 10, 2019
adhambaouz pushed a commit to adhambaouz/angular that referenced this pull request Nov 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker action: review The PR is still awaiting reviews from at least one requested reviewer cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jsonp callbackName can be modified wanted

6 participants