commit | 6eef82663dd4619c7ea75db5bac1e87f37b64046 | [log] [tgz] |
---|---|---|
author | alexander.shalamov <alexander.shalamov@intel.com> | Thu Feb 02 08:45:25 2017 |
committer | Commit bot <commit-bot@chromium.org> | Thu Feb 02 08:45:25 2017 |
tree | 4e714aa0cf5cb67f983919baa0480edd632b028c | |
parent | 3106d615187170611dc4d9c0f8735aad31c49f92 [diff] |
[webnfc] Allow access to WebNFC API only from main frame This CL adds functionality that checks whether browsing context is a main frame (top-level browsing context) as specified in https://w3c.github.io/web-nfc/#security-policies New layout test is added to verify new functionality. - third_party/WebKit/LayoutTests/nfc/nfc-block-iframe.html BUG=520391 Review-Url: https://codereview.chromium.org/2657023005 Cr-Commit-Position: refs/heads/master@{#447729}