Commit f35734e8 authored by lunalu's avatar lunalu Committed by Commit bot

Fix low risk non-nullable => nullable attributes / arguments to match the spec

BUG=662005

Review-Url: https://codereview.chromium.org/2574303002
Cr-Commit-Position: refs/heads/master@{#438869}
parent 78408cfe
...@@ -25,5 +25,5 @@ interface ProcessingInstruction : CharacterData { ...@@ -25,5 +25,5 @@ interface ProcessingInstruction : CharacterData {
// ProcessingInstruction implements LinkStyle // ProcessingInstruction implements LinkStyle
// https://dev.w3.org/csswg/cssom/#requirements-on-user-agents-implementing-the-xml-stylesheet-processing-instruction // https://dev.w3.org/csswg/cssom/#requirements-on-user-agents-implementing-the-xml-stylesheet-processing-instruction
readonly attribute StyleSheet sheet; readonly attribute StyleSheet? sheet;
}; };
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// https://www.w3.org/TR/image-capture // https://w3c.github.io/mediacapture-image/#ImageCaptureAPI
[ [
ActiveScriptWrappable, ActiveScriptWrappable,
......
...@@ -13,7 +13,7 @@ enum PresentationConnectionState { ...@@ -13,7 +13,7 @@ enum PresentationConnectionState {
[ [
RuntimeEnabled=Presentation RuntimeEnabled=Presentation
] interface PresentationConnection : EventTarget { ] interface PresentationConnection : EventTarget {
readonly attribute DOMString? id; readonly attribute DOMString id;
readonly attribute PresentationConnectionState state; readonly attribute PresentationConnectionState state;
[MeasureAs=PresentationConnectionClose] void close(); [MeasureAs=PresentationConnectionClose] void close();
[MeasureAs=PresentationConnectionTerminate] void terminate(); [MeasureAs=PresentationConnectionTerminate] void terminate();
......
...@@ -9,5 +9,5 @@ ...@@ -9,5 +9,5 @@
Exposed=ServiceWorker, Exposed=ServiceWorker,
RuntimeEnabled=PushMessaging, RuntimeEnabled=PushMessaging,
] interface PushEvent : ExtendableEvent { ] interface PushEvent : ExtendableEvent {
readonly attribute PushMessageData data; readonly attribute PushMessageData? data;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment