Bug 959197; Update capability check to use platformName instead of platform; r=dhunt