Closed Bug 847716 Opened 12 years ago Closed 12 years ago

bindAttribLocation for /_?webgl_.*/ should generate INVALID_OPERATION

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: jgilbert, Assigned: jgilbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This wasn't very clear in the spec, but has since been rectified.
Attached patch patch (deleted) — Splinter Review
Attachment #721003 - Flags: review?(bjacob)
Comment on attachment 721003 [details] [diff] [review] patch Review of attachment 721003 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/canvas/src/WebGLContextValidate.cpp @@ +347,5 @@ > + { > + ErrorInvalidOperation("%s: string contains a reserved GLSL prefix", info); > + return false; > + } > + nsString API may be bad, but it does have a way to match substrings without producing an actual new string, right? See Find(), http://mxr.mozilla.org/mozilla-central/source/xpcom/glue/nsStringAPI.h#267
Attachment #721003 - Flags: review?(bjacob) → review-
Comment on attachment 721003 [details] [diff] [review] patch Apparently nsString API is badder than I knew, doesn't allow Find on nsAString. a sad r+.
Attachment #721003 - Flags: review- → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
However, we do have StringBeginsWith...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: