Closed Bug 604759 Opened 14 years ago Closed 13 years ago

CSP inline script violation issue with online tests

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aaronmt, Unassigned)

References

Details

(Keywords: regression, Whiteboard: [mozmill-test-failure])

Attachments

(1 file)

Currently some of our few but existing online tests (for example Add-on's tests that attempt to install from AMO) are violating some factor of bug 493857 and the browser is logging to console:

CSP WARN:  Directive "violated base restriction: Inline Scripts will not execute" violated

This is seemingly *not* just a warning as it's resulting in a failure in some tests.

I've attached an example test-case that provides an example from one of our Add-on tests that attempts to grab an element on AMO.

Test-case passes on 1.9.1/1.9.2 and fails in recent trunk builds.

We need to not violate this CSP.
Attached file Test-case
bug 600584, will make it clearer exactly what and where the issue is
Blocks: 599865
Blocks: 599866
Blocks: 599867
Which dev can help us here? What would have to be done?
See bug 604715. Do we have other tests as the add-ons manager ones which throw those warnings out? If not it's a dupe.
Your bug 604826 discovered the issue here it looks like, for now I'll mark as dupe and attach the same test case to that bug.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
No. That bug hasn't anything to do with the issue we are seeing here. It's really a dupe of bug 604715.
As long as bug 610243 hasn't been fixed we will see those warnings in the console and log.
Status: RESOLVED → REOPENED
Depends on: 610243
Resolution: DUPLICATE → ---
Oh, and it shouldn't block any of our tests.
No longer blocks: 599865, 599866, 599867
Status: REOPENED → NEW
Move of Mozmill Test related project bugs to newly created components. You can
filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Product: Testing → Mozilla QA
Version: Trunk → unspecified
Anything left to be done for this bug?
Whiteboard: [mozmill-test-failure]
Hm, fixed by bug 610243 as given by my comment 7?
Yeah, that's good enough for me.
Status: NEW → RESOLVED
Closed: 14 years ago13 years ago
Resolution: --- → FIXED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: