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

API changes for newChannel #5620

Closed
wants to merge 1 commit into from

Conversation

ckerschb
Copy link

@ckerschb ckerschb commented Jan 7, 2015

No description provided.

null,
null,
domWindow,
nullptr, // aLoadingPrincipal
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks like a typo, shouldn't nullptr be replaced by null?

@Snuffleupagus
Copy link
Collaborator

@ckerschb Once you've addressed the lint failures reported by Travis, please squash the commits.

@Snuffleupagus
Copy link
Collaborator

Unfortunately this patch does not seem to work correctly.
With it applied, trying to download[1] a PDF file fails with the following message in the browser console:

NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg 1 [nsIIOService.newChannelFromURI2] NetUtil.jsm:500:0

Note: This was tested with/without the nullptr typo fixed, and the result was the same in both cases.


[1] By clicking on the "Download" button in the viewer UI.

@Snuffleupagus
Copy link
Collaborator

Based on bug 1115197, comment 8 and bug 1115197, comment 9, I'm closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants