Auto merge of #23593 - georgeroman:fix_panic_on_opening_directory, r=Manishearth

Fix panic on opening a directory

<!-- 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

Continued from https://github.com/servo/servo/pull/23548

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/23593)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-06-22 22:24:08 -04:00 committed by GitHub
commit 1d2c0ba0bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 2 deletions

View file

@ -1,2 +1,7 @@
[get.py]
disabled: for now
[test_no_browsing_context]
expected: ERROR
[test_get_current_url_nested_browsing_context]
expected: FAIL

View file

@ -1,2 +1,4 @@
[navigate.py]
disabled: for now
[test_no_browsing_context]
expected: ERROR