summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/push_messaging/push_message_data.idl
blob: 63855585cd55824fe2507c1acbbe33ca35af5c18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://w3c.github.io/push-api/#pushmessagedata-interface

[
    Exposed=ServiceWorker
] interface PushMessageData {
    ArrayBuffer arrayBuffer();
    Blob blob();
    [CallWith=ScriptState, RaisesException] JSON json();
    USVString text();
};