script: Properly implement LegacyPlatformGetOwnProperty in WebIDL.
90fb284
We were missing the "ignoreNamedProperties" bit, which my previous patch uncovers.