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