WebGL: Return both unprefixed and prefixed supported names from getSupportedExtensions
WebGL spec requires that getExtension "Returns an object if, and only if, name is an ASCII case-insensitive match [HTML] for one of the names returned from getSupportedExtensions; otherwise, returns null." Respect this requirement by always returning both unprefixed and prefixed names from getSupportedExtensions in case they are supported by getExtension. Functionality that is common to both getExtension and getSupportedExtensions is refactored to separate helper functions so that maintaining this becomes easier. BUG=354454 TEST=WebGL conformance tests R=bajones@chromium.org, kbr@chromium.org Review URL: https://codereview.chromium.org/205903004 git-svn-id: svn://svn.chromium.org/blink/trunk@170071 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment