Closed Bug 596772 Opened 14 years ago Closed 14 years ago

web content warnings written to console after ContentSymbiont changes landed

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Assigned: irakli)

Details

Attachments

(1 file)

The fix for bug 588737 causes a bunch of warnings to get written to the console when jetpack-core tests are run against Firefox 4.0b6.  Although the warnings don't generate test failures, they do make it hard to read the console output for information about test failures and make it appear as if there are problems with the tests.  So we should make the tests stop generating them.

Here's a sample warning:

console: [JavaScript Warning: "Expected declaration but found '*'.  Skipped to next declaration." {file: "http://www.mozilla.com/includes/min/min.css?g=css" line: 1}]

This suggests to me that a new test is loading web content such as http://www.mozilla.com/, and that web content is generating warnings.  It's possible that in the long run we should simply stop reporting such errors in web content, but a short term fix would be to make the test load some content that doesn't generate them.
Irakli: do you know which tests might be generating these warnings?
Assignee: nobody → rFobic
Attached patch FixSplinter Review
Attachment #475881 - Flags: review?(myk)
Comment on attachment 475881 [details] [diff] [review]
Fix

Looks great, r=myk!
Attachment #475881 - Flags: review?(myk) → review+
Low-risk, high-reward, a=myk for checkin during freeze.
Fixed by changeset https://hg.mozilla.org/labs/jetpack-sdk/rev/9bfe1631d20c.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: