forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream'
- Loading branch information
Showing
33 changed files
with
354 additions
and
74 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const v0 = []; | ||
for (let i2 = 0; i2 < 1000000; i2++) { | ||
v0[i2] = []; | ||
} | ||
const v10 = new Object(Object, v0); | ||
function f11() { | ||
v0.length = 0; | ||
return 0; | ||
} | ||
const o14 = { | ||
"valueOf": f11, | ||
}; | ||
v0.fill(v10, o14); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
//@ runDefault("--watchdog=500", "--watchdog-exception-ok") | ||
function placeholder() {} | ||
function main() { | ||
const z48431 = [0.4, 1145324612]; | ||
for (let v4 = 0; v4 < 100; v4++) { | ||
const v6 = Array(46139); | ||
let v7 = undefined; | ||
const v9 = class V9 extends Int16Array { | ||
constructor(v11, v12, v13) { | ||
super(); | ||
} | ||
split() { | ||
return 'Test262Error: ' + this.message; | ||
} | ||
}; | ||
const v16 = new v9(); | ||
function v18(v19, v20, v21, v22) { | ||
v7 = forceGCSlowPaths; | ||
} | ||
} | ||
const z570009 = [0.4, 1145324612]; | ||
const z676068 = [0.4, 1145324612]; | ||
const v23 = 0; | ||
const v24 = 100; | ||
const z106237 = [0.4, 1145324612]; | ||
const z788844 = [0.4, 1145324612]; | ||
const z115753 = [0.4, 1145324612]; | ||
const z913254 = [0.4, 1145324612]; | ||
const z438038 = [0.4, 1145324612]; | ||
const v25 = 1; | ||
for (let v29 = 0; v29 < 1099511627776n; v29++) { | ||
async function* v30(v31, v32, v33, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {} | ||
const v34 = v30(); | ||
} | ||
const z637976 = [0.4, 1145324612]; | ||
gc(); | ||
const z112286 = [0.4, 134217728n]; | ||
const z709419 = [0.4, 1145324612]; | ||
} | ||
noDFG(main); | ||
noFTL(main); | ||
main(); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
try { | ||
const x = Object.getOwnPropertyDescriptor(RegExp.prototype, "flags").get; | ||
x(); | ||
const sticky = 0; | ||
} catch { } |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
try { | ||
let v17 = 96; | ||
let v28 = -4294967295; | ||
const v29 = ++v28; | ||
const v30 = -v17; | ||
const v32 = v29 && --v17; | ||
+v28; | ||
v32 ^ v32; | ||
Math.asinh(v30); | ||
const o87 = { | ||
"maxByteLength": 2, | ||
}; | ||
const v89 = new SharedArrayBuffer(0, o87); | ||
new Uint8Array(v89); | ||
const v94 = new Uint8Array([0,97,115,109,1,0,0,0,1,9,2,v17,1,127,0,96,1,127,0,2,8,1,1,109,1,116,4,0,0,3,2,1,1,7,9,1,5,116,104,114,111,119,0,0,10,8,1,6,0,32,0,8,0,11,0,15,4,110,97,109,101,1,8,1,0,5,116,104,114,111,119]); | ||
const t20 = WebAssembly.Module; | ||
new t20(v94); | ||
} catch { } |
61 changes: 61 additions & 0 deletions
61
...ted/w3c/web-platform-tests/css/css-writing-modes/reference/sideways-lr-main-axis-ref.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<!DOCTYPE html> | ||
<title>Reference: sideways-lr flexbox main axis progresses in correct direction</title> | ||
<style> | ||
.container { | ||
font-size: 0 | ||
} | ||
.item { | ||
width: 20px; | ||
height: 20px; | ||
} | ||
|
||
.item:nth-child(1) { background-color: lime; } | ||
.item:nth-child(2) { background-color: limegreen; } | ||
.item:nth-child(3) { background-color: green; } | ||
|
||
.container.reverse .item:nth-child(1) { background-color: green; } | ||
.container.reverse .item:nth-child(2) { background-color: limegreen; } | ||
.container.reverse .item:nth-child(3) { background-color: lime; } | ||
|
||
.container.row .item { display: inline-block; } | ||
</style> | ||
<div class="container reverse"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container reverse"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container row"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container row"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container row reverse"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container row reverse"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> |
61 changes: 61 additions & 0 deletions
61
...imported/w3c/web-platform-tests/css/css-writing-modes/sideways-lr-main-axis-expected.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<!DOCTYPE html> | ||
<title>Reference: sideways-lr flexbox main axis progresses in correct direction</title> | ||
<style> | ||
.container { | ||
font-size: 0 | ||
} | ||
.item { | ||
width: 20px; | ||
height: 20px; | ||
} | ||
|
||
.item:nth-child(1) { background-color: lime; } | ||
.item:nth-child(2) { background-color: limegreen; } | ||
.item:nth-child(3) { background-color: green; } | ||
|
||
.container.reverse .item:nth-child(1) { background-color: green; } | ||
.container.reverse .item:nth-child(2) { background-color: limegreen; } | ||
.container.reverse .item:nth-child(3) { background-color: lime; } | ||
|
||
.container.row .item { display: inline-block; } | ||
</style> | ||
<div class="container reverse"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container reverse"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container row"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container row"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container row reverse"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container row reverse"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> |
57 changes: 57 additions & 0 deletions
57
LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/sideways-lr-main-axis.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!DOCTYPE html> | ||
<title>sideways-lr flexbox main axis progresses in correct direction</title> | ||
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m"> | ||
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#box-model"> | ||
<link rel="match" href="reference/sideways-lr-main-axis-ref.html"> | ||
<style> | ||
.container { | ||
display: flex; | ||
} | ||
.item { | ||
width: 20px; | ||
height: 20px; | ||
} | ||
.item:nth-child(1) { background-color: lime; } | ||
.item:nth-child(2) { background-color: limegreen; } | ||
.item:nth-child(3) { background-color: green; } | ||
</style> | ||
<div class="container" style="writing-mode: sideways-lr; flex-direction: row;"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container" style="writing-mode: sideways-lr; direction: rtl; flex-direction: row;"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container" style="writing-mode: sideways-lr; flex-direction: row-reverse;"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container" style="writing-mode: sideways-lr; direction: rtl; flex-direction: row-reverse;"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container" style="writing-mode: sideways-lr; flex-direction: column;"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container" style="writing-mode: sideways-lr; direction: rtl; flex-direction: column;"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container" style="writing-mode: sideways-lr; flex-direction: column-reverse;"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
</div> | ||
<div class="container" style="writing-mode: sideways-lr; direction: rtl; flex-direction: column-reverse;"> | ||
<div class="item"></div> | ||
<div class="item"></div> | ||
<div class="item"></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
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
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
Oops, something went wrong.