Auto merge of #13145 - ashrko619:nav-cookie-enabled, r=nox

Implemented Navigator.cookieEnabled

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13124 (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13145)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-09-01 05:25:52 -05:00 committed by GitHub
commit f787e8ed65
3 changed files with 13 additions and 7 deletions

View file

@ -5304,9 +5304,6 @@
[Navigator interface: operation unregisterContentHandler(DOMString,DOMString)]
expected: FAIL
[Navigator interface: attribute cookieEnabled]
expected: FAIL
[Navigator interface: operation yieldForStorageUpdates()]
expected: FAIL
@ -5355,9 +5352,6 @@
[Navigator interface: calling unregisterContentHandler(DOMString,DOMString) on window.navigator with too few arguments must throw TypeError]
expected: FAIL
[Navigator interface: window.navigator must inherit property "cookieEnabled" with the proper type (16)]
expected: FAIL
[Navigator interface: window.navigator must inherit property "yieldForStorageUpdates" with the proper type (17)]
expected: FAIL
@ -9008,4 +9002,3 @@
[Event interface: calling initEvent(DOMString,boolean,boolean) on new TrackEvent("addtrack", {track:document.createElement("track").track}) with too few arguments must throw TypeError]
expected: FAIL