Closed Bug 626996 Opened 13 years ago Closed 13 years ago

WebGL tests shouldn't be loading pages from the Internet

Categories

(Core :: Graphics, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b10
Tracking Status
status1.9.2 --- unaffected

People

(Reporter: bhearsum, Assigned: bjacob)

References

Details

Attachments

(1 file)

I noticed that there's two WebGL tests:
http://mxr.mozilla.org/mozilla-central/source/content/canvas/test/webgl/conformance/origin-clean-conformance.html?force=1#130
http://mxr.mozilla.org/mozilla-central/source/content/canvas/test/webgl/more/functions/readPixelsBadArgs.html?force=1#116

which load images from opengl.org. For stability and repeatability reasons, they should be loaded via file:// or from a local webserver.
Blocks: 626999
Indeed.

Need to fix that upstream so syncing stays easy. (upstream = khronos.org)
I think we should address this as soon as possible in mozilla-central, and then try to upstream our patches, not the other way around.

Remember that things like this can cause the tree to be closed for a long time, and that's a risk which we just can't take right now.

Benoit, if you don't agree with fixing the tests soon, we should disable them right now before they cause us grief.
OK, I do this ASAP.
Attached patch use local fileSplinter Review
Thanks Ehsan for the explanation :)
This needs to be from a different domain, so this patch uses example.com
Attachment #505195 - Flags: review?(ehsan)
Whiteboard: [orange]
Version: unspecified → Trunk
Serge.  [orange] and blocking randomorange are used for specific reasons.  Please don't use them on bugs which are not intermittent oranges which have happened at least once on mozilla-central.
No longer blocks: 438871
Whiteboard: [orange]
Comment on attachment 505195 [details] [diff] [review]
use local file

r=me.  Please land on mozilla-central as soon as possible, with a=NPOTB.
Attachment #505195 - Flags: review?(ehsan) → review+
(In reply to comment #7)
> Comment on attachment 505195 [details] [diff] [review]
> use local file
> 
> r=me.  Please land on mozilla-central as soon as possible, with a=NPOTB.

It seems to me like this is part of the build.
(In reply to comment #8)
> > r=me.  Please land on mozilla-central as soon as possible, with a=NPOTB.
> 
> It seems to me like this is part of the build.

Obviously, s/NPOTB/test-only/ ;->
As far as I know, NPOTB means changes which do not affect the optimized builds we send to the users.

http://hg.mozilla.org/mozilla-central/rev/3b7e6d130e8e
Assignee: nobody → bjacob
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
NPOTB is generally taken to mean "couldn't possibly affect tinderbox"
(In reply to comment #6)
> Serge.  [orange] and blocking randomorange are used for specific reasons. 
> Please don't use them on bugs which are not intermittent oranges which have
> happened at least once on mozilla-central.

I had moved these here because of comment 5...
Flags: in-testsuite+
Target Milestone: --- → mozilla2.0b10
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: