file stringlengths 16 94 | text stringlengths 32 24.4k | vector list |
|---|---|---|
api/speechrecognition/nomatch_event/index.md | API - SpeechRecognition - nomatch event:
The `nomatch` event of the Web Speech API is fired when the speech recognition service returns a final result with no significant recognition.
This may involve some degree of recognition, which doesn't meet or exceed the `confidence` threshold. | [
0.10392677783966064,
-0.2935691475868225,
0.3182256817817688,
0.5311417579650879,
-0.4758843183517456,
-1.0155582427978516,
-0.28071048855781555,
0.6479303240776062,
1.31633460521698,
-0.04992683231830597,
-0.4665450155735016,
0.1377686858177185,
0.20203730463981628,
0.38631772994995117,
... |
api/speechrecognition/nomatch_event/index.md | API - SpeechRecognition - nomatch event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("nomatch", (event) => { })
onnomatch = (event) => { } | [
0.2801394760608673,
0.19968761503696442,
-0.19827201962471008,
0.551338791847229,
-0.2655005156993866,
-1.3171191215515137,
0.6362723708152771,
0.9174678921699524,
0.2897873520851135,
0.35833436250686646,
-0.5314713716506958,
0.3383120596408844,
-0.14819350838661194,
-0.011630311608314514,... |
api/speechrecognition/nomatch_event/index.md | API - SpeechRecognition - nomatch event - Event type:
A `SpeechRecognitionEvent`. Inherits from `Event`. | [
0.29839888215065,
0.4127987027168274,
0.17461742460727692,
-0.20398302376270294,
-0.7553407549858093,
-1.5956358909606934,
0.43069925904273987,
0.8744148015975952,
0.3661279082298279,
0.2512836456298828,
-0.1234159767627716,
0.6151023507118225,
-0.3170892894268036,
0.4337603449821472,
0.... |
api/speechrecognition/nomatch_event/index.md | API - SpeechRecognition - nomatch event - Examples:
You can use the `nomatch` event in an `addEventListener` method:
Example:
const recognition = new (SpeechRecognition || webkitSpeechRecognition)();
recognition.addEventListener("nomatch", () => {
console.error("Speech not recognized");
});
Or use the `onnomatch... | [
0.04445795714855194,
0.2780168056488037,
0.2740097641944885,
0.4329187572002411,
-0.3905896544456482,
-1.324259638786316,
0.3346744775772095,
0.7766932845115662,
0.973360538482666,
0.15519817173480988,
-0.5186712145805359,
0.42165109515190125,
-0.06678953766822815,
0.07518954575061798,
1... |
api/speechrecognition/error_event/index.md | API - SpeechRecognition - error event:
The `error` event of the Web Speech API `SpeechRecognition` object is fired when a speech recognition error occurs. | [
-0.05463046953082085,
-0.09887789189815521,
0.12446461617946625,
0.14760437607765198,
-0.6426373720169067,
-1.3970718383789062,
0.7368937730789185,
0.14981281757354736,
0.7428303360939026,
-0.2049066722393036,
-0.7936176657676697,
-0.22809837758541107,
0.2257893681526184,
0.307728290557861... |
api/speechrecognition/error_event/index.md | API - SpeechRecognition - error event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("error", (event) => { })
onerror = (event) => { } | [
0.7386265993118286,
-0.185890793800354,
-0.006897930055856705,
0.17904216051101685,
-0.34409695863723755,
-0.9717066287994385,
0.24578583240509033,
0.8180246353149414,
0.6011433601379395,
-0.13053569197654724,
-0.7438918352127075,
0.32926174998283386,
-0.00709991529583931,
-0.0997311919927... |
api/speechrecognition/error_event/index.md | API - SpeechRecognition - error event - Event type:
A `SpeechRecognitionErrorEvent`. Inherits from `Event`. | [
0.1405884176492691,
0.1278330385684967,
0.18002603948116302,
-0.22589556872844696,
-0.5475802421569824,
-1.3894691467285156,
0.3523089587688446,
0.37926673889160156,
0.7970883250236511,
0.06295877695083618,
-0.3702090382575989,
0.11888378858566284,
0.11849105358123779,
0.1484440416097641,
... |
api/speechrecognition/error_event/index.md | API - SpeechRecognition - error event - Examples:
You can use the `error` event in an `addEventListener` method:
Example:
const recognition = new (SpeechRecognition || webkitSpeechRecognition)();
recognition.addEventListener("error", (event) => {
console.error(`Speech recognition error detected: ${event.error}`);... | [
0.20412695407867432,
0.108111672103405,
0.06796853244304657,
0.5186527371406555,
-0.5104346871376038,
-1.2567344903945923,
0.21275848150253296,
0.3994884788990021,
0.9201891422271729,
0.17316029965877533,
-0.4523288309574127,
0.23883381485939026,
0.02886011078953743,
0.1381339579820633,
... |
api/speechrecognition/result_event/index.md | API - SpeechRecognition - result event:
The `result` event of the Web Speech API is fired when the speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app | [
0.19504599273204803,
0.005621863529086113,
-0.06292855739593506,
0.31739404797554016,
-0.6593014597892761,
-1.5746688842773438,
-0.3227728009223938,
0.7441923022270203,
0.8873093724250793,
-0.19982226192951202,
-0.675689160823822,
0.2940085232257843,
-0.12581655383110046,
0.479021072387695... |
api/speechrecognition/result_event/index.md | API - SpeechRecognition - result event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("result", (event) => { })
onresult = (event) => { } | [
0.41999807953834534,
0.00749199278652668,
0.05199430137872696,
0.46533507108688354,
-0.302620530128479,
-1.3808332681655884,
0.2606576085090637,
0.9235789179801941,
0.30987799167633057,
0.06599873304367065,
-0.8516518473625183,
0.7337818145751953,
-0.11624452471733093,
-0.16900219023227692... |
api/speechrecognition/result_event/index.md | API - SpeechRecognition - result event - Event type:
A `SpeechRecognitionEvent`. Inherits from `Event`. | [
0.2963184416294098,
0.4628657400608063,
0.05562751740217209,
-0.22171185910701752,
-0.9124470949172974,
-1.3923799991607666,
0.3268647789955139,
0.5677118301391602,
0.24746426939964294,
0.18815827369689941,
-0.5550733208656311,
0.6069980263710022,
-0.20541641116142273,
0.17434804141521454,... |
api/speechrecognition/result_event/index.md | API - SpeechRecognition - result event - Examples:
This code is excerpted from our Speech color changer example.
You can use the `result` event in an `addEventListener` method:
Example:
const recognition = new SpeechRecognition();
recognition.addEventListener("result", (event) => {
const color = event.results[0]... | [
-0.03733696788549423,
0.2460034191608429,
0.17983946204185486,
-0.24816566705703735,
-0.6381493806838989,
-1.108820915222168,
0.011900514364242554,
1.374309778213501,
0.4844437837600708,
0.26898863911628723,
-0.5779241323471069,
0.44371044635772705,
0.27842074632644653,
-0.0373560264706611... |
api/mediastream/removetrack_event/index.md | API - MediaStream - removetrack event:
The `removetrack` event is fired when a new `MediaStreamTrack` object has been removed from a `MediaStream`.
This event is not cancelable and does not bubble. | [
-0.380743145942688,
-0.06583075225353241,
0.18001022934913635,
0.04239039123058319,
0.40147459506988525,
-1.9508683681488037,
0.25714993476867676,
0.48120826482772827,
-0.6455082893371582,
0.33137521147727966,
-0.0732867419719696,
-0.003128979355096817,
-0.32786011695861816,
0.532002568244... |
api/mediastream/removetrack_event/index.md | API - MediaStream - removetrack event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("removetrack", (event) => { })
onremovetrack = (event) => { } | [
0.2709799110889435,
-0.8324776291847229,
-0.30270394682884216,
-0.018291693180799484,
-0.15930142998695374,
-1.779658317565918,
-0.052869442850351334,
0.8355492353439331,
-0.07210945338010788,
-0.2539471685886383,
-0.1419527232646942,
-0.06741295754909515,
-1.439195156097412,
-0.1518519222... |
api/mediastream/removetrack_event/index.md | API - MediaStream - removetrack event - Event type:
A `MediaStreamTrackEvent`. Inherits from `Event`. | [
0.020319627597928047,
-1.0018972158432007,
0.05993771553039551,
-0.09397304803133011,
-0.11212772130966187,
-1.3903671503067017,
-0.34334224462509155,
0.39903390407562256,
-0.0655025914311409,
0.17427465319633484,
0.1288195699453354,
-0.21779727935791016,
-0.3150990903377533,
0.16091336309... |
api/mediastream/removetrack_event/index.md | API - MediaStream - removetrack event - Examples:
Using `addEventListener()`:
Example:
const stream = new MediaStream();
stream.addEventListener("removetrack", (event) => {
console.log(`${event.track.kind} track removed`);
});
Using the `onremovetrack` event handler property:
Example:
const stream = new MediaS... | [
0.30519822239875793,
-0.9538367986679077,
-0.5859314799308777,
0.5668978095054626,
0.015402786433696747,
-1.4475317001342773,
-0.518481969833374,
0.20726394653320312,
-0.14222294092178345,
0.2589733600616455,
-0.0815102607011795,
-0.46414753794670105,
-0.24519342184066772,
0.22681546211242... |
api/mediastream/addtrack_event/index.md | API - MediaStream - addtrack event:
The `addtrack` event is fired when a new `MediaStreamTrack` object has been added to a `MediaStream`.
This event is not cancelable and does not bubble. | [
-0.4845740795135498,
-0.4937950372695923,
0.31820014119148254,
0.2345649003982544,
0.057403549551963806,
-1.2570536136627197,
0.3002973794937134,
0.30760297179222107,
-0.3128654360771179,
-0.1442713588476181,
-0.05603304132819176,
-0.4019130766391754,
-0.0782075822353363,
0.412357866764068... |
api/mediastream/addtrack_event/index.md | API - MediaStream - addtrack event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("addtrack", (event) => { })
onaddtrack = (event) => { } | [
0.3244110345840454,
-0.9056879878044128,
0.14315156638622284,
0.3961721956729889,
-0.05992840602993965,
-1.1716969013214111,
0.0256710983812809,
0.8275114297866821,
-0.20408013463020325,
0.11858978867530823,
-0.44387510418891907,
0.07272611558437347,
-0.4890526235103607,
-0.003141317516565... |
api/mediastream/addtrack_event/index.md | API - MediaStream - addtrack event - Event type:
A `MediaStreamTrackEvent`. Inherits from `Event`. | [
0.06279347836971283,
-1.1849035024642944,
0.1352945864200592,
0.06301214545965195,
-0.1777876913547516,
-1.1399163007736206,
-0.274162232875824,
0.4880526661872864,
-0.02646477520465851,
0.010101601481437683,
-0.10109225660562515,
-0.2113344371318817,
-0.48607584834098816,
0.24848428368568... |
api/mediastream/addtrack_event/index.md | API - MediaStream - addtrack event - Examples:
Using `addEventListener()`:
Example:
const stream = new MediaStream();
stream.addEventListener("addtrack", (event) => {
console.log(`New ${event.track.kind} track added`);
});
Using the `onaddtrack` event handler property:
Example:
const stream = new MediaStream()... | [
0.4009105861186981,
-1.0367237329483032,
-0.5686660408973694,
0.7462366223335266,
-0.10469426959753036,
-1.2814946174621582,
-0.22535420954227448,
0.11416259407997131,
-0.12538060545921326,
0.1915024071931839,
0.0837646871805191,
-0.31801682710647583,
-0.26247382164001465,
0.33977881073951... |
api/installevent/index.md | API - InstallEvent:
The parameter passed into an `install` event handler function, the `InstallEvent` interface represents an install action that is dispatched on the `ServiceWorkerGlobalScope` of a `ServiceWorker`. As a child of `ExtendableEvent`, it ensures that functional events such as `FetchEvent` are not dispatc... | [
-0.5440719723701477,
-0.10029370337724686,
-0.4338091015815735,
0.9868619441986084,
-0.29088500142097473,
-2.043445110321045,
0.19213137030601501,
0.7622041702270508,
0.42095232009887695,
0.6799203753471375,
-0.306435763835907,
0.8736196160316467,
0.5521480441093445,
0.06512731313705444,
... |
api/installevent/index.md | API - InstallEvent - Constructor:
- `InstallEvent()`: Creates a new `InstallEvent` object. | [
-1.3689345121383667,
-0.17950661480426788,
-0.1192748099565506,
0.5378701090812683,
-0.23966148495674133,
-1.2650266885757446,
-0.18186569213867188,
0.7679421901702881,
-0.09868124127388,
0.17452454566955566,
-0.2778124511241913,
0.5393457412719727,
0.33209553360939026,
0.4421924352645874,... |
api/installevent/index.md | API - InstallEvent - Instance properties:
Inherits properties from its parent, `ExtendableEvent`. | [
-0.16699138283729553,
0.1500367969274521,
0.19327226281166077,
0.20317551493644714,
-0.9701558351516724,
-1.1165134906768799,
0.15121418237686157,
0.8727226853370667,
0.6836026310920715,
0.00017441250383853912,
-0.48927363753318787,
1.1308789253234863,
-0.4653347134590149,
0.34958317875862... |
api/installevent/index.md | API - InstallEvent - Instance methods:
Inherits methods from its parent, `ExtendableEvent`.
- `addRoutes()`: Specifies one or more static routes, which define rules for fetching specified resources that will be used even before service worker startup. | [
-0.26306554675102234,
-0.27508094906806946,
-0.06358638405799866,
0.5018129348754883,
-0.48123037815093994,
-1.202484369277954,
0.8108714818954468,
0.7901779413223267,
0.07475079596042633,
0.23197834193706512,
-0.6658357977867126,
0.6498725414276123,
0.0427345335483551,
-0.0041834600269794... |
api/installevent/index.md | API - InstallEvent - Examples:
This code snippet is from the service worker prefetch sample (see prefetch running live.) The code calls `ExtendableEvent.waitUntil()` in `ServiceWorkerGlobalScope.oninstall` and delays treating the `ServiceWorkerRegistration.installing` worker as installed until the passed promise resol... | [
-0.047716159373521805,
-0.4731420576572418,
-0.14136745035648346,
0.4878842234611511,
0.11591191589832306,
-1.189429759979248,
-0.0026937946677207947,
1.310956358909607,
0.8862999677658081,
0.616787314414978,
-0.2507079243659973,
0.8889603614807129,
0.0754363164305687,
0.45461636781692505,... |
api/installevent/addroutes/index.md | API - InstallEvent - addRoutes:
The `addRoutes()` method of the `InstallEvent` interface specifies one or more static routes, which define rules for fetching specified resources that will be used even before service worker startup. This allows you to, for example, bypass a service worker in cases where you always want... | [
0.13947243988513947,
-0.597270667552948,
-0.36788490414619446,
0.8535977005958557,
-0.24717365205287933,
-1.1060621738433838,
0.5090233087539673,
0.4855474829673767,
0.6241527795791626,
0.30709782242774963,
-0.3783882260322571,
0.4621489644050598,
0.47075963020324707,
-0.09826337546110153,... |
api/installevent/addroutes/index.md | API - InstallEvent - addRoutes - Syntax:
Example:
addRoutes(routerRules) | [
-0.8919073939323425,
-0.36878108978271484,
0.09900659322738647,
0.3967464566230774,
-0.5608025789260864,
-1.036462426185608,
0.3544536828994751,
0.1671651005744934,
0.24291574954986572,
0.13239514827728271,
-0.4790616035461426,
0.6095685362815857,
-0.08858894556760788,
0.19776448607444763,... |
api/installevent/addroutes/index.md | API - InstallEvent - addRoutes - Syntax - Parameters:
- `routerRules`: A single object, or an array of one or more objects, representing rules for how certain resources should be fetched. Each `routerRules` object contains the following properties:
- `condition`: An object defining one or more conditions that specif... | [
0.24611496925354004,
-0.3463212251663208,
-0.5356146097183228,
0.7617194652557373,
0.0998191088438034,
-0.4544207751750946,
-0.1760682612657547,
0.27057501673698425,
-0.31692051887512207,
-0.15426433086395264,
-0.7044008374214172,
0.19911068677902222,
0.4582454264163971,
0.0065763443708419... |
api/installevent/addroutes/index.md | API - InstallEvent - addRoutes - Syntax - Return value:
A `Promise` that fulfills with `undefined`. | [
-0.6307174563407898,
-0.29008591175079346,
0.10411879420280457,
0.06475619226694107,
-0.7359464764595032,
-0.9967488646507263,
0.44866642355918884,
0.1474890112876892,
-0.1482856720685959,
0.2108210027217865,
-0.5512298345565796,
0.8189622759819031,
0.22405728697776794,
0.6780902743339539,... |
api/installevent/addroutes/index.md | API - InstallEvent - addRoutes - Syntax - Exceptions:
- `TypeError` `DOMException`: Thrown if one or more of the rules objects inside `routerRules` is invalid, or has a `source` value of `"fetch-event"` when the associated service worker does not have a `fetch` event handler. Also thrown if you try to combine `or` wit... | [
-0.33434635400772095,
-1.2106552124023438,
0.5361694097518921,
0.847771942615509,
0.06570345163345337,
-1.388850450515747,
-0.2826419770717621,
0.42351314425468445,
0.7154633402824402,
-0.142562136054039,
-0.7583310604095459,
0.7805776596069336,
0.18895697593688965,
-0.39031147956848145,
... |
api/installevent/addroutes/index.md | API - InstallEvent - addRoutes - Examples - Route specific requests to the network if the service worker is not running:
In the following example, URLs that start with `/articles` are routed to the network if the service worker is not currently running:
Example:
addEventListener("install", (event) => {
event.addRo... | [
-0.452033668756485,
-0.42975157499313354,
0.1084839403629303,
0.5705934762954712,
-0.10590539127588272,
-1.1680009365081787,
0.36379605531692505,
0.4778751730918884,
0.30103182792663574,
0.49939215183258057,
-0.5696103572845459,
0.2877805829048157,
0.2821773588657379,
-0.19369769096374512,... |
api/installevent/addroutes/index.md | API - InstallEvent - addRoutes - Examples - Route form post requests to the network:
In the following example, `POST` requests to a form are sent directly to the network and bypass the service worker:
Example:
addEventListener("install", (event) => {
event.addRoutes({
condition: {
urlPattern: "/form/*",
... | [
-0.22044965624809265,
-0.39524349570274353,
0.033871129155159,
0.13418646156787872,
-0.07680658251047134,
-1.0860350131988525,
0.5575293302536011,
0.6691687703132629,
-0.12944309413433075,
0.2734919786453247,
-0.400139719247818,
0.28391915559768677,
0.43109601736068726,
-0.2721208333969116... |
api/installevent/addroutes/index.md | API - InstallEvent - addRoutes - Examples - Route certain image type requests to a named cache:
In the following example, the browser `Cache` named `"pictures"` is used for fetching files with extensions of `.png` or `.jpg`:
Example:
addEventListener("install", (event) => {
event.addRoutes({
condition: {
... | [
0.05133705586194992,
-0.5634937882423401,
-0.3958703875541687,
0.23268985748291016,
0.10342347621917725,
-0.7976242303848267,
0.6592920422554016,
1.4342060089111328,
-0.4975118339061737,
-0.3119893968105316,
0.2431471049785614,
1.0732661485671997,
0.016248565167188644,
0.6807032227516174,
... |
api/installevent/installevent/index.md | API - InstallEvent:
The `InstallEvent()` constructor creates a new `InstallEvent` object. | [
-1.234862208366394,
-0.25673162937164307,
-0.10742960125207901,
0.34164711833000183,
-0.2948978543281555,
-1.3172049522399902,
0.2860604524612427,
0.2615271508693695,
-0.37106025218963623,
0.17348796129226685,
-0.22901253402233124,
0.23371854424476624,
0.009852416813373566,
0.4070238769054... |
api/installevent/installevent/index.md | API - InstallEvent - Syntax:
Example:
new InstallEvent(type, options) | [
-0.28489503264427185,
-0.08208014070987701,
-0.42681044340133667,
0.11616609990596771,
-0.7322826981544495,
-0.998651385307312,
0.12325005233287811,
1.1457868814468384,
0.2773856818675995,
0.14906667172908783,
1.0349235534667969,
-0.2626954913139343,
0.3269665539264679,
0.42136242985725403... |
api/installevent/installevent/index.md | API - InstallEvent - Syntax - Parameters:
- `type`: A string with the name of the event. It is case-sensitive and browsers always set it to `install`.
- `options` (optional): An object that, in addition of the properties defined in `Event()`, can contain any custom settings that you want to apply to the event object. ... | [
-0.15236937999725342,
-0.6161805987358093,
-0.46209976077079773,
1.0380630493164062,
-0.31639182567596436,
-1.940980315208435,
0.9959642887115479,
0.977658748626709,
0.3932846784591675,
0.8855629563331604,
-0.2811110317707062,
-0.12810057401657104,
0.17114436626434326,
0.10569128394126892,... |
api/installevent/installevent/index.md | API - InstallEvent - Syntax - Return value:
A new `InstallEvent` object. | [
-0.0412403866648674,
-0.1383133828639984,
0.10228154063224792,
0.11627690494060516,
-0.3384360074996948,
-1.209162712097168,
0.14465385675430298,
0.5440616607666016,
0.34093862771987915,
0.43286484479904175,
-0.04373675957322121,
0.5929161906242371,
0.24069762229919434,
0.7688527703285217,... |
api/xrcylinderlayer/redraw_event/index.md | API - XRCylinderLayer - redraw event:
The `redraw` event is sent to the `XRCylinderLayer` object when the underlying resources of the layer are lost or when the XR Compositor can no longer reproject the layer. If this event is sent, authors should redraw the content of the layer in the next XR animation frame.
See al... | [
-0.804124116897583,
-0.43791431188583374,
-0.38772544264793396,
0.46087366342544556,
0.05100537836551666,
-1.3633246421813965,
0.5199494361877441,
1.2830417156219482,
-0.5721429586410522,
0.12861768901348114,
-0.08038996905088425,
0.44975799322128296,
0.11020326614379883,
1.089327812194824... |
api/xrcylinderlayer/redraw_event/index.md | API - XRCylinderLayer - redraw event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("redraw", (event) => { })
onredraw = (event) => { } | [
-0.2755296230316162,
-0.5055145025253296,
-0.13673198223114014,
0.40531742572784424,
-0.011022835969924927,
-1.0492967367172241,
0.1009259819984436,
0.6577522158622742,
0.055770933628082275,
0.43523240089416504,
-0.628324031829834,
0.25794583559036255,
0.28214049339294434,
0.19943287968635... |
api/xrcylinderlayer/redraw_event/index.md | API - XRCylinderLayer - redraw event - Event type:
An `XRLayerEvent`. Inherits from `Event`. | [
-0.7022089958190918,
-0.11576716601848602,
0.15671281516551971,
0.164670929312706,
-0.6772075891494751,
-0.9266808032989502,
0.15509319305419922,
0.5845054984092712,
-0.16161638498306274,
0.20985464751720428,
-0.08740612864494324,
0.46197354793548584,
0.07117392122745514,
0.279238045215606... |
api/xrcylinderlayer/redraw_event/index.md | API - XRCylinderLayer - redraw event - Examples - Using the `redraw` event:
You can pass `redraw` to `addEventListener()`:
Example:
cylinderLayer.addEventListener("redraw", (event) => {
// redraw the layer
});
Alternatively, you can use the `onredraw` event handler property to establish a handler for the `redraw`... | [
-0.917443573474884,
-0.34539616107940674,
-0.13660147786140442,
0.6001299023628235,
-0.12819954752922058,
-1.386648416519165,
0.16401422023773193,
0.902551531791687,
-0.03337559849023819,
0.3463788330554962,
-0.3256461024284363,
0.42041733860969543,
0.35655495524406433,
0.41878557205200195... |
api/cssperspective/length/index.md | API - CSSPerspective - length:
The `length` property of the `CSSPerspective` interface sets the distance from z=0.
It is used to apply a perspective transform to the element and its content. If the value is 0 or a negative number, no perspective transform is applied. | [
-0.049455706030130386,
-0.27171841263771057,
-0.17854444682598114,
-0.017143040895462036,
-0.0850730836391449,
-1.7464778423309326,
0.9124586582183838,
0.4949338436126709,
-0.24689696729183197,
-0.08366410434246063,
-0.5499268174171448,
0.2763226330280304,
0.5094574689865112,
0.29692730307... |
api/cssperspective/length/index.md | API - CSSPerspective - length - Value:
A `CSSNumericValue` | [
-0.4308541417121887,
0.43717512488365173,
-0.3049667775630951,
-0.6817815899848938,
-0.03599445894360542,
-2.268169641494751,
0.7520524263381958,
0.14118756353855133,
-0.5299491286277771,
0.7249027490615845,
0.38174593448638916,
0.2271392047405243,
0.06455269455909729,
0.6067385077476501,
... |
api/cssperspective/length/index.md | API - CSSPerspective - length - Examples:
To Do | [
-0.6823190450668335,
-0.08618468046188354,
-0.5594398379325867,
-0.2648373246192932,
-0.1253916621208191,
-0.5512183308601379,
0.4016300439834595,
0.008546002209186554,
-0.7887315154075623,
0.34779801964759827,
0.009767893701791763,
0.40278908610343933,
0.034839093685150146,
-0.13997845351... |
api/cssperspective/cssperspective/index.md | API - CSSPerspective:
The `CSSPerspective()` constructor creates a new `CSSPerspective` object representing the `perspective()` value of the individual `transform` property in CSS. | [
-0.5936294794082642,
-0.3127128779888153,
-0.11100752651691437,
-0.026842989027500153,
0.47749489545822144,
-2.2544467449188232,
0.35172051191329956,
0.8612346649169922,
-0.40295132994651794,
0.1400812268257141,
0.4327000379562378,
0.09519621729850769,
0.2836824655532837,
0.421540737152099... |
api/cssperspective/cssperspective/index.md | API - CSSPerspective - Syntax:
Example:
new CSSPerspective(length) | [
-1.1370505094528198,
-0.6337330937385559,
-0.34006035327911377,
-0.5596155524253845,
0.2406180202960968,
-2.0900635719299316,
-0.31495195627212524,
0.28774482011795044,
0.5198359489440918,
0.030416633933782578,
0.24763059616088867,
0.3405543565750122,
0.28833338618278503,
0.351802945137023... |
api/cssperspective/cssperspective/index.md | API - CSSPerspective - Syntax - Parameters:
- `length`: A value for the distance from z=0 of the `CSSPerspective` object to be constructed. This must be a `length`. | [
-0.5167021155357361,
-0.3120604455471039,
-0.11712529510259628,
0.0075720250606536865,
0.10739296674728394,
-2.2193827629089355,
-0.17586258053779602,
0.0694490596652031,
-0.1217053085565567,
-0.04414738342165947,
-0.5961559414863586,
0.6695569753646851,
0.5999239087104797,
0.2732198834419... |
api/cssperspective/cssperspective/index.md | API - CSSPerspective - Syntax - Exceptions:
- `TypeError`: Raised if the value of `CSSPerspective.length` exists but is not a `length`. | [
-0.8158582448959351,
-0.6348944902420044,
-0.022378383204340935,
-0.405134916305542,
-0.13489115238189697,
-1.6064060926437378,
0.12028200924396515,
0.6847606897354126,
0.6364643573760986,
-0.29986026883125305,
-0.4401882290840149,
0.5593012571334839,
0.49017608165740967,
0.229953974485397... |
api/cssperspective/cssperspective/index.md | API - CSSPerspective - Examples:
To do | [
-0.7639352083206177,
-0.3523859977722168,
0.021374233067035675,
0.16930148005485535,
0.10026669502258301,
-0.8326133489608765,
0.8203240633010864,
0.3785437047481537,
-0.47558000683784485,
0.7400705814361572,
0.09077466279268265,
0.46576255559921265,
0.1894685924053192,
-0.3956317305564880... |
api/cssskewy/index.md | API - CSSSkewY:
Note: This feature is available in Web Workers.
The `CSSSkewY` interface of the CSS Typed Object Model API represents the `skewY()` value of the individual `transform` property in CSS. It inherits properties and methods from its parent `CSSTransformValue`. | [
-0.5125609636306763,
-0.29153886437416077,
-0.10588593780994415,
0.3422042727470398,
0.42216700315475464,
-2.1628012657165527,
-0.03023599646985531,
0.5517826080322266,
0.8034490346908569,
0.6083614826202393,
0.44787174463272095,
0.3047642707824707,
1.011924386024475,
0.2316741943359375,
... |
api/cssskewy/index.md | API - CSSSkewY - Constructor:
- `CSSSkewY()`: Creates a new `CSSSkewY` object. | [
-0.8006820678710938,
0.5898029804229736,
0.6211242079734802,
0.04841161519289017,
0.09529736638069153,
-1.7900629043579102,
0.3875691294670105,
1.0727927684783936,
-0.6392451524734497,
0.4379701614379883,
0.15394189953804016,
0.035750262439250946,
0.16427192091941833,
0.39849892258644104,
... |
api/cssskewy/index.md | API - CSSSkewY - Instance properties:
Inherits properties from its ancestor `CSSTransformValue`.
- `ay`: Returns or sets the y-axis value. | [
-0.17408177256584167,
0.2218416929244995,
0.16694824397563934,
-0.11030707508325577,
-0.1625116765499115,
-1.9786583185195923,
0.3094366192817688,
1.365567684173584,
-0.2704971730709076,
0.5769418478012085,
-0.07380859553813934,
0.5017929077148438,
0.7254019975662231,
0.24812009930610657,
... |
api/cssskewy/index.md | API - CSSSkewY - Instance methods:
Inherits methods from its ancestor `CSSTransformValue`. | [
-0.3304300606250763,
0.5592003464698792,
-0.07089606672525406,
-0.026961442083120346,
0.01965978741645813,
-2.086185932159424,
0.23411747813224792,
0.6975457668304443,
0.09218241274356842,
0.38450729846954346,
0.21348249912261963,
0.3603677749633789,
0.9441808462142944,
0.20282292366027832... |
api/cssskewy/index.md | API - CSSSkewY - Examples:
To Do | [
-0.8084359169006348,
0.11912862956523895,
0.37808161973953247,
-0.03413374349474907,
0.27247026562690735,
-1.1020418405532837,
0.18276681005954742,
0.1347779631614685,
-0.6722270846366882,
0.9470535516738892,
0.39761027693748474,
0.5562577247619629,
0.19400781393051147,
-0.5027210116386414... |
api/cssskewy/cssskewy/index.md | API - CSSSkewY:
Note: This feature is available in Web Workers.
The `CSSSkewY()` constructor creates a new `CSSSkewY` object that represents the `skewY()` value of the individual `transform` property in CSS. | [
-0.3274255096912384,
0.23988139629364014,
-0.006783571094274521,
-0.291871041059494,
0.8944904804229736,
-1.7037287950515747,
0.3913849890232086,
0.8958598375320435,
0.009150654077529907,
0.527999997138977,
0.5898473262786865,
0.522485613822937,
0.1370169073343277,
0.3776165246963501,
-0... |
api/cssskewy/cssskewy/index.md | API - CSSSkewY - Syntax:
Example:
new CSSSkewY(ay) | [
-0.7389857769012451,
0.07943537831306458,
0.2448093593120575,
-0.40003299713134766,
0.11342081427574158,
-2.1617987155914307,
-0.17110535502433777,
0.4816991686820984,
0.1509096324443817,
0.6085047125816345,
0.824722945690155,
0.7146997451782227,
0.19418053328990936,
-0.3415314853191376,
... |
api/cssskewy/cssskewy/index.md | API - CSSSkewY - Syntax - Parameters:
- `ay`: A value for the `ay` angle of the `CSSSkewY` object to be constructed. This must be a `CSSNumericValue`. | [
-0.011152384802699089,
0.23527534306049347,
0.19645746052265167,
-0.10497396439313889,
0.5154611468315125,
-2.221675395965576,
0.027296647429466248,
1.0472348928451538,
-0.012137219309806824,
0.6000728607177734,
0.06401261687278748,
0.5822944045066833,
0.27955082058906555,
0.60785830020904... |
api/cssskewy/cssskewy/index.md | API - CSSSkewY - Examples:
To do | [
-0.259771466255188,
0.7745630145072937,
0.2709038555622101,
-0.09546942263841629,
-0.1027962788939476,
-0.5997897982597351,
0.08280374854803085,
0.2399844229221344,
-0.27390924096107483,
0.8455827832221985,
1.2651773691177368,
0.5173312425613403,
-0.037415117025375366,
-0.5792110562324524,... |
api/cssfontpalettevaluesrule/fontfamily/index.md | API - CSSFontPaletteValuesRule - fontFamily:
The read-only `fontFamily` property of the `CSSFontPaletteValuesRule` interface lists the font families the rule can be applied to. The font families must be named families; generic families like `courier` are not valid. | [
-0.9656965732574463,
-0.1325572431087494,
-0.185991108417511,
0.3658565282821655,
0.12635743618011475,
-1.9869554042816162,
0.10096494853496552,
0.5856514573097229,
0.7399430274963379,
-0.07216496020555496,
-0.295186847448349,
0.02962666004896164,
0.23203402757644653,
-0.46428167819976807,... |
api/cssfontpalettevaluesrule/fontfamily/index.md | API - CSSFontPaletteValuesRule - fontFamily - Value:
A string containing a space-separated list of the font families on which the rule can be applied | [
-0.5571625232696533,
0.3107961416244507,
-0.11095256358385086,
0.04523015767335892,
0.14435070753097534,
-2.230154275894165,
0.6554234623908997,
0.4413350224494934,
-0.06357967853546143,
-0.313648521900177,
-0.13760846853256226,
0.3477236032485962,
-0.4785316586494446,
-0.8155549764633179,... |
api/cssfontpalettevaluesrule/fontfamily/index.md | API - CSSFontPaletteValuesRule - fontFamily - Examples - Read the associated font family:
This example first defines an `@import` and an `@font-palette-values` at-rule. Then it reads the `@font-palette-values` rule and displays its name. The MDN live sample infrastructure combines all the CSS blocks in the example int... | [
-0.5441301465034485,
0.3431628942489624,
-0.42221537232398987,
0.4871101379394531,
0.26426371932029724,
-1.8826582431793213,
0.6224430799484253,
0.9162623882293701,
0.4832138419151306,
0.6827693581581116,
0.07263460010290146,
-0.177035391330719,
-0.020928656682372093,
-0.001467026770114898... |
api/cssfontpalettevaluesrule/fontfamily/index.md | API - CSSFontPaletteValuesRule - fontFamily - Examples - Read the associated font family - HTML:
Example:
<pre id="log">
The @font-palette-values at-rule's applies to the font families:</pre> | [
-1.104008436203003,
0.6204789280891418,
-0.7182195782661438,
0.4427131414413452,
-0.15090352296829224,
-2.3054420948028564,
-0.06980474293231964,
0.2484155297279358,
0.06097900867462158,
0.43705642223358154,
0.2769016921520233,
0.19675478339195251,
0.26891520619392395,
-0.4683997631072998,... |
api/cssfontpalettevaluesrule/fontfamily/index.md | API - CSSFontPaletteValuesRule - fontFamily - Examples - Read the associated font family - CSS:
Example:
@import "https://fonts.googleapis.com/css2?family=Bungee+Spice";
@font-palette-values --Alternate {
font-family: "Bungee Spice";
override-colors:
0 #00ffbb,
1 #007744;
}
.alternate {
font-palette: ... | [
-0.9297081828117371,
0.24321317672729492,
0.2316586971282959,
0.7102367281913757,
0.12228426337242126,
-1.8802236318588257,
-0.0734378844499588,
0.6229280233383179,
0.4549899101257324,
0.22821077704429626,
0.33475461602211,
0.15426594018936157,
0.2142932265996933,
-0.27311983704566956,
0... |
api/cssfontpalettevaluesrule/fontfamily/index.md | API - CSSFontPaletteValuesRule - fontFamily - Examples - Read the associated font family - JavaScript:
Example:
const log = document.getElementById("log");
const rules = document.getElementById("css-output").sheet.cssRules;
const fontPaletteValuesRule = rules[1]; // a CSSFontPaletteValuesRule interface
log.textConte... | [
-0.2880829870700836,
0.5288738012313843,
-0.8019916415214539,
0.676881730556488,
-0.1766936480998993,
-2.3765976428985596,
-0.35543516278266907,
0.46702760457992554,
-0.24324019253253937,
0.2726772129535675,
-0.18508858978748322,
0.020166471600532532,
-0.10018948465585709,
-0.3817610740661... |
api/sensor/error_event/index.md | API - Sensor - error event:
Secure context: This feature is available only in secure contexts (HTTPS).
The `error` event is fired when an exception occurs on a sensor.
The `Sensor` interface is a base class, `onerror` and the `error` event may only be used on one of the derived classes.
After this event has occurr... | [
-0.00898308027535677,
-0.06447555124759674,
-0.7564378976821899,
-0.19154761731624603,
0.28983744978904724,
-1.0540140867233276,
-0.06959091126918793,
1.4915601015090942,
-0.2246289998292923,
-0.32159674167633057,
0.294423907995224,
0.5333816409111023,
0.8203838467597961,
0.295007705688476... |
api/sensor/error_event/index.md | API - Sensor - error event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("error", (event) => { })
onerror = (event) => { } | [
-0.051950741559267044,
-0.1465192288160324,
-0.1973276436328888,
0.047470614314079285,
-0.17988914251327515,
-1.1852234601974487,
-0.22209221124649048,
0.9151524305343628,
0.04131521284580231,
-0.09275098145008087,
-0.7334905862808228,
0.441470205783844,
0.14894869923591614,
-0.02628089860... |
api/sensor/error_event/index.md | API - Sensor - error event - Event type:
A `SensorErrorEvent`. Inherits from `Event`. | [
-0.2565660774707794,
-0.2929312288761139,
-0.4696105718612671,
-0.41268402338027954,
-0.2114519476890564,
-1.3532459735870361,
-0.28415435552597046,
0.8461289405822754,
-0.2236318141222,
0.034813039004802704,
-0.22293901443481445,
0.17940065264701843,
0.3953069746494293,
0.1675946712493896... |
api/sensor/error_event/index.md | API - Sensor - error event - Examples - Log accelerometer exceptions:
This example adds an event listener to log errors occurred on an `Accelerometer`.
Example:
const acl = new Accelerometer({ frequency: 60 });
acl.addEventListener("error", (error) => console.log(`Error: ${error.name}`));
acl.start(); | [
0.10856027901172638,
-0.686238706111908,
-0.9697652459144592,
0.46241068840026855,
-0.2930859327316284,
-1.2000857591629028,
-0.35675233602523804,
0.35099419951438904,
0.022412270307540894,
-0.3008779287338257,
-0.27135124802589417,
0.38078320026397705,
0.5997220277786255,
0.84699875116348... |
api/hiddevice/inputreport_event/index.md | API - HIDDevice - inputreport event:
Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers.
The `inputreport` event of the `HIDDevice` interface fires when a new report is received from the HID device. | [
-0.07346975803375244,
0.3579816222190857,
-0.6268868446350098,
0.2851632833480835,
0.3413305878639221,
-0.8058773279190063,
-0.0505533330142498,
1.3664640188217163,
0.18170437216758728,
0.2684909701347351,
0.23936975002288818,
0.7575468420982361,
0.5641427040100098,
0.3938732445240021,
-... |
api/hiddevice/inputreport_event/index.md | API - HIDDevice - inputreport event - Syntax:
Use the event name in methods like `addEventListener()`, or set an event handler property.
Example:
addEventListener("inputreport", (event) => { })
oninputreport = (event) => { } | [
-0.09137027710676193,
-0.32175835967063904,
-0.6697830557823181,
0.5514259934425354,
-0.5304768085479736,
-1.257991909980774,
0.1269746571779251,
0.778531551361084,
0.2607632875442505,
0.3226052224636078,
-0.8281551599502563,
0.24466359615325928,
0.4701584577560425,
-0.01940542459487915,
... |
api/hiddevice/inputreport_event/index.md | API - HIDDevice - inputreport event - Event type:
An `HIDInputReportEvent`. Inherits from `Event`. | [
-0.3721943199634552,
0.04138763248920441,
-0.27140355110168457,
0.35834750533103943,
-0.42571204900741577,
-1.0473461151123047,
-0.26168081164360046,
0.4546607434749603,
0.17263883352279663,
0.20506644248962402,
-0.3883659541606903,
0.31990572810173035,
0.3205750584602356,
0.35815256834030... |
api/hiddevice/inputreport_event/index.md | API - HIDDevice - inputreport event - Example:
The following example demonstrates listening for an `inputreport` event that will allow the application to detect which button is pressed on a Joy-Con Right device. You can see more examples, and live demos in the article Connecting to uncommon HID devices.
Example:
dev... | [
0.4850081205368042,
0.10318908840417862,
-1.1509422063827515,
0.4637638330459595,
0.2531416714191437,
-0.9080578684806824,
0.05535206198692322,
1.3424574136734009,
-0.24146699905395508,
0.689592719078064,
-0.3873334228992462,
0.49146413803100586,
0.4296608567237854,
0.5332313776016235,
-... |
api/hiddevice/sendreport/index.md | API - HIDDevice - sendReport:
Secure context: This feature is available only in secure contexts (HTTPS). Note: This feature is available in Web Workers.
The `sendReport()` method of the `HIDDevice` interface sends an output report to the HID device.
The `reportId` for each of the report formats that this device supp... | [
-0.3794645369052887,
0.4186849892139435,
-0.5373151898384094,
-0.15112172067165375,
0.015438131988048553,
-0.6973657011985779,
0.3039610683917999,
1.2934486865997314,
0.3718407154083252,
0.12964704632759094,
-0.04131113737821579,
0.6472728252410889,
0.4639984965324402,
0.6415373682975769,
... |
api/hiddevice/sendreport/index.md | API - HIDDevice - sendReport - Syntax:
Example:
sendReport(reportId, data) | [
-1.03578782081604,
-0.3722276985645294,
0.03466055914759636,
-0.6262370944023132,
-1.0977455377578735,
-1.1530035734176636,
0.3170086741447449,
0.02447446808218956,
-0.1717524230480194,
-0.18225699663162231,
-0.500099778175354,
0.08560168743133545,
-0.1801186054944992,
0.5628169178962708,
... |
api/hiddevice/sendreport/index.md | API - HIDDevice - sendReport - Syntax - Parameters:
- `reportId`: An 8-bit report ID. If the HID device does not use report IDs, send `0`.
- `data`: Bytes as an `ArrayBuffer`, a `TypedArray`, or a `DataView`. | [
-0.7922015190124512,
-0.03356161713600159,
-0.8091872334480286,
0.08970096707344055,
-0.48999980092048645,
-1.8005650043487549,
0.2927629351615906,
0.40480130910873413,
-0.052269987761974335,
0.32214370369911194,
-1.1119565963745117,
-0.1795152723789215,
0.3426569402217865,
0.5260844230651... |
api/hiddevice/sendreport/index.md | API - HIDDevice - sendReport - Syntax - Return value:
A `Promise` that resolves with `undefined` once the report has been sent. | [
-0.5775924921035767,
0.12283705174922943,
-0.10427650064229965,
-0.1605013906955719,
-0.2813034653663635,
-0.9080918431282043,
0.7771372199058533,
0.40082934498786926,
-0.5463154911994934,
0.14354093372821808,
-0.4506683349609375,
0.4221827983856201,
0.2604399025440216,
1.2284632921218872,... |
api/hiddevice/sendreport/index.md | API - HIDDevice - sendReport - Syntax - Exceptions:
- `NotAllowedError` `DOMException`: Thrown if sending the report fails for any reason. | [
-0.7886216640472412,
-0.2358063906431198,
-0.11001813411712646,
-0.5022954940795898,
-0.4416974186897278,
-1.7449524402618408,
0.15643663704395294,
0.4575575888156891,
-0.10707486420869827,
-0.16462890803813934,
-0.6539340019226074,
0.12782256305217743,
0.5932430624961853,
0.58390766382217... |
api/hiddevice/sendreport/index.md | API - HIDDevice - sendReport - Examples:
The example below shows how to make a Joy-Con device rumble using output reports. You can see more examples, and live demos in the article Connecting to uncommon HID devices.
Example:
// First, send a command to enable vibration.
// Magical bytes come from https://github.com/... | [
-0.4075102210044861,
0.42773133516311646,
-0.4599456489086151,
0.7062211632728577,
0.5668610334396362,
-0.7200862765312195,
0.5170050263404846,
1.0930918455123901,
-0.22535189986228943,
0.156211256980896,
-0.1057666540145874,
1.089176058769226,
0.22263237833976746,
0.0919402539730072,
-0... |
http/reference/headers/content-digest/index.md | HTTP - Headers - Content-Digest:
The HTTP `Content-Digest` `request` and `response header` provides a `digest` calculated using a hashing algorithm applied to the message content. A recipient can use the `Content-Digest` to validate the HTTP message content for integrity purposes.
The `Want-Content-Digest` field lets... | [
-0.19066904485225677,
-0.9831004738807678,
0.057997703552246094,
-0.1100793108344078,
-0.2905481457710266,
-1.7589930295944214,
0.6429046988487244,
0.1494813859462738,
-0.7134662866592407,
0.4482575058937073,
-0.8920654654502869,
0.16700442135334015,
-0.9692158102989197,
0.3536007702350616... |
http/reference/headers/content-digest/index.md | HTTP - Headers - Content-Digest - Syntax:
Example:
Content-Digest: <digest-algorithm>=<digest-value>
// Multiple digest algorithms
Content-Digest: <digest-algorithm>=<digest-value>,<digest-algorithm>=<digest-value>, … | [
1.2614126205444336,
-1.1348577737808228,
-0.07913685590028763,
0.1572340577840805,
-1.1601711511611938,
-0.8259596824645996,
0.08298198133707047,
1.8096908330917358,
0.16118763387203217,
-0.4098905920982361,
0.004898644983768463,
-0.24429920315742493,
-0.8707565665245056,
-0.06983830034732... |
http/reference/headers/content-digest/index.md | HTTP - Headers - Content-Digest - Directives:
- `<digest-algorithm>`: The algorithm used to create a digest of the message content. Only two registered digest algorithms are considered secure: `sha-512` and `sha-256`. The insecure (legacy) registered digest algorithms are: `md5`, `sha` (SHA-1), `unixsum`, `unixcksum`,... | [
0.30760759115219116,
-1.2190757989883423,
-0.7321090698242188,
-0.2666686773300171,
-0.19485941529273987,
-0.41034990549087524,
0.5992286801338196,
0.504855215549469,
0.34985020756721497,
0.20409999787807465,
-1.2837506532669067,
0.15508168935775757,
-0.5929244756698608,
-0.562000513076782... |
http/reference/headers/content-digest/index.md | HTTP - Headers - Content-Digest - Description:
A `Digest` header was defined in previous specifications, but it proved problematic as the scope of what the digest applied to was not clear. Specifically, it was difficult to distinguish whether a digest applied to the entire resource representation or to the specific co... | [
-0.3504631519317627,
-1.350233554840088,
-0.5465027689933777,
0.3506038784980774,
-0.6608490347862244,
-1.4921908378601074,
0.1458006650209427,
1.0409388542175293,
0.018215641379356384,
-0.061189860105514526,
0.26571276783943176,
0.0042168498039245605,
-0.7010678648948669,
-0.0512197427451... |
http/reference/headers/content-digest/index.md | HTTP - Headers - Content-Digest - Examples - User-agent request for a SHA-256 Content-Digest:
In the following example, a user-agent requests a digest of the message content with a preference for SHA-256, followed by SHA-1 at a lower preference:
Example:
GET /items/123 HTTP/1.1
Host: example.com
Want-Content-Digest:... | [
-0.04749636352062225,
-1.0196267366409302,
-0.4623771011829376,
-0.4379344880580902,
-0.23891068994998932,
-1.6639347076416016,
0.788068413734436,
0.530583381652832,
-0.12532389163970947,
-0.41548410058021545,
-0.45076096057891846,
-0.2642599940299988,
-1.4807920455932617,
-0.6345396041870... |
http/reference/headers/content-digest/index.md | HTTP - Headers - Content-Digest - Examples - Identical Content-Digest and Repr-Digest values:
A user-agent requests a resource without a `Want-Content-Digest` field:
Example:
GET /items/123 HTTP/1.1
Host: example.com
The server is configured to send unsolicited digest headers in responses. The `Repr-Digest` and `Co... | [
-0.723308265209198,
-1.0603363513946533,
-0.7959616184234619,
-0.6037381887435913,
-0.9022006392478943,
-1.7099360227584839,
0.44035670161247253,
0.13027901947498322,
-0.24128185212612152,
-0.2879869043827057,
-0.4108039438724518,
0.06766495108604431,
-1.116736888885498,
-0.096185818314552... |
http/reference/headers/content-digest/index.md | HTTP - Headers - Content-Digest - Examples - Diverging Content-Digest and Repr-Digest values:
If the same request is repeated as the previous example, but uses a `HEAD` method instead of a `GET`, the `Repr-Digest` and `Content-Digest` fields will be different:
Example:
GET /items/123 HTTP/1.1
Host: example.com
The ... | [
-0.9507716298103333,
-1.003840684890747,
-0.4314187467098236,
-0.6547844409942627,
-0.5124779939651489,
-1.9987809658050537,
0.23395979404449463,
0.8796730041503906,
-0.8830602765083313,
-0.22067652642726898,
-0.5445830821990967,
-0.3029298782348633,
-1.0264322757720947,
-0.063238203525543... |
http/reference/headers/content-digest/index.md | HTTP - Headers - Content-Digest - Examples - User-agent sending a Content-Digest in requests:
In the following example, a user-agent sends a digest of the message content using SHA-512. It sends both a `Content-Digest` and a `Repr-Digest`, which differ from each other because of the `Content-Encoding`:
Example:
POST... | [
-0.3250954747200012,
-0.8475395441055298,
-0.5632748007774353,
-0.21706797182559967,
-0.08108726143836975,
-0.9192965030670166,
1.0708564519882202,
0.08597244322299957,
-0.37797144055366516,
0.2148570716381073,
-0.3638730049133301,
0.1749972701072693,
-1.0882517099380493,
0.090729951858520... |
http/reference/headers/cross-origin-opener-policy/index.md | HTTP - Headers - Cross-Origin-Opener-Policy:
The HTTP `Cross-Origin-Opener-Policy` (COOP) `response header` allows a website to control whether a new top-level document, opened using `Window.open()` or by navigating to a new page, is opened in the same `browsing context group` (BCG) or in a new browsing context group.... | [
-1.3525766134262085,
-0.9001785516738892,
-1.358571171760559,
0.9986667633056641,
-0.6539038419723511,
-1.082615852355957,
0.26817619800567627,
0.3316452205181122,
-0.09105654805898666,
-0.06900454312562943,
-1.0089542865753174,
-0.40257367491722107,
0.13786490261554718,
-0.050350908190011... |
http/reference/headers/cross-origin-opener-policy/index.md | HTTP - Headers - Cross-Origin-Opener-Policy - Syntax:
Example:
Cross-Origin-Opener-Policy: unsafe-none
Cross-Origin-Opener-Policy: same-origin-allow-popups
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Opener-Policy: noopener-allow-popups | [
0.1980147808790207,
-0.5073038339614868,
-1.5735061168670654,
0.19611024856567383,
-1.8965541124343872,
-1.1076428890228271,
-0.12951090931892395,
1.2777178287506104,
-0.08445469290018082,
0.25037461519241333,
-0.36570432782173157,
-0.14491567015647888,
0.3319627344608307,
-0.8225829005241... |
http/reference/headers/cross-origin-opener-policy/index.md | HTTP - Headers - Cross-Origin-Opener-Policy - Syntax - Directives:
- `unsafe-none`: The document permits sharing its browsing context group with any other document, and may therefore be unsafe. It is used to opt-out a document from using COOP for process isolation. This is the default value. On navigations, documents ... | [
0.7400535941123962,
-0.3268999457359314,
-1.153342604637146,
0.18825437128543854,
0.575896143913269,
-0.9867364764213562,
0.45658037066459656,
1.1326534748077393,
-0.7747665047645569,
-0.005479732528328896,
-0.28094765543937683,
0.44601261615753174,
0.049960941076278687,
0.2475196123123169... |
http/reference/headers/cross-origin-opener-policy/index.md | HTTP - Headers - Cross-Origin-Opener-Policy - Description:
Generally you should set your policies such that only same-origin and trusted cross-origin resources that need to be able to script each other should be allowed to be opened in the same browser context group. Other resources should be cross-origin isolated in ... | [
-0.5965644717216492,
-0.8184841275215149,
-1.8213335275650024,
0.7740190029144287,
-0.8568159937858582,
-0.820354700088501,
0.299794465303421,
0.23619920015335083,
-0.041820503771305084,
-0.153082937002182,
-0.46435484290122986,
-0.526294469833374,
0.894897997379303,
-0.5596315860748291,
... |
http/reference/headers/cross-origin-opener-policy/index.md | HTTP - Headers - Cross-Origin-Opener-Policy - Description - Navigations:
When navigating between documents, the new document is opened in the same BCG if the two documents have "matching coop policies", and otherwise into a new BCG.
The policies match if either both documents have the policy `unsafe-none`, or if the ... | [
0.2080279290676117,
-1.08271324634552,
-0.5851767659187317,
0.33943864703178406,
-0.34882888197898865,
-0.986951470375061,
-0.11601609736680984,
1.2482044696807861,
-0.343636155128479,
-0.09294335544109344,
-0.24913200736045837,
0.5496693849563599,
0.46633613109588623,
-0.6270238161087036,... |
http/reference/headers/cross-origin-opener-policy/index.md | HTTP - Headers - Cross-Origin-Opener-Policy - Description - Opening with Window.open():
When opening a document using `Window.open()`, the new document is opened in a new BCG according to the following rules, which are evaluated in order:
- If the new document has COOP set to `noopener-allow-popups` => open the new d... | [
0.28153499960899353,
-0.8375450372695923,
-0.6542141437530518,
0.3709476590156555,
-0.3810412287712097,
-1.1898324489593506,
-0.1870564967393875,
1.2346057891845703,
-0.11191603541374207,
0.05700618773698807,
-0.37675341963768005,
0.17711982131004333,
0.15210270881652832,
-0.33074980974197... |
http/reference/headers/cross-origin-opener-policy/index.md | HTTP - Headers - Cross-Origin-Opener-Policy - Examples - Features that depend on cross-origin isolation:
Certain features, such as access to `SharedArrayBuffer` objects or using `Performance.now()` with unthrottled timers, are only available if your document is `cross-origin isolated`.
To use these features in a docu... | [
0.5900241136550903,
-0.7133988738059998,
-1.3909531831741333,
0.9963418245315552,
-0.3728249669075012,
-0.39096900820732117,
0.08572284132242203,
0.9457692503929138,
0.3899054229259491,
-0.6385253071784973,
-0.7769752740859985,
0.32275810837745667,
0.004702668637037277,
-0.3660105764865875... |
http/reference/headers/cross-origin-opener-policy/index.md | HTTP - Headers - Cross-Origin-Opener-Policy - Examples - Severing the opener relationship:
Consider a hypothetical origin `example.com` that has two very different applications on the same origin:
- A chat application at `/chat` that enables any user to contact any other user and send them messages.
- A password mana... | [
0.07916127145290375,
-0.38572975993156433,
-1.2492387294769287,
0.24969995021820068,
-0.361666738986969,
-1.6022746562957764,
-0.02364618331193924,
1.0208534002304077,
-0.3955119252204895,
0.20700864493846893,
-0.28133612871170044,
0.10833108425140381,
-0.3729960322380066,
-0.3045782446861... |
http/reference/headers/cache-control/index.md | HTTP - Headers - Cache-Control:
The HTTP `Cache-Control` header holds directives (instructions) in both requests and responses that control caching in browsers and shared caches (e.g., Proxies, CDNs). | [
-0.31836840510368347,
-0.9112816452980042,
-1.9897994995117188,
-0.1170322597026825,
-1.1018110513687134,
-1.7276681661605835,
0.1492663025856018,
1.4659802913665771,
-0.858186662197113,
0.15166880190372467,
-0.9922812581062317,
-1.036163568496704,
-0.634632408618927,
0.24525505304336548,
... |
http/reference/headers/cache-control/index.md | HTTP - Headers - Cache-Control - Syntax:
Example:
Cache-Control: <directive>, <directive>, ...
Cache directives follow these rules:
- Caching directives are case-insensitive. However, lowercase is recommended because some implementations do not recognize uppercase directives.
- Multiple directives are permitted and... | [
0.047899018973112106,
-0.9084709882736206,
-0.7053873538970947,
-0.16668738424777985,
-0.6022224426269531,
-1.9043914079666138,
0.8371765613555908,
1.7404357194900513,
-0.4475694000720978,
0.20738844573497772,
-0.41452181339263916,
-0.4914410710334778,
-0.3950709104537964,
0.21145156025886... |
http/reference/headers/cache-control/index.md | HTTP - Headers - Cache-Control - Syntax - Cache directives:
The following table lists the standard `Cache-Control` directives:
- Request: `max-age`, Response: `max-age`
- Request: `max-stale`, Response: -
- Request: `min-fresh`, Response: -
- Request: -, Response: `s-maxage`
- Request: `no-cache`, Response: `no-cache... | [
0.14148131012916565,
-0.5047791004180908,
-1.8675802946090698,
-0.22711920738220215,
-1.1089162826538086,
-1.3420562744140625,
0.14276716113090515,
1.4761714935302734,
-0.13095980882644653,
0.7356224060058594,
0.321247398853302,
-0.20208752155303955,
-0.15155211091041565,
1.119699120521545... |
http/reference/headers/cache-control/index.md | HTTP - Headers - Cache-Control - Vocabulary:
This section defines the terms used in this document, some of which are from the specification.
- (HTTP) cache: Implementation that holds requests and responses for reusing in subsequent requests. It can be either a shared cache or a private cache.
- Shared cache: Cache th... | [
0.8400986194610596,
-0.3318153917789459,
-0.6850607395172119,
0.5413691997528076,
0.4376000761985779,
-1.7818223237991333,
-0.11523964256048203,
1.3627674579620361,
0.07096438109874725,
-0.23590561747550964,
-0.6737177968025208,
0.4954978823661804,
-0.14251241087913513,
0.00251232832670211... |
http/reference/headers/cache-control/index.md | HTTP - Headers - Cache-Control - Directives:
This section lists directives that affect caching — both response directives and request directives. | [
0.32858800888061523,
-0.5775067210197449,
-1.239784836769104,
-0.09037744253873825,
-1.6222542524337769,
-1.1619572639465332,
0.4744575619697571,
1.4911776781082153,
-0.25731775164604187,
-0.11772260069847107,
-0.6104584336280823,
-1.039639949798584,
-0.1943211406469345,
0.1140589863061904... |
http/reference/headers/cache-control/index.md | HTTP - Headers - Cache-Control - Directives - Response Directives - `max-age`:
The `max-age=N` response directive indicates that the response remains fresh until N seconds after the response is generated.
Example:
Cache-Control: max-age=604800
Indicates that caches can store this response and reuse it for subsequen... | [
0.6107113361358643,
-0.6453932523727417,
-0.5959092378616333,
0.45108121633529663,
-0.1413307785987854,
-1.667328953742981,
0.0018818490207195282,
1.3391300439834595,
-0.10917898267507553,
0.14567120373249054,
-0.2523898780345917,
0.008555702865123749,
-0.1375526785850525,
0.77783405780792... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.