This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title></title> | |
</head> | |
<body> | |
<div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<body> | |
<script> | |
var abortController = new AbortController(); | |
let i = 0; | |
let aborted = false; | |
var rs = new ReadableStream({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌──────────────┐ ┌──────────────┐ | |
│Closed promise├───┐ ┌──────────┤Closed promise│ | |
└──┬───────────┘ │ │ └──────────────┘ | |
│ NativePromiseHandler ▲ | |
│ │ │ │ | |
│ ▼ ▼ │ | |
┌────┴──┐ ┌────────────┐ ┌────┴─┐ | |
│ Writer│◄────────┤ PipeToPump │ ───────►│Reader│ | |
└───────┘ └────────────┘ └─┬────┘ | |
▲ │ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dom/events/test/test_DataTransferItemList.html b/dom/events/test/test_DataTransferItemList.html | |
--- a/dom/events/test/test_DataTransferItemList.html | |
+++ b/dom/events/test/test_DataTransferItemList.html | |
@@ -30,6 +30,7 @@ | |
var dragstartFired = 0; | |
draggable.addEventListener('dragstart', onDragStart); | |
function onDragStart(e) { | |
+ console.log("dragstart"); | |
draggable.removeEventListener('dragstart', onDragStart); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Keypad Arm | |
description: Arm Home Assistant alarm using the keypad. | |
trigger: | |
- platform: mqtt | |
topic: zigbee2mqtt/Keypad | |
condition: | |
- condition: template | |
value_template: '{{ trigger.payload_json.action_code == "9998" }}' | |
- condition: template | |
value_template: '{{ trigger.payload_json.action == "arm_all_zones" }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var stream = new ReadableStream({ | |
start(controller) { | |
controller.enqueue("abc"); | |
controller.enqueue("123"); | |
controller.close() | |
} | |
}); | |
var reader = stream.getReader(); | |
reader.read().then(({ value, done}) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import argparse | |
import glob | |
import os | |
parser = argparse.ArgumentParser(description='Run kraken/sunspider.', | |
formatter_class=argparse.ArgumentDefaultsHelpFormatter) | |
parser.add_argument( | |
'--shell', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct { | |
int x; | |
int y; | |
} Point; | |
typedef struct { | |
Point s; | |
Point e; | |
} Line; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import os | |
paths = [ | |
"testing/web-platform/tests/eventsource/shared-worker/eventsource-constructor-url-bogus.htm", | |
"testing/web-platform/tests/eventsource/shared-worker/eventsource-onmesage.htm", | |
"testing/web-platform/tests/eventsource/shared-worker/eventsource-eventtarget.htm", | |
"testing/web-platform/tests/eventsource/shared-worker/eventsource-onopen.htm", | |
"testing/web-platform/tests/eventsource/shared-worker/eventsource-close.htm", | |
"testing/web-platform/tests/eventsource/shared-worker/eventsource-url.htm", |
NewerOlder