Gracefully handle screen.orientation access over unsupported frames.

WebLocalFrame-hosted LocalFrames install screen orientation support;
WebPagePopup-hosted ones reasonably don't. The window of the latter
kind are accessible in non-production builds, so correctly handle
any attempted access to screen.orientation for these.

R=haraken,mlamouri
BUG=459284

Review URL: https://codereview.chromium.org/943483003

git-svn-id: svn://svn.chromium.org/blink/trunk@190479 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: f7f2dbf2f0db505fce82d7b75a70f8b96268cd05
  1. third_party/