Files
palemoon27/dom/webidl/BluetoothGattDescriptor.webidl
roytam1 5e85317f94 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1214048 - Improve callee-not-a-function error for spread calls. (r=jorendorff) (f47489e821)
- Bug 1202561 - Mark no-longer-used constants in jsversion.h. r=jorendorff. (dd9a29e777)
- Bug 995610 - Part 0: Add release property to getBuildConfiguration(). r=evilpie (9aff95b34a)
- Bug 995610 - Part 1: Show deprecated warning for expression closure. r=evilpie (740af95e85)
- Bug 1167029 - Followup: remove now-unused DeprecatedLetBlock telemetry. (rs=efaust) (dc3293d70f)
- Bug 1201740 - Prevent interception if the request is a System XHR. r=bkelly (eea213dcc2)
- Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan (15089bb64b)
- Back out bug 1149127 because of Thunderbird insanity (2047b66990)
- Bug 1187404 - Allow tab to select an option from a select element in e10s r=Enn (e2c98e7c0f)
- Mac v2 signing - Bug 1047738 - Make distribution code look for the distribution directory under Contents/Resources due to v2 signing requirements. r=bsmedberg # Please enter the commit message for your changes. Lines starting (4d6f19f952)
- Bug 1176703 - load default theme manifest in safe mode, r=bsmedberg (374f8f6ca3)
- misc path and import fixes (4547430310)
- bug 1174704 - Implement GetUserDataDirectoryHome for iOS. r=froydnj (886abeed30)
- Bug 1177819. Replace the warning about anon content being passed into frame construction with an assert plus whitelisting of the known-OK cases. r=dholbert (9d9354f0af)
- Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug (48560d44b6)
- Bug 1205635: Don't define methods of Bluetooth backend interfaces in header, r=btian (a30773e87e)
- Bug 1181482 - Patch1: Refine some data types in gecko backend for GATT server read/write request APIs. r=btian (12921ff365)
- Bug 1181479: Refine StringToUuid; r=jocelyn (68ca54278a)
- Bug 1181479: Refine GenerateUuid(); r=jocelyn (dd91af86c9)
- Bug 1140952 - Implement read/write value of a descriptor for GATT client API (webapi part). f=jocelyn, r=btian, r=mrbkap (276d63e128)
- misspatch (87e07ca21f)
- Bug 1181479: Implement GATT Server service management; r=jocelyn, r=mrbkap (1abb22088d)
- Bug 1161939 - Correct bitwise checking on GATT characteristic write properties. r=jocelyn (fd0c6f1358)
- Bug 1181482 - Patch2: Revise read/write characteristic/descriptor value to cover both GATT client and GATT server role. r=btian, r=bz (658efbd941)
- Bug 1181479: Sync the coding style; r=jocelyn (ab0f1509c1)
- Bug 1181482 - Patch3: Implement |sendResponse| and BluetoothGattAttributeEvent for GATT server read/write requests. r=btian, r=bz (c50c93a6a3)
- Bug 1211140 - Remove telemetry for RegExpSourceProperty. r=till (faa512402e)
- Bug 1208835 - Add telemetry for RegExp static property access after String.prototype.replace with function argument and RegExp static property is changed inside it. r=till,bsmedberg (c412b13e4c)
- Bug 683218 - Remove non-standard __noSuchMethod__ feature. r=efaust (a3a567d797)
- Bug 1201460: Disallow asm.js compilation for class/methods; r=luke (963644c32f)
- Bug 1214013 - Remove drainGlobalOrEvalBindings and use generateBindings for all kinds of scripts. (r=efaust) (338778ce73)
- Bug 1214050 - Don't give overwritten non-deoptimized function bindings slots in global scripts. (r=efaust) (3e95d0ba46)
- Bug 1214013 - Parse global scripts non-incrementally. (r=efaust) (33a378413b)
- Bug 1214013 - Remove funky Maybe<ParseContext> logic in BytecodeCompiler. (r=efaust) (0f02d0e3da)
- Bug 1212719 - Throw SyntaxError immediately for unexpected TOK_TRIPLEDOT. r=Waldo (769ab2403d)
- Bug 1218204 - Remove else after return from Parser<ParseHandler>::maybeParseDirective. r=arai (519b748a63)
- Bug 1216966 - Part 1: Splurge and use separate error messages for generator comprehensions that need more parentheses and yield expressions that need more parentheses. r=efaust. (fcb6b0a5d2)
- Bug 1216966 - Part 2: Tweak a comment about comprehension syntax. r=efaust. (59670db722)
- Bug 1216966 - Part 3: Remove redundant method Parser::parenExprOrGeneratorComprehension. r=efaust. (e2a5d76e35)
- Bug 1216966 - Part 4: Update a big comment about for-loops in Parser.cpp. r=efaust. (ac28e492db)
- Bug 1216966 - Part 5: Code organization and comments around parsing comprehensions. r=efaust. (e5533b379b)
- Bug 1216623 - Part 1: Rename some loop variables to avoid conflicts with ES6 scoping rules. r=fitzgen, r=ttaubert, r=MattN, r=gps. (daf7d973b0)
- Bug 932517 - Treat let as a contextual keyword in sloppy mode and make it versionless. (r=jorendorff) (c95a8c115f)
- align to TFF (e27ad0cc42)
- Bug 1217001 - Refactor BytecodeEmitter::variables. Part 1: preliminaries. r=shu. (dad313be3e)
- Bug 1217001 - Part 2: Rename two local variables and improve some old comments. r=shu. (8f050c8d34)
- Bug 1217001 - Part 3: Remove one goto statement. r=shu. (6ff8f4d4de)
- Bug 1217001 - Part 4: Improve the comments on VarEmitOption. r=shu. (6396585f04)
- Bug 1217001 - Part 5: Further revise control structure in BytecodeEmitter::emitVariables(). r=shu. (e671d81923)
- Bug 1217001 - Part 6: Eliminate some continue statements. r=shu. (80a7767e89)
- Bug 1217001 - Part 7: Change BytecodeEmitter::emitNormalFor() to decouple it from weird expectations about BytecodeEmitter::emitVariables(). r=shu. (557a9249a8)
- Bug 1217001 - Part 8: Eliminate all uses of PNX_POPVAR. r=shu. (c9c27b5072)
- Bug 1217001 - Part 9: Remove PNX_POPVAR. r=shu. (012e716653)
- Bug 1217001 - Part 10: Delete redundant boolean argument. r=shu. (5f528ed198)
- Bug 1217001 - Part 11: Get rid of the last goto in BytecodeEmitter::emitVariables(). r=shu. (0d11883f9e)
- Fix a broken JS test. It landed in rev 093802a6d8ae (bug 1003554) and was apparently fine until it was merged to m-c/m-i, where it probably collided with rev bug 1217099 or bug 1217001. no_r=bustage to a CLOSED TREE. (12470085c8)
- Bug 1217099 - Stop emitting pointless JSOP_GETLOCAL; JSOP_POP bytecode sequence for `var x;`. r=shu. (9c69ca3bd3)
-  Bug 1217110 - Remove unnecessary opcode JSOP_BINDINTRINSIC. r=shu. (58e4f74fd1)
2022-10-27 08:50:13 +08:00

33 lines
1.2 KiB
Plaintext

/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
* BluetoothGattDescriptor could be in the server role as a descriptor provided
* by a local GATT server, or in the client role as a descriptor provided by a
* remote GATT server.
*/
[CheckAnyPermissions="bluetooth"]
interface BluetoothGattDescriptor
{
readonly attribute BluetoothGattCharacteristic characteristic;
readonly attribute DOMString uuid;
readonly attribute ArrayBuffer? value;
[Cached, Constant]
readonly attribute GattPermissions permissions;
/**
* Read or write the value of this descriptor.
*
* If this descriptor is in the client role, the value will be read from or
* written to the remote GATT server. Otherwise, the local value will be
* read/written.
*/
[NewObject]
Promise<ArrayBuffer> readValue();
[NewObject]
Promise<void> writeValue(ArrayBuffer value);
};