How to suppress warnings with style sheet

View: New views
3 Messages — Rating Filter:   Alert me  

How to suppress warnings with style sheet

by Annorax :: Rate this Message:

| View Threaded | Show Only this Message

Hi all,

I'm running some htmlunit automation using the Grinder I have and I see the following warnings on my console.

null [1:4] Error in style rule. Invalid token "*". Was expecting one of: <S>, "{", ",", ".", ":", "[", <HASH>, "+", ">".
null [1:4] Ignoring the following declarations in this rule.

I am working in QA and Dev has informed me they are unable to fix these warnings. Is there any way using htmlunit or Grinder to suppress these warnings?

Thanks for any help.

Re: How to suppress warnings with style sheet

by Ahmed Ashour :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

Resending, you must subscribe to the list before posting.

Ahmed


Annorax wrote:
Hi all,

I'm running some htmlunit automation using the Grinder I have and I see the following warnings on my console.

null [1:4] Error in style rule. Invalid token "*". Was expecting one of: <S>, "{", ",", ".", ":", "[", <HASH>, "+", ">".
null [1:4] Ignoring the following declarations in this rule.

I am working in QA and Dev has informed me they are unable to fix these warnings. Is there any way using htmlunit or Grinder to suppress these warnings?

Thanks for any help.

Re: How to suppress warnings with style sheet

by gredler :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

You should be able to register a custom CSS error handler with empty handler methods:

http://htmlunit.sourceforge.net/apidocs/com/gargoylesoftware/htmlunit/WebClient.html#setCssErrorHandler%28org.w3c.css.sac.ErrorHandler%29

Take care,

Daniel


On Fri, Jan 29, 2010 at 2:08 PM, Ahmed Ashour <asashour@...> wrote:

Hi,

Resending, you must subscribe to the list before posting.

Ahmed



Annorax wrote:
>
> Hi all,
>
> I'm running some htmlunit automation using the Grinder I have and I see
> the following warnings on my console.
>
> null [1:4] Error in style rule. Invalid token "*". Was expecting one of:
> <S>, "{", ",", ".", ":", "[", <HASH>, "+", ">".
> null [1:4] Ignoring the following declarations in this rule.
>
> I am working in QA and Dev has informed me they are unable to fix these
> warnings. Is there any way using htmlunit or Grinder to suppress these
> warnings?
>
> Thanks for any help.
>

--
View this message in context: http://old.nabble.com/How-to-suppress-warnings-with-style-sheet-tp27373292p27376819.html
Sent from the HtmlUnit - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user