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/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/extendable-message-event-constructor-worker.js b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-constructor-worker.js | |
index ebef428..ae51a22 100644 | |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/extendable-message-event-constructor-worker.js | |
+++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-constructor-worker.js | |
@@ -1,38 +1,40 @@ | |
-importScripts('../../resources/worker-testharness.js'); | |
+importScripts('/resources/testharness.js'); | |
+var test_object = { wanwan: 123 }; | |
+var channel1 = new MessageChannel(); |
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
'use strict'; | |
var cheerio = require('../cheerio'); | |
var doc = [ | |
'<!DOCTYPE html>', | |
'<html>', | |
'<body>', | |
' <h1>Hello, world.</h1>', | |
'</body>', | |
'</html>' |
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> | |
<details> | |
<summary id="d">Summary</summary> | |
Content | |
</details> | |
<script>document.getElementById('d').click();</script> |
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> | |
<details> | |
<summary id="d">Summary</summary> | |
Content | |
</details> | |
<div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><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
--- | |
- debug: var=environment |
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 first; | |
var P = function(executor) { | |
if (!first) { | |
return new Promise(executor); | |
} | |
first = false; | |
return new Promise(function(_, reject) { | |
executor(function() { throw 1; }, reject); | |
}); | |
}; |
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
/** | |
* An extension of ES2015 `Object.is` that distinguishes between NaN values. | |
*/ | |
(function() { | |
var full = new Float64Array(2); | |
var bytes = new Uint8Array(full.buffer); | |
Object.reallyIs = function(a, b) { | |
if (!Object.is(a, b)) { | |
return false; |
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 a = new Float64Array(2); | |
var aBytes = new Uint8Array(a.buffer); | |
aBytes[6] = 248; | |
aBytes[7] = 255; | |
aBytes[14] = 248; | |
aBytes[15] = 127; | |
var nan1 = a[0]; | |
var nan2 = a[1]; |
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
(function f(n) { if (n === 0) { return 0; } return f(n - 1); }(1000)); | |
(function f(n) { if (n === 0) { return 0; } return 1 + f(n - 1); }(1000)); | |
(function f(n) { if (n === 0) { return 0; } return f(n - 1) % 2; }(1000)); | |
(function f(n) { if (n === 0) { return 0; } return new f(n - 1); }(1000)); | |
(function f(n) { if (n === 0) { return 0; } return f(n - 1) || true; }(1000)); | |
(function f(n) { if (n === 0) { return 0; } return false || f(n - 1); }(1000)); | |
(function f(n) { if (n === 0) { return 0; } return f(n - 1) && true; }(1000)); | |
(function f(n) { if (n === 0) { return 0; } return true && f(n - 1); }(1000)); | |
(function f(n) { if (n === 0) { return 0; } { return f(n - 1); } }(1000)); | |
(function f(n) { if (n === 0) { return 0; } { void 0; return f(n - 1); } }(1000)); |
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 src = ''; | |
var max = 300000; | |
var idx, exception; | |
for (idx = max; idx > 0; --idx) { | |
src += 'eval('; | |
} | |
for (idx = max; idx > 0; --idx) { | |
src += ')'; |