Bug 959197; Update capability check to use platformName instead of platf...

...orm; r=dhunt