Files
rose-ash/tests/playwright/hs-safe-sources.json
giles 7492ceac4e Restore hyperscript work on stable site base (908f4f80)
Reset to last known-good state (908f4f80) where links, stepper, and
islands all work, then recovered all hyperscript implementation,
conformance tests, behavioral tests, Playwright specs, site sandbox,
IO-aware server loading, and upstream test suite from f271c88a.

Excludes runtime changes (VM resolve hook, VmSuspended browser handler,
sx_ref.ml guard recovery) that need careful re-integration.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 19:29:56 +00:00

225 lines
12 KiB
JSON

[
"on click add .foo",
"on click add .foo--bar",
"on click add .foo to #bar",
"on click add .foo to <p/> in me",
"on click add .foo to my children",
"on click add .foo .bar",
"on click add .foo:bar-doh",
"on click add .rey to .bar when it matches .doh",
"on click add @rey to .bar when it matches .doh",
"on click add .foo to the children of #bar",
"on click remove .foo",
"on click remove .foo from #bar",
"on click remove me",
"on click remove #that",
"on click remove my.parentElement",
"on click remove .foo .bar",
"on click remove <p/> from me",
"on click toggle .foo",
"on click toggle .foo on #bar",
"on click toggle .foo for 10ms",
"on click toggle .foo until foo from #d1",
"on click toggle between .foo and .bar",
"on click toggle .foo .bar",
"on click toggle *display",
"on click toggle *opacity",
"on click toggle *visibility",
"on click toggle my *display",
"on click toggle my *opacity",
"on click toggle my *visibility",
"on click toggle the *display of #d2",
"on click toggle the *opacity of #d2",
"on click toggle the *visibility of #d2",
"on click set #d1.innerHTML to ",
"on click set innerHTML of #d1 to ",
"on click set parentNode.innerHTML of #d1 to ",
"on click set innerHTML of #d1.parentNode to ",
"on click set the innerHTML of the parentNode of #d1 to ",
"on click set my.style.color to ",
"on click set window.temp to ",
"on click set newVar to ",
"on click set .divs.innerHTML to ",
"on click set @bar to ",
"on click set #div2",
"on click set @bar of #div2 to ",
"on click set *color to ",
"on click set *color of #div2 to ",
"on click set {bar: 2, baz: 3} on obj",
"on click set my style[",
"on click set foo to ",
"on click set arr to [1, 2, 3] set arr[0] to ",
"on click set arr to [1, 2, 3] set idx to 0 set arr[idx] to ",
"on click put ",
"on click put #d1 into #d2",
"on click put #d1 before #d2",
"on click put #d1 after #d2",
"on click set arr to [1, 2, 3] put ",
"on click set arr to [1, 2, 3] set idx to 0 put ",
"on click hide",
"on click 1 hide on click 2 show",
"on click hide add .foo",
"on click hide then add .foo",
"on click hide with display then add .foo",
"on click hide me",
"on click hide me with display",
"on click hide me with opacity",
"on click hide me with *opacity",
"on click hide me with visibility",
"on click hide .hideme",
"on click hide with myHide",
"on click if true put ",
"on click if true log me then put ",
"on click if false else put ",
"on click if false else if true put ",
"on click if false else if true put ",
"on click if false otherwise put ",
"on click if false else if false else put ",
"on click if false else if false else put ",
"on click if false put ",
"on click if true wait 10 ms then put ",
"on click if false else wait 10 ms then put ",
"on click if false end put ",
"on click \\n if window.tmp then\\n put ",
"on click \\n if window.tmp then\\n else\\n if window.tmp then end\\n put ",
"on click repeat for x in [1, 2, 3] put x at end of me end",
"on click repeat for x in null put x at end of me end",
"on click repeat for x in [1, 2, 3]\\n log me put x at end of me\\n wait 1ms\\n end",
"on click for x in [1, 2, 3] put x at end of me end",
"on click for x in null put x at end of me end",
"on click for x in [1, 2, 3]\\n put x at end of me\\n wait 1ms\\n end",
"on click repeat in [1, 2, 3] put it at end of me end",
"on click repeat for x in [",
"on click repeat 3 times put ",
"on click repeat 3 + 3 times put ",
"on click\n\t\t\t\trepeat 2 times\n\t\t\t\t\tfor x in [",
"on click add .foo then wait 20ms then add .bar",
"on click add .foo then wait for foo then add .bar",
"on click wait for foo then put its.detail into me",
"on click wait for foo(bar) then put bar into me",
"on click add .foo then wait for foo from #d2 then add .bar",
"on click add .foo then wait for foo or 0ms then add .bar",
"on click send foo to #bar",
"on foo add .foo-sent",
"on click log 0 send foo to #bar log 3",
"on foo add .foo-sent to sender log 1, me, sender",
"on click send foo(x:42) to #bar",
"on foo put event.detail.x into my.innerHTML",
"on click send foo.bar to #bar",
"on foo.bar add .foo-sent",
"on click send foo.bar(x:42) to #bar",
"on foo.bar put event.detail.x into my.innerHTML",
"on click send foo:bar to #bar",
"on foo:bar add .foo-sent",
"on click send foo:bar(x:42) to #bar",
"on foo:bar put event.detail.x into my.innerHTML",
"def bar return #bar on click send foo to bar()",
"on click take .foo from .div",
"on click take .foo from .div for #d3",
"on click take .foo from .div for event.target",
"on click take @data-foo from .div",
"on click take @data-foo=baz from .div",
"on click take @data-foo=baz with ",
"on click take @data-foo=baz with my @data-foo from .div",
"on click take @data-foo from .div for #d3",
"on click take @data-foo from .div for event.target",
"on click take .foo .bar",
"on click take .foo .bar from .div1",
"on click log me",
"on click log me, my",
"on click log me, my with console.debug",
"on click log me, my with console.error",
"on click call document.getElementById(",
"on click call globalFunction(",
"on click call globalFunction()",
"on click call global_function()",
"on click call $()",
"on click increment value then put value into me",
"on click set value to 20 then increment value by 2 then put value into me",
"on click increment value by 2 then put it into me",
"on click increment @value then put @value into me",
"on click set value to 5.2 then increment value by 6.1 then put value into me",
"on click increment my.innerHTML",
"on click set value to 20 then increment value by 0 then put value into me",
"on click decrement value then put value into me",
"on click set value to 20 then decrement value by 2 then put value into me",
"on click decrement @value then put @value into me",
"on click set value to 6.1 then decrement value by 5.1 then put value into me",
"on click decrement my.innerHTML",
"on click set value to 20 then decrement value by 0 then put value into me",
"on click\n set value to ",
"on click\n append ",
"on click \n append ",
"on click append ",
"on click get ",
"on click append \\`<button id=",
"on click increment window.temp",
"on click add .foo tell #d2 add .bar",
"on click add .foo tell #d2 add .bar to me",
"on click add .foo tell <p/> in me add .bar",
"on click tell #d2 add .bar end add .foo",
"on click tell null add .bar end add .foo",
"on click tell #d2 add .bar to you",
"on click tell #d2 put your innerText into me",
"on click tell #d2 put @foo into me",
"on click tell #d2 remove yourself",
"on click tell #d2 remove yourself on click tell #d3 remove yourself",
"on click send example.event to #d1",
"on example.event add .called",
"on click send example:event to #d1",
"on example:event add .called",
"on click send ",
"on ",
"on click from #bar add .clicked",
"on click from #bar set #bar.innerHTML to #bar.innerHTML + ",
"on someCustomEvent put 1 into me",
"on click elsewhere add .clicked",
"on click from elsewhere add .clicked",
"on click send custom(foo:",
"on custom(foo) call me.classList.add(foo)",
"on click send fromBar to #d2",
"on fromBar(type) call me.classList.add(type)",
"on load put ",
"on click[false] log event then put ",
"on click[buttons==0] log event then put ",
"on click[buttons==1] log event then put ",
"on click[buttons==1 and buttons==0] log event then put ",
"on example[foo] increment @count then put it into me",
"on foo(bar)[bar] put ",
"on every click put increment() into my.innerHTML then wait for a customEvent",
"on foo put increment() into my.innerHTML end on bar put increment() into my.innerHTML",
"on foo put increment() into my.innerHTML on bar put increment() into my.innerHTML",
"on foo wait for bar then call increment()",
"on foo queue first wait for bar then call increment()",
"on foo queue last wait for bar then call increment()",
"on foo queue all wait for bar then call increment()",
"on click queue none put increment() into my.innerHTML then wait for a customEvent",
"on click or foo call increment()",
"on click in #d1 put it into window.tmp",
"on click 1 put ",
"on mutation put ",
"on mutation of attributes put ",
"on mutation of @foo put ",
"on mutation of @bar put ",
"on mutation of childList put ",
"on mutation of characterData put ",
"on mutation of @foo or @bar put ",
"on mutation of attributes from #d1 put ",
"on click throwBar() catch e put e into me",
"on click throw ",
"on click wait 1ms then throw ",
"on click increment :x if :x is 1 wait 1ms then throw ",
"on click increment :x if :x is 1 throw ",
"on click wait a tick then throw ",
"on click increment :x finally if :x is 1 wait 1ms then throw ",
"on click increment :x finally if :x is 1 throw ",
" \ton click from #doesntExist \t\tthrow ",
" \ton click from #d1 or click from #d2 \t\t increment @count then put @count into me\t",
"init set my.foo to 42 end on click put my.foo into my.innerHTML",
"def func() put 42 into #d3",
"on click call func()",
"def func() return 42",
"on click put func() into me",
"def func() put 42 into me"
]