mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make Document::DefaultView return a null value when there's no browsing context
This commit is contained in:
parent
a80767993b
commit
3bb093cc16
7 changed files with 66 additions and 28 deletions
|
@ -118,7 +118,7 @@ partial /*sealed*/ interface Document {
|
|||
// void writeln(DOMString... text);
|
||||
|
||||
// user interaction
|
||||
readonly attribute Window/*Proxy?*/ defaultView;
|
||||
readonly attribute Window?/*Proxy?*/ defaultView;
|
||||
readonly attribute Element? activeElement;
|
||||
boolean hasFocus();
|
||||
// attribute DOMString designMode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue