Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Converting IDOMNode to IDOMHTMLInputElement fails
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pelota  
View profile  
 More options Nov 19 2012, 10:05 am
Newsgroups: mozilla.dev.platform
From: Pelota <immonikolausneuh...@googlemail.com>
Date: Mon, 19 Nov 2012 07:05:02 -0800 (PST)
Local: Mon, Nov 19 2012 10:05 am
Subject: Converting IDOMNode to IDOMHTMLInputElement fails
I have an IDOMNode
    nsCOMPtr_IDOMNode elementNode;

from which I can get the node name without problems ("INPUT", "FIELDSET", ...)
    nsString strName;
    elementNode->GetNodeName(strName);

Since Gecko 17 I have the problem, that I cannot get the HTML Input Element Interface for this node:
    nsCOMPtr<nsIDOMHTMLInputElement> pHTMLInputElement;

    pHTMLInputElement = do_QueryInterface(elementNode);
    if(pHTMLInputElement) {

This works fine with < Gecko 16. Any Ideas or known bugs? Did something change between Gecko 16 to 17?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kyle Huey  
View profile  
 More options Nov 19 2012, 10:19 am
Newsgroups: mozilla.dev.platform
From: Kyle Huey <m...@kylehuey.com>
Date: Mon, 19 Nov 2012 07:19:35 -0800
Local: Mon, Nov 19 2012 10:19 am
Subject: Re: Converting IDOMNode to IDOMHTMLInputElement fails
The IID of nsIDOMHTMLInputElement changed from Gecko 16 to Gecko 17.  You
are probably compiling against headers for Gecko 16.

- Kyle
On Nov 19, 2012 7:10 AM, "Pelota" <immonikolausneuh...@googlemail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
immonikolausneuh...@googlemail.com  
View profile  
 More options Nov 19 2012, 10:21 am
Newsgroups: mozilla.dev.platform
From: immonikolausneuh...@googlemail.com
Date: Mon, 19 Nov 2012 07:21:55 -0800 (PST)
Local: Mon, Nov 19 2012 10:21 am
Subject: Re: Converting IDOMNode to IDOMHTMLInputElement fails
Additional infos:
- Tests on Windows 7
- Firefox 17.0
- do_QueryInterface(elementNode, &error); yields NS_ERROR_NO_INTERFACE (0x80004002).

Why didn't I get here the interface since Gecko 17?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pelota  
View profile  
 More options Nov 20 2012, 6:54 am
Newsgroups: mozilla.dev.platform
From: Pelota <immonikolausneuh...@googlemail.com>
Date: Tue, 20 Nov 2012 03:54:37 -0800 (PST)
Local: Tues, Nov 20 2012 6:54 am
Subject: Re: Converting IDOMNode to IDOMHTMLInputElement fails
The real problem was using an old 17.0 Gecko SDK. With SDK 17.0b6 there is no problem.

Thx for fast help, Kyle!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil  
View profile  
 More options Nov 20 2012, 7:26 am
Newsgroups: mozilla.dev.platform
From: Neil <n...@parkwaycc.co.uk>
Date: Tue, 20 Nov 2012 12:25:59 +0000
Local: Tues, Nov 20 2012 7:25 am
Subject: Re: Converting IDOMNode to IDOMHTMLInputElement fails

Kyle Huey wrote:
>The IID of nsIDOMHTMLInputElement changed from Gecko 16 to Gecko 17.  You are probably compiling against headers for Gecko 16.

How does bug 813264 affect this?

--
Warning: May contain traces of nuts.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kyle Huey  
View profile  
 More options Nov 20 2012, 7:34 am
Newsgroups: mozilla.dev.platform
From: Kyle Huey <m...@kylehuey.com>
Date: Tue, 20 Nov 2012 04:34:26 -0800
Local: Tues, Nov 20 2012 7:34 am
Subject: Re: Converting IDOMNode to IDOMHTMLInputElement fails
On Tue, Nov 20, 2012 at 3:54 AM, Pelota
<immonikolausneuh...@googlemail.com>wrote:

> The real problem was using an old 17.0 Gecko SDK. With SDK 17.0b6 there is
> no problem.

> Thx for fast help, Kyle!

As Neil alludes to, this is actually our fault for changing the interfaces
during beta.  We've undone that now.  The released version of Firefox will
be shipping with the IIDs from 17.0b5 (and previous betas), not 17.0b6.

There are details in Bug 813264 if you're curious.

- Kyle


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »