gecko-dev/dom/indexedDB/test/chrome.ini
violet 10f7f3704a Bug 1509168 - Use JS_GetObjectAsArrayBufferView() to retrieve ArrayBufferView data r=asuth
When using JS_IsArrayBufferViewObject() to check ArrayBufferView object,
we should use JS_GetObjectAsArrayBufferView() to get its length and data.
Because in rare case there might be a wrapper on the object, JS_GetObjectAsArrayBufferView()
will handle it, js::GetArrayBufferViewLengthAndData() won't.

Differential Revision: https://phabricator.services.mozilla.com/D24009

--HG--
extra : moz-landing-system : lando
2019-04-17 12:59:20 +00:00

6 lines
100 B
INI

[DEFAULT]
support-files = chromeHelpers.js
[test_globalObjects_chrome.xul]
[test_wrappedArray.xul]