3rd param not Transferable should throw TypeError

- with-ports 025, 026 should throw TypeError when the 3rd param isn't
Transferable;
- without-ports 025, dont mean to fix the case. Remove the unused var
obj to avoid confusion in the future.
Fix_coding style

Remove the unnecessary space and replace the tab with spaces
Merge pull request #1439 from siusin/fix-webmessaging-withport025026-TypeError

WebMessaging__3rd param not Transferable should throw TypeError