Update web-platform-tests to revision 07b698ef4ea02ebeb65c3214ed7141ad32678a8c

This commit is contained in:
WPT Sync Bot 2020-05-06 08:20:40 +00:00
parent 81b92b9c1a
commit c5ddf8e76a
119 changed files with 2754 additions and 727 deletions

View file

@ -0,0 +1,16 @@
[idlharness.html]
[Blob interface: operation text()]
expected: FAIL
[Blob interface: operation stream()]
expected: FAIL
[idl_test setup]
expected: FAIL
[Blob interface: operation arrayBuffer()]
expected: FAIL
[FileReader interface: operation readAsBinaryString(Blob)]
expected: FAIL

View file

@ -0,0 +1,16 @@
[idlharness.worker.html]
[Blob interface: operation text()]
expected: FAIL
[Blob interface: operation stream()]
expected: FAIL
[idl_test setup]
expected: FAIL
[Blob interface: operation arrayBuffer()]
expected: FAIL
[FileReader interface: operation readAsBinaryString(Blob)]
expected: FAIL

View file

@ -4,7 +4,7 @@
expected: TIMEOUT
[Opening a blob URL in a new window immediately before revoking it works.]
expected: TIMEOUT
expected: FAIL
[Fetching a blob URL immediately before revoking it works in an iframe.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-002.html]
[Hit test float]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -1,2 +0,0 @@
[align-content_stretch.html]
expected: FAIL

View file

@ -0,0 +1,4 @@
[gap-017.html]
[.button 1]
expected: FAIL

View file

@ -0,0 +1,4 @@
[gap-018.html]
[.button 1]
expected: FAIL

View file

@ -2,6 +2,3 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -17,6 +17,3 @@
[test the top of layer]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -0,0 +1,4 @@
[elementsFromPoint-invalid-cases.html]
[The root element is the last element returned for otherwise empty queries within the viewport]
expected: FAIL

View file

@ -315,24 +315,18 @@
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL

View file

@ -53,9 +53,6 @@
[combined text/javascript ]
expected: FAIL
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript ]
[separate text/javascript;charset=windows-1252 text/javascript]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_5.html]
[traverse_the_history_4.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1247,6 +1247,9 @@
[ElementInternals interface: operation setFormValue((File or USVString or FormData)?, optional (File or USVString or FormData)?)]
expected: FAIL
[ElementInternals interface: operation setValidity(optional ValidityStateFlags, optional DOMString, optional HTMLElement)]
expected: FAIL
[idlharness.https.html?include=(Document|Window)]
[Document interface: documentWithHandlers must inherit property "queryCommandEnabled(DOMString)" with the proper type]
@ -1324,9 +1327,6 @@
[Document interface: new Document() must inherit property "designMode" with the proper type]
expected: FAIL
[Window interface: window must inherit property "createImageBitmap(ImageBitmapSource, optional ImageBitmapOptions)" with the proper type]
expected: FAIL
[Window interface: attribute locationbar]
expected: FAIL
@ -1429,9 +1429,6 @@
[Window interface: attribute onwebkitanimationiteration]
expected: FAIL
[Window interface: window must inherit property "createImageBitmap(ImageBitmapSource, long, long, long, long, optional ImageBitmapOptions)" with the proper type]
expected: FAIL
[Window interface: window must inherit property "scrollbars" with the proper type]
expected: FAIL

View file

@ -0,0 +1,2 @@
[table-row-group-height.html]
expected: FAIL

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_escaping-2.html]
expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-3.html]
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL
expected: TIMEOUT

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_nonescaping-3.html]
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL

View file

@ -0,0 +1,4 @@
[iframe_005.html]
[document.write external script into iframe write back into parent]
expected: FAIL

View file

@ -0,0 +1,9 @@
[idlharness.any.worker.html]
[wasm-js-api interfaces.]
expected: FAIL
[idlharness.any.html]
[wasm-js-api interfaces.]
expected: FAIL

View file

@ -0,0 +1,33 @@
[prototypes.any.html]
[_Module]
expected: FAIL
[_Instance]
expected: FAIL
[_Global]
expected: FAIL
[_Table]
expected: FAIL
[_Memory]
expected: FAIL
[prototypes.any.worker.html]
[_Module]
expected: FAIL
[_Instance]
expected: FAIL
[_Global]
expected: FAIL
[_Table]
expected: FAIL
[_Memory]
expected: FAIL

View file

@ -0,0 +1,40 @@
[k-rate-biquad-connection.html]
[< [Gain AudioParam\] 1 out of 9 assertions were failed.]
expected: FAIL
[< [Detune AudioParam\] 2 out of 9 assertions were failed.]
expected: FAIL
[X All k-rate AudioParams does not equal [0,0.3311063051223755,0.6248595118522644,0.8481203317642212,0.9757021069526672,0.9932119250297546,0.8986744284629822,0.7027547359466553,0.42755505442619324,0.1041216030716896,-0.23105813562870026,-0.5401715040206909,-0.7883464694023132,-0.9475855827331543,-0.9999247193336487,-0.9394592046737671...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[640\]\t8.2034111022949219e-1\t7.7920007705688477e-1\t4.1141033172607422e-2\t5.2799061991884222e-2\t0.0000000000000000e+0\n\t[641\]\t5.5707097053527832e-1\t4.6239438652992249e-1\t9.4676584005355835e-2\t2.0475288360627431e-1\t0.0000000000000000e+0\n\t[642\]\t2.5545451045036316e-1\t1.8853309750556946e-1\t6.6921412944793701e-2\t3.5495843345392858e-1\t0.0000000000000000e+0\n\t[643\]\t-6.9336682558059692e-2\t-1.7021611332893372e-1\t1.0087943077087402e-1\t5.9265500073973498e-1\t0.0000000000000000e+0\n\t[644\]\t-3.9448010921478271e-1\t-4.7897621989250183e-1\t8.4496110677719116e-2\t1.7640982405490371e-1\t0.0000000000000000e+0\n\t...and 991 more errors.\n\tMax AbsError of 1.6447335481643677e-1 at index of 785.\n\t[785\]\t3.4482055902481079e-1\t5.0929391384124756e-1\t1.6447335481643677e-1\t3.2294388435928745e-1\t0.0000000000000000e+0\n\tMax RelError of 2.2756960801624473e+1 at index of 867.\n\t[867\]\t1.4153416454792023e-1\t5.9575871564447880e-3\t1.3557657739147544e-1\t2.2756960801624473e+1\t0.0000000000000000e+0\n]
expected: FAIL
[X k-rate Q with input: output[2048:\] does not equal [-0.007429864257574081,-0.003294537542387843,0.0019048331305384636,0.003956870641559362,0.0035721869207918644,0.004832542035728693,0.008425349369645119,0.010273684747517109,0.007734519429504871,0.003703415160998702,0.0022171076852828264,0.0024073002859950066,0.0002190780360251665,-0.004831020720303059,-0.00846010260283947,-0.007902969606220722...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[0\]\t1.3721437426283956e-3\t-7.4298642575740814e-3\t8.8020080002024770e-3\t1.1846795170220799e+0\t0.0000000000000000e+0\n\t[1\]\t2.7593520935624838e-3\t-3.2945375423878431e-3\t6.0538896359503269e-3\t1.8375536954915186e+0\t0.0000000000000000e+0\n\t[2\]\t4.5378590002655983e-3\t1.9048331305384636e-3\t2.6330258697271347e-3\t1.3822868930166201e+0\t0.0000000000000000e+0\n\t[3\]\t2.8837921563535929e-3\t3.9568706415593624e-3\t1.0730784852057695e-3\t2.7119372413521214e-1\t0.0000000000000000e+0\n\t[4\]\t-1.0738879209384322e-3\t3.5721869207918644e-3\t4.6460748417302966e-3\t1.3006247838510026e+0\t0.0000000000000000e+0\n\t...and 2043 more errors.\n\tMax AbsError of 1.0892769030760974e-2 at index of 7.\n\t[7\]\t-6.1908428324386477e-4\t1.0273684747517109e-2\t1.0892769030760974e-2\t1.0602592252398519e+0\t0.0000000000000000e+0\n\tMax RelError of 2.0715534970620170e+3 at index of 217.\n\t[217\]\t4.6172837028279901e-4\t-2.2299755642052332e-7\t4.6195136783921953e-4\t2.0715534970620170e+3\t0.0000000000000000e+0\n]
expected: FAIL
[< [Frequency AudioParam\] 1 out of 11 assertions were failed.]
expected: FAIL
[X k-rate gain with input: output[0,2048\] does not equal [0,0.9757021069526672,0.42755505442619324,-0.7883464694023132,-0.7730104327201843,0.4496113359928131,0.9700312614440918,-0.02454114705324173,-0.9807852506637573,-0.40524137020111084,0.803207516670227,0.7572088241577148,-0.4713967740535736,-0.9637761116027832,0.049067676067352295,0.9852776527404785...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[128\]\t3.2094421330839396e-3\t-8.7422776573475858e-8\t3.2095295558605130e-3\t3.6712738735345622e+4\t0.0000000000000000e+0\n\t[129\]\t-9.5966094732284546e-1\t-9.7570210695266724e-1\t1.6041159629821777e-2\t1.6440632356449301e-2\t0.0000000000000000e+0\n\t[130\]\t-4.2053195834159851e-1\t-4.2755520343780518e-1\t7.0232450962066650e-3\t1.6426522329129622e-2\t0.0000000000000000e+0\n\t[131\]\t7.6242697238922119e-1\t7.8834640979766846e-1\t2.5919437408447266e-2\t3.2878233586551842e-2\t0.0000000000000000e+0\n\t[132\]\t7.4586772918701172e-1\t7.7301049232482910e-1\t2.7142763137817383e-2\t3.5113059146436060e-2\t0.0000000000000000e+0\n\t...and 921 more errors.\n\tMax AbsError of 5.3484499454498291e-1 at index of 255.\n\t[255\]\t-4.4085711240768433e-1\t-9.7570210695266724e-1\t5.3484499454498291e-1\t5.4816423038730722e-1\t0.0000000000000000e+0\n\tMax RelError of 3.6712738735345622e+4 at index of 128.\n]
expected: FAIL
[X k-rate frequency with input: output[0,2048\] does not equal [0,0.02839340642094612,0.1450495570898056,0.36942505836486816,0.6520541310310364,0.9131435751914978,1.0783559083938599,1.1012734174728394,0.9707123637199402,0.7065789699554443,0.3498469293117523,-0.048511650413274765,-0.4367612302303314,-0.7688571810722351,-1.0084279775619507,-1.131049394607544...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[128\]\t-1.1191306114196777e+0\t-1.0972596406936646e+0\t2.1870970726013184e-2\t1.9932356859664331e-2\t0.0000000000000000e+0\n\t[129\]\t-9.9151837825775146e-1\t-9.3471795320510864e-1\t5.6800425052642822e-2\t6.0767448467076671e-2\t0.0000000000000000e+0\n\t[130\]\t-7.5953400135040283e-1\t-6.6672790050506592e-1\t9.2806100845336914e-2\t1.3919636597633545e-1\t0.0000000000000000e+0\n\t[131\]\t-4.4247153401374817e-1\t-3.2352218031883240e-1\t1.1894935369491577e-1\t3.6766985675507846e-1\t0.0000000000000000e+0\n\t[132\]\t-7.1794092655181885e-2\t5.6181102991104126e-2\t1.2797519564628601e-1\t2.2779046482328758e+0\t0.0000000000000000e+0\n\t...and 891 more errors.\n\tMax AbsError of 4.1948493570089340e-1 at index of 649.\n\t[649\]\t-3.7298277020454407e-3\t-4.2321476340293884e-1\t4.1948493570089340e-1\t9.9118691495529354e-1\t0.0000000000000000e+0\n\tMax RelError of 1.1267462635054815e+2 at index of 553.\n\t[553\]\t3.3036437630653381e-1\t2.9062279500067234e-3\t3.2745814835652709e-1\t1.1267462635054815e+2\t0.0000000000000000e+0\n]
expected: FAIL
[< [Q AudioParam\] 2 out of 9 assertions were failed.]
expected: FAIL
[X k-rate detune with input: output[2048:\] does not equal [-0.5481402277946472,-0.548226535320282,-0.548312246799469,-0.5483972430229187,-0.5484814047813416,-0.5485645532608032,-0.5486468076705933,-0.5487281680107117,-0.5488086938858032,-0.5488886833190918,-0.5489681363105774,-0.5490474104881287,-0.5491266250610352,-0.5492058992385864,-0.5492852926254272,-0.5493649244308472...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[0\]\t3.0814451747573912e-4\t-5.4814022779464722e-1\t5.4844837231212296e-1\t1.0005621636615059e+0\t0.0000000000000000e+0\n\t[1\]\t2.8959027258679271e-4\t-5.4822653532028198e-1\t5.4851612559286878e-1\t1.0005282310394144e+0\t0.0000000000000000e+0\n\t[2\]\t2.7123777545057237e-4\t-5.4831224679946899e-1\t5.4858348457491957e-1\t1.0004946775802179e+0\t0.0000000000000000e+0\n\t[3\]\t2.5325475144200027e-4\t-5.4839724302291870e-1\t5.4865049777436070e-1\t1.0004618089435424e+0\t0.0000000000000000e+0\n\t[4\]\t2.3576857347507030e-4\t-5.4848140478134155e-1\t5.4871717335481662e-1\t1.0004298570041203e+0\t0.0000000000000000e+0\n\t...and 2043 more errors.\n\tMax AbsError of 5.5494355945847929e-1 at index of 195.\n\t[195\]\t-2.7666112873703241e-3\t-5.5771017074584961e-1\t5.5494355945847929e-1\t9.9503933865206295e-1\t0.0000000000000000e+0\n\tMax RelError of 1.0005621636615059e+0 at index of 0.\n]
expected: FAIL
[< [All k-rate inputs\] 1 out of 44 assertions were failed.]
expected: FAIL
[# AUDIT TASK RUNNER FINISHED: 5 out of 5 tasks were failed.]
expected: FAIL
[X k-rate Q with input: output[0,2048\] does not equal [0,0.9757021069526672,0.42755505442619324,-0.7883464694023132,-0.7730104327201843,0.4496113359928131,0.9700312614440918,-0.02454114705324173,-0.9807852506637573,-0.40524137020111084,0.803207516670227,0.7572088241577148,-0.4713967740535736,-0.9637761116027832,0.049067676067352295,0.9852776527404785...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[128\]\t1.3951719999313354e+0\t-8.7422776573475858e-8\t1.3951720873541120e+0\t1.5958908445118047e+7\t0.0000000000000000e+0\n\t[129\]\t1.6225984096527100e+0\t-9.7570210695266724e-1\t2.5983005166053772e+0\t2.6630059503719248e+0\t0.0000000000000000e+0\n\t[130\]\t1.6577711105346680e+0\t-4.2755520343780518e-1\t2.0853263139724731e+0\t4.8773264766869282e+0\t0.0000000000000000e+0\n\t[131\]\t1.5306757688522339e+0\t7.8834640979766846e-1\t7.4232935905456543e-1\t9.4162838801420634e-1\t0.0000000000000000e+0\n\t[132\]\t1.2523171901702881e+0\t7.7301049232482910e-1\t4.7930669784545898e-1\t6.2005199490105767e-1\t0.0000000000000000e+0\n\t...and 1915 more errors.\n\tMax AbsError of 2.5983005166053772e+0 at index of 129.\n\tMax RelError of 1.5958908445118047e+7 at index of 128.\n]
expected: FAIL
[X k-rate detune with input: output[0,2048\] does not equal [0,0.12810896337032318,0.47732436656951904,0.8133140802383423,0.9599840044975281,0.9983929991722107,0.9618627429008484,0.8107287883758545,0.5545527338981628,0.24036024510860443,-0.09643325209617615,-0.424831748008728,-0.7066475749015808,-0.9075677990913391,-1.0057729482650757,-0.9910215139389038...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[128\]\t-9.0901952981948853e-1\t-8.0834698677062988e-1\t1.0067254304885864e-1\t1.2454124861781007e-1\t0.0000000000000000e+0\n\t[129\]\t-8.0550211668014526e-1\t-5.6012439727783203e-1\t2.4537771940231323e-1\t4.3807718534460011e-1\t0.0000000000000000e+0\n\t[130\]\t-6.2269222736358643e-1\t-2.4871249496936798e-1\t3.7397973239421844e-1\t1.5036628233747511e+0\t0.0000000000000000e+0\n\t[131\]\t-3.5228535532951355e-1\t9.0757519006729126e-2\t4.4304287433624268e-1\t4.8816106828944248e+0\t0.0000000000000000e+0\n\t[132\]\t-1.3693822547793388e-2\t4.1998896002769470e-1\t4.3368278257548809e-1\t1.0326051964482361e+0\t0.0000000000000000e+0\n\t...and 1915 more errors.\n\tMax AbsError of 2.1426951885223389e+0 at index of 391.\n\t[391\]\t6.9794428348541260e-1\t-1.4447509050369263e+0\t2.1426951885223389e+0\t1.4830897015202589e+0\t0.0000000000000000e+0\n\tMax RelError of 2.4604596714524988e+2 at index of 272.\n\t[272\]\t9.5641678571701050e-1\t-3.9030096959322691e-3\t9.6031979541294277e-1\t2.4604596714524988e+2\t0.0000000000000000e+0\n]
expected: FAIL

View file

@ -1,8 +1,7 @@
[shared-worker-in-data-url-context.window.html]
expected: TIMEOUT
[Create a shared worker in a data url frame]
expected: FAIL
[Create a data url shared worker in a data url frame]
expected: TIMEOUT
expected: FAIL

View file

@ -33,3 +33,6 @@
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "stream()" with the proper type]
expected: FAIL
[idl_test setup]
expected: FAIL

View file

@ -45,3 +45,6 @@
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "stream()" with the proper type]
expected: FAIL
[idl_test setup]
expected: FAIL

View file

@ -7,7 +7,7 @@
expected: FAIL
[Opening a blob URL in a new window immediately before revoking it works.]
expected: TIMEOUT
expected: FAIL
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
expected: TIMEOUT

View file

@ -38,6 +38,13 @@
null,
{}
]
],
"webkit-writing-mode-crash.html": [
"8c851a7572e4568816bd3ee05669d72ba50be67f",
[
null,
{}
]
]
},
"css-break": {
@ -131285,12 +131292,12 @@
]
],
"align-content_stretch.html": [
"674196f7404a7e1a15964d2b4d7c40345559bc0c",
"3acc57a2f329dd6b18a1034af11567ffe2aa7efc",
[
null,
[
[
"/css/css-flexbox/reference/align-content_space-stretch-ref.html",
"/css/css-flexbox/reference/align-content_stretch-ref.html",
"=="
]
],
@ -163124,6 +163131,123 @@
},
"css-sizing": {
"aspect-ratio": {
"auto-margins-001.tentative.html": [
"9e89ab6ca7f5220ea030aa537bcb3b64f156043d",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"block-aspect-ratio-001.tentative.html": [
"456e0b348a270077afeed1d82b3b27b33f88f775",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"block-aspect-ratio-002.tentative.html": [
"2dc374c9f2d568f15f0de3493ea8097b385b9a5f",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"block-aspect-ratio-003.tentative.html": [
"987629d2e836028d8111dcdd8b1b0bd3a788e0e2",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"block-aspect-ratio-004.tentative.html": [
"99e92d409399639e6f71f99d6ab8425f9274a589",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"block-aspect-ratio-005.tentative.html": [
"dcee7cd10c5db3c61af7d109695f087fa0424d53",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"block-aspect-ratio-006.tentative.html": [
"0cde4d4dd95c20cf0a6a1b6d3f171ea1d5362124",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"block-aspect-ratio-007.tentative.html": [
"bc79a8f6ef3baf7c3baeeb6623862a9818dc1fcf",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"block-aspect-ratio-008.tentative.html": [
"8575d96c769cc585c186efe634906d8c80285a86",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"flex-aspect-ratio-001.tentative.html": [
"3b477e299ad763a1c0108e16f05981c76c25bb77",
[
@ -163201,6 +163325,19 @@
],
{}
]
],
"flex-aspect-ratio-007.tentative.html": [
"c7144c3cf67c56459d670be2f12631898151b43b",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
]
},
"auto-scrollbar-inside-stf-abspos.html": [
@ -164024,6 +164161,32 @@
{}
]
],
"intrinsic-percent-replaced-dynamic-009.html": [
"0c7a411a7284c69d6bdbf025245b20148351aad9",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square-only.html",
"=="
]
],
{}
]
],
"intrinsic-percent-replaced-dynamic-010.html": [
"04c154e8fcdb8b176d7e82c177fd43aa5d4f8b25",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square-only.html",
"=="
]
],
{}
]
],
"ortho-writing-mode-001.html": [
"9342802645faa7b57a12ce4b8ef17d755fcaface",
[
@ -230579,6 +230742,19 @@
{}
]
],
"table-row-group-height.html": [
"b58311dd72364d7fe51eb4d454918fce33bdc83f",
[
null,
[
[
"/html/rendering/non-replaced-elements/tables/table-row-group-height-ref.html",
"=="
]
],
{}
]
],
"table-width-150percent.html": [
"9a5e108505ed4543c892b1319b4638541bd78f17",
[
@ -242056,7 +242232,7 @@
[]
],
"README.md": [
"b3782c2c33948d3287cc6f4fcf111cd50d29deea",
"1babc2f1e6fe8219af57d94a490a5533bd919091",
[]
],
"WebCryptoAPI": {
@ -244681,7 +244857,7 @@
[]
],
"accept-ch-cache-revalidation.https.html.headers": [
"05b7a4a6f6fcb91b18f2a0e767010e81c9329fb8",
"d54a29a3f91fd40377dc0162b55f16022248d35e",
[]
],
"accept-ch-feature-policy-navigation.https.html.headers": [
@ -244810,7 +244986,7 @@
[]
],
"echo-ua-client-hints-received.py": [
"4af98c75ccedebe10aa02f17881099e95af1527f",
"57cf50457d352dec9bcda9be8847c9e66c9e25cc",
[]
],
"expect-client-hints-headers-iframe.py": [
@ -244846,12 +245022,12 @@
[]
],
"stale-echo-client-hints.py": [
"769fa909fa4b3b960fbde2e6df282efc970b35d0",
"0d0d4a44a9851f0dfb794810f3387517ea780c12",
[]
]
},
"sec-ch-quotes.https.html.headers": [
"703b5ad9bf94fd4b4986e2dcd48213ae6429878e",
"1e99ac7203b350ea80c24f4737ede4363fa8efeb",
[]
]
},
@ -263977,6 +264153,10 @@
"b7affbe7d41dd9e7bf555aa151cf6d31fb2279a9",
[]
],
"post-redirect-stacktrace.https.html.headers": [
"644ed867f3303048120bc72e4ca5a5ede3fa6d3b",
[]
],
"report-and-enforce.html.sub.headers": [
"5d4c5dcc4f61f16a93548e9ee18d915bbd2d3dd3",
[]
@ -264057,6 +264237,10 @@
"set-cookie.py": [
"7f321a5c39d749d0695866cc497bd861c5e0ba96",
[]
],
"throw-function.js": [
"d0e9d203dd52fc6cee490b0516b1f20dcd3a1d16",
[]
]
}
},
@ -287968,8 +288152,8 @@
"97b56e23ef0d9efe91edd37250b1ce2df4400edd",
[]
],
"align-content_space-stretch-ref.html": [
"ca611a2ee702465fb88f8c1d3f9314353b7b7d99",
"align-content_stretch-ref.html": [
"f66a1ad9595a746c902f28990db8101ed23df9d5",
[]
],
"align-items-baseline-overflow-non-visible-ref.html": [
@ -317608,7 +317792,7 @@
[]
],
"event-timing-test-utils.js": [
"bceaa5053d55efb8d86d5d70acb5b872bfbaf45a",
"9f4a81714f71b554fdc7bda19405fe2efd4b3376",
[]
],
"slow-image.py": [
@ -322323,7 +322507,7 @@
[]
],
"gentestutils.py": [
"a424e63976cabba2b139330854978f96d65e66c4",
"32147318d0a2c16cb03b84d3e171ceaa8d998407",
[]
],
"name2dir-offscreen.yaml": [
@ -322355,11 +322539,11 @@
[]
],
"tests2d-offscreen.yaml": [
"5fe168a66d572f2b3d8e33f3982d70702db849e3",
"6e8fb7707f7ccd95a9ae8789d0aefd9c12b170ee",
[]
],
"tests2d.yaml": [
"39a75cfa97b71f1f538e5c14c16fe3daa630c34c",
"2bbc1986e2376afe1f8f2ca5b54c5368dceae272",
[]
],
"tests2dtext.yaml": [
@ -327297,6 +327481,10 @@
"0f3e03f9ba1ac8a1ae0c90da87f5eee68f7ec82f",
[]
],
"table-row-group-height-ref.html": [
"e5279080f0875ef323774a4c1d83e4242f47b3fa",
[]
],
"table-width-150percent-ref.html": [
"820c360e391694732cce6cac0648a04a0f89f64d",
[]
@ -330605,6 +330793,10 @@
"propagation-sameorigin-child.html": [
"69ad50cb717d118c9fd8cf9c4c1f6ba5b004e136",
[]
],
"utils.js": [
"06bf01832838098b79a419fb32c4a6ec1657f01f",
[]
]
}
},
@ -331880,7 +332072,7 @@
},
"testdriver": {
"file_upload.py": [
"32633679a9f33d516398f811d888cabf9b062b90",
"89ed67a79efdef5e6febc9df225774345341cea8",
[]
],
"file_upload_data.txt": [
@ -332183,7 +332375,7 @@
[]
],
"html.idl": [
"c9018f1b63decf799cef7274c3f402d56b47fbef",
"7b2a96ce6760a05b49e9c445b4050a991acd342b",
[]
],
"image-capture.idl": [
@ -332318,6 +332510,10 @@
"d3783858578c881b352e571deeb8cc4c9f0e6454",
[]
],
"periodic-background-sync.idl": [
"14ee8bbc30df1e6fd292db7e52504a2d3ce84d5b",
[]
],
"permissions-request.idl": [
"08431fbab85ab9838278c2e2d0dd9ad411f1d5de",
[]
@ -337605,7 +337801,7 @@
]
},
"idlharness.js": [
"139ee5e167f247bdd03e0615dc7671a24bf349f5",
"02233ee0d33de23a5bdfb36db550c751b1c2cabd",
[]
],
"idlharness.js.headers": [
@ -338037,7 +338233,7 @@
[]
],
"testharness.js": [
"360ed5d845b000deb8e3d58649a188eb9a861731",
"bd7a8bab0057ed3290ea49635b05f0be50236f29",
[]
],
"testharness.js.headers": [
@ -338059,7 +338255,7 @@
[]
],
"webidl2.js": [
"2a174c92ebe67d62bc5273556f9cca03de332d05",
"d707905fa63e16886e4b89e6a403cdac62d7dadd",
[]
],
"webidl2.js.headers": [
@ -348950,7 +349146,7 @@
]
},
"test_cookies.py": [
"2e2d0d6771ba26a1fbe7e8fc8bb2e2598bc34223",
"64eab2d806b52de933b28d58416b69d36bdcb25e",
[]
],
"test_handlers.py": [
@ -348978,7 +349174,7 @@
[]
],
"test_stash.py": [
"309dd9e577a0335b7a56992c82a48b43a259a28d",
"1c4c9ad933a37746623a0195f553ad8cfe70688f",
[]
]
},
@ -349021,7 +349217,7 @@
[]
],
"pipes.py": [
"569875bf972819d526022fc590c55fc621c02485",
"bbf25e6fe1112e181da5a7b6a9c6ee2b7563abbe",
[]
],
"ranges.py": [
@ -349029,11 +349225,11 @@
[]
],
"request.py": [
"89d52a9817edb0f609c3d4c1c9453dde1a149643",
"7c4d02d6de6f1a0b0eccc05ab0304cffbc10f959",
[]
],
"response.py": [
"3a60c2babb39d8d77999022a7fb4d184cb019aa8",
"f4009702f68ed06bdf863b6d701dd292cdb0259f",
[]
],
"router.py": [
@ -349067,11 +349263,11 @@
]
},
"stash.py": [
"541aced6010ad2792c41eada7cfca3a9e31ab9e2",
"6b351847491bfee1f8e17a42127c88be97a62923",
[]
],
"utils.py": [
"64b08a27aa8b33d4cea8677b30d33096cae212d5",
"b005b417d743f20f065c195e743d8abcfb04adfc",
[]
],
"wptserve.py": [
@ -371375,7 +371571,7 @@
]
],
"accept-ch-cache-revalidation.https.html": [
"1bbf5aa6de67221968a6c6029e88e7202aff8544",
"453b6fc5fe609fa786a57246132d560c5e214f8a",
[
null,
{}
@ -371598,7 +371794,7 @@
]
],
"sec-ch-quotes.https.html": [
"81fe09fb0494b1854c13b93606248ee0920777dd",
"d60bf4c9b670a94d3c7c991c6aed5aac73a844f4",
[
null,
{}
@ -374339,6 +374535,13 @@
{}
]
],
"post-redirect-stacktrace.https.html": [
"f4196f0c5645ba38be5da099d7fd20c626936c91",
[
null,
{}
]
],
"report-and-enforce.html": [
"910df20a4c22a049e90fb62fc668f467808767f8",
[
@ -376272,7 +376475,7 @@
]
],
"cookieStore_delete_arguments.tentative.https.any.js": [
"e2fca75850dfea20ed4481a1d3949e48a0709955",
"f1763ad7cbecaf36caaf583f3681288b09e6e43b",
[
"cookie-store/cookieStore_delete_arguments.tentative.https.any.html",
{
@ -381671,6 +381874,20 @@
{}
]
],
"gap-017.html": [
"446d16dfa64de62058eee223d83208ac7318499f",
[
null,
{}
]
],
"gap-018.html": [
"4065f4ece8e0627cfbcde6a19c2d54827c98560d",
[
null,
{}
]
],
"getcomputedstyle": {
"flexbox_computedstyle_align-content-center.html": [
"cd7ed7ae2d7bc7f23a14d754a86cc2b63979a7bf",
@ -389273,6 +389490,13 @@
{}
]
],
"marker-reverted-styles.html": [
"4e8b1228c50faca40f4807c8d1810bdb0af5d10b",
[
null,
{}
]
],
"parsing": {
"marker-supported-properties-in-animation.html": [
"faf7c904fb04460ad08cc7b8a0e9d3504bbfe158",
@ -391394,7 +391618,21 @@
{}
]
]
}
},
"quirks-mode-001.tentative.html": [
"a1222208aba3ac779d5860607ff3e278c173a8ea",
[
null,
{}
]
],
"quirks-mode-002.tentative.html": [
"7c8bcac07ad8fba21ed11f85fd244757dcc0485e",
[
null,
{}
]
]
},
"aspect-ratio-affects-container-width-when-height-changes.html": [
"0dbbb2f9404da7cfa89f2e75af3ca06cfbe4be7e",
@ -419697,6 +419935,15 @@
]
},
"event-timing": {
"auxclick.html": [
"f0d8326b1307f9e30f444d725bdbdb614a1b2003",
[
null,
{
"testdriver": true
}
]
],
"buffered-and-duration-threshold.html": [
"cf5d63b02a1d3ccd8444f47f9fc3a56535594f45",
[
@ -460450,7 +460697,7 @@
]
],
"consumption-crossorigin.sub.tentative.html": [
"01e4d35a43edca555e6ded7e8f35870299a76d44",
"31e3fb74e6ee354527f1cfc362bb70ca0bc53e4f",
[
null,
{
@ -460459,7 +460706,7 @@
]
],
"consumption-sameorigin.tentative.html": [
"140642c97dd9dc0e7f2a267a93684b4e869b9c93",
"50f2feaa638c51a4bfcca961491038af8ee8b700",
[
null,
{
@ -460484,7 +460731,7 @@
]
],
"navigation-state-reset-crossorigin.sub.tentative.html": [
"5839836a0d897d93e491c50f9d16c379161aa169",
"595a12ca70f9d0fd2fd4b9a53f876fa91d5a149e",
[
null,
{
@ -460493,7 +460740,7 @@
]
],
"navigation-state-reset-sameorigin.tentative.html": [
"144d7d4bf50a6f97279be54fb7a2d03b74263abd",
"412b01fcb3b9235510b33c7e56c037fdd21b92c4",
[
null,
{
@ -460502,7 +460749,7 @@
]
],
"propagation-crossorigin.sub.tentative.html": [
"a2f578f53b92a3595d3dbba15460d28f1d4f0960",
"775217ed17f9045047a876ee17afafd6895e4903",
[
null,
{
@ -460511,7 +460758,7 @@
]
],
"propagation-sameorigin.tentative.html": [
"76d2b68fa708ac7a88c6a1bcabc0395f72070048",
"281e0ce6904776a9a8e32078e4940898689b08d6",
[
null,
{
@ -472771,7 +473018,7 @@
},
"periodic-background-sync": {
"idlharness.https.any.js": [
"47c5e3fd04f7613e576f772e16fe73482c4fb9b3",
"6f3b6fdf87ac1eb4ba0f204ca6dc8c3d07a4d2ad",
[
"periodic-background-sync/idlharness.https.any.html",
{
@ -472783,8 +473030,13 @@
[
"script",
"/resources/idlharness.js"
],
[
"timeout",
"long"
]
]
],
"timeout": "long"
}
],
[
@ -472798,8 +473050,13 @@
[
"script",
"/resources/idlharness.js"
],
[
"timeout",
"long"
]
]
],
"timeout": "long"
}
]
],
@ -488939,8 +489196,8 @@
{}
]
],
"Slotable-interface.html": [
"a7b97e8026743028c3132534aeec25a431025190",
"Slottable-mixin.html": [
"84c7fce44501daf269e6a20c6dac8619d3b197f1",
[
null,
{}
@ -489304,7 +489561,7 @@
]
],
"slotchange-event.html": [
"167d600a3bd0fa2af7b77f4ae750a3c76b954782",
"f1d06297ff623af2da99c5f2e0b7ebd6a7d1eb5f",
[
null,
{}
@ -489339,7 +489596,7 @@
]
],
"slots-imperative-slot-api.tentative.html": [
"6343886da036d8ba09daf8d7d0fe2a8cd7949d48",
"02144640e12144cf5027aff74a5b22450e95149a",
[
null,
{}
@ -504099,6 +504356,67 @@
{}
]
],
"prototypes.any.js": [
"714f4f8430e5eb35ff0ed9cd1d0c80662243eb1d",
[
null,
{
"jsshell": true,
"script_metadata": [
[
"global",
"window,dedicatedworker,jsshell"
],
[
"script",
"/wasm/jsapi/assertions.js"
],
[
"script",
"/wasm/jsapi/wasm-module-builder.js"
]
]
}
],
[
"wasm/jsapi/prototypes.any.html",
{
"script_metadata": [
[
"global",
"window,dedicatedworker,jsshell"
],
[
"script",
"/wasm/jsapi/assertions.js"
],
[
"script",
"/wasm/jsapi/wasm-module-builder.js"
]
]
}
],
[
"wasm/jsapi/prototypes.any.worker.html",
{
"script_metadata": [
[
"global",
"window,dedicatedworker,jsshell"
],
[
"script",
"/wasm/jsapi/assertions.js"
],
[
"script",
"/wasm/jsapi/wasm-module-builder.js"
]
]
}
]
],
"table": {
"constructor.any.js": [
"e9e77a132b76a479a2895c18c69b402be71fe3e7",
@ -507631,6 +507949,13 @@
{}
]
],
"k-rate-biquad-connection.html": [
"ab9df8740fab30d0395750590f9832b65f257a92",
[
null,
{}
]
],
"k-rate-biquad.html": [
"85ae4f175fe182a4bf993443163dea14f00fa203",
[
@ -510908,17 +511233,21 @@
],
"simulcast": {
"basic.https.html": [
"f097ebb7f38fa24bebcb6a39905a45dc7335ce43",
"5d5f3b52f5f668ca2ddd5218c5c9f60b884555df",
[
null,
{}
{
"timeout": "long"
}
]
],
"getStats.https.html": [
"1161dfe2d47fd59e1e76c55d078bf7c1a9c1b96d",
"78289e68538adcb58ad0360a16ed0eb78b77e641",
[
null,
{}
{
"timeout": "long"
}
]
]
}

View file

@ -0,0 +1,4 @@
[hit-test-floats-002.html]
[Hit test float]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -1,2 +0,0 @@
[align-content_stretch.html]
expected: FAIL

View file

@ -0,0 +1,4 @@
[gap-017.html]
[.button 1]
expected: FAIL

View file

@ -0,0 +1,4 @@
[gap-018.html]
[.button 1]
expected: FAIL

View file

@ -2,6 +2,3 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -21,6 +21,3 @@
[test the top of layer]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -0,0 +1,4 @@
[elementsFromPoint-invalid-cases.html]
[The root element is the last element returned for otherwise empty queries within the viewport]
expected: FAIL

View file

@ -315,24 +315,18 @@
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL

View file

@ -53,9 +53,6 @@
[combined text/javascript ]
expected: FAIL
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript ]
[separate text/javascript;charset=windows-1252 text/javascript]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_5.html]
[traverse_the_history_4.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1385,6 +1385,9 @@
[Navigator interface: calling registerProtocolHandler(DOMString, USVString) on window.navigator with too few arguments must throw TypeError]
expected: FAIL
[ElementInternals interface: operation setValidity(optional ValidityStateFlags, optional DOMString, optional HTMLElement)]
expected: FAIL
[idlharness.https.html?include=(Document|Window)]
[Document interface: documentWithHandlers must inherit property "queryCommandEnabled(DOMString)" with the proper type]

View file

@ -0,0 +1,2 @@
[table-row-group-height.html]
expected: FAIL

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_escaping-2.html]
expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_escaping-3.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL
expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[iframe_sandbox_popups_nonescaping-3.html]
type: testharness
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL

View file

@ -0,0 +1,4 @@
[iframe_005.html]
[document.write external script into iframe write back into parent]
expected: FAIL

View file

@ -8,6 +8,9 @@
[Module interface: mod must inherit property "customSections(Module, USVString)" with the proper type]
expected: FAIL
[wasm-js-api interfaces.]
expected: FAIL
[idlharness.any.html]
[Module interface: calling customSections(Module, USVString) on mod with too few arguments must throw TypeError]
@ -19,3 +22,6 @@
[Module interface: mod must inherit property "customSections(Module, USVString)" with the proper type]
expected: FAIL
[wasm-js-api interfaces.]
expected: FAIL

View file

@ -0,0 +1,33 @@
[prototypes.any.html]
[_Module]
expected: FAIL
[_Instance]
expected: FAIL
[_Global]
expected: FAIL
[_Table]
expected: FAIL
[_Memory]
expected: FAIL
[prototypes.any.worker.html]
[_Module]
expected: FAIL
[_Instance]
expected: FAIL
[_Global]
expected: FAIL
[_Table]
expected: FAIL
[_Memory]
expected: FAIL

View file

@ -0,0 +1,40 @@
[k-rate-biquad-connection.html]
[< [Gain AudioParam\] 1 out of 9 assertions were failed.]
expected: FAIL
[< [Detune AudioParam\] 2 out of 9 assertions were failed.]
expected: FAIL
[X All k-rate AudioParams does not equal [0,0.3311063051223755,0.6248595118522644,0.8481203317642212,0.9757021069526672,0.9932119250297546,0.8986744284629822,0.7027547359466553,0.42755505442619324,0.1041216030716896,-0.23105813562870026,-0.5401715040206909,-0.7883464694023132,-0.9475855827331543,-0.9999247193336487,-0.9394592046737671...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[640\]\t8.2034111022949219e-1\t7.7920007705688477e-1\t4.1141033172607422e-2\t5.2799061991884222e-2\t0.0000000000000000e+0\n\t[641\]\t5.5707097053527832e-1\t4.6239438652992249e-1\t9.4676584005355835e-2\t2.0475288360627431e-1\t0.0000000000000000e+0\n\t[642\]\t2.5545451045036316e-1\t1.8853309750556946e-1\t6.6921412944793701e-2\t3.5495843345392858e-1\t0.0000000000000000e+0\n\t[643\]\t-6.9336682558059692e-2\t-1.7021611332893372e-1\t1.0087943077087402e-1\t5.9265500073973498e-1\t0.0000000000000000e+0\n\t[644\]\t-3.9448010921478271e-1\t-4.7897621989250183e-1\t8.4496110677719116e-2\t1.7640982405490371e-1\t0.0000000000000000e+0\n\t...and 991 more errors.\n\tMax AbsError of 1.6447335481643677e-1 at index of 785.\n\t[785\]\t3.4482055902481079e-1\t5.0929391384124756e-1\t1.6447335481643677e-1\t3.2294388435928745e-1\t0.0000000000000000e+0\n\tMax RelError of 2.2756960801624473e+1 at index of 867.\n\t[867\]\t1.4153416454792023e-1\t5.9575871564447880e-3\t1.3557657739147544e-1\t2.2756960801624473e+1\t0.0000000000000000e+0\n]
expected: FAIL
[X k-rate Q with input: output[2048:\] does not equal [-0.007429864257574081,-0.003294537542387843,0.0019048331305384636,0.003956870641559362,0.0035721869207918644,0.004832542035728693,0.008425349369645119,0.010273684747517109,0.007734519429504871,0.003703415160998702,0.0022171076852828264,0.0024073002859950066,0.0002190780360251665,-0.004831020720303059,-0.00846010260283947,-0.007902969606220722...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[0\]\t1.3721437426283956e-3\t-7.4298642575740814e-3\t8.8020080002024770e-3\t1.1846795170220799e+0\t0.0000000000000000e+0\n\t[1\]\t2.7593520935624838e-3\t-3.2945375423878431e-3\t6.0538896359503269e-3\t1.8375536954915186e+0\t0.0000000000000000e+0\n\t[2\]\t4.5378590002655983e-3\t1.9048331305384636e-3\t2.6330258697271347e-3\t1.3822868930166201e+0\t0.0000000000000000e+0\n\t[3\]\t2.8837921563535929e-3\t3.9568706415593624e-3\t1.0730784852057695e-3\t2.7119372413521214e-1\t0.0000000000000000e+0\n\t[4\]\t-1.0738879209384322e-3\t3.5721869207918644e-3\t4.6460748417302966e-3\t1.3006247838510026e+0\t0.0000000000000000e+0\n\t...and 2043 more errors.\n\tMax AbsError of 1.0892769030760974e-2 at index of 7.\n\t[7\]\t-6.1908428324386477e-4\t1.0273684747517109e-2\t1.0892769030760974e-2\t1.0602592252398519e+0\t0.0000000000000000e+0\n\tMax RelError of 2.0715534970620170e+3 at index of 217.\n\t[217\]\t4.6172837028279901e-4\t-2.2299755642052332e-7\t4.6195136783921953e-4\t2.0715534970620170e+3\t0.0000000000000000e+0\n]
expected: FAIL
[< [Frequency AudioParam\] 1 out of 11 assertions were failed.]
expected: FAIL
[X k-rate gain with input: output[0,2048\] does not equal [0,0.9757021069526672,0.42755505442619324,-0.7883464694023132,-0.7730104327201843,0.4496113359928131,0.9700312614440918,-0.02454114705324173,-0.9807852506637573,-0.40524137020111084,0.803207516670227,0.7572088241577148,-0.4713967740535736,-0.9637761116027832,0.049067676067352295,0.9852776527404785...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[128\]\t3.2094421330839396e-3\t-8.7422776573475858e-8\t3.2095295558605130e-3\t3.6712738735345622e+4\t0.0000000000000000e+0\n\t[129\]\t-9.5966094732284546e-1\t-9.7570210695266724e-1\t1.6041159629821777e-2\t1.6440632356449301e-2\t0.0000000000000000e+0\n\t[130\]\t-4.2053195834159851e-1\t-4.2755520343780518e-1\t7.0232450962066650e-3\t1.6426522329129622e-2\t0.0000000000000000e+0\n\t[131\]\t7.6242697238922119e-1\t7.8834640979766846e-1\t2.5919437408447266e-2\t3.2878233586551842e-2\t0.0000000000000000e+0\n\t[132\]\t7.4586772918701172e-1\t7.7301049232482910e-1\t2.7142763137817383e-2\t3.5113059146436060e-2\t0.0000000000000000e+0\n\t...and 921 more errors.\n\tMax AbsError of 5.3484499454498291e-1 at index of 255.\n\t[255\]\t-4.4085711240768433e-1\t-9.7570210695266724e-1\t5.3484499454498291e-1\t5.4816423038730722e-1\t0.0000000000000000e+0\n\tMax RelError of 3.6712738735345622e+4 at index of 128.\n]
expected: FAIL
[X k-rate frequency with input: output[0,2048\] does not equal [0,0.02839340642094612,0.1450495570898056,0.36942505836486816,0.6520541310310364,0.9131435751914978,1.0783559083938599,1.1012734174728394,0.9707123637199402,0.7065789699554443,0.3498469293117523,-0.048511650413274765,-0.4367612302303314,-0.7688571810722351,-1.0084279775619507,-1.131049394607544...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[128\]\t-1.1191306114196777e+0\t-1.0972596406936646e+0\t2.1870970726013184e-2\t1.9932356859664331e-2\t0.0000000000000000e+0\n\t[129\]\t-9.9151837825775146e-1\t-9.3471795320510864e-1\t5.6800425052642822e-2\t6.0767448467076671e-2\t0.0000000000000000e+0\n\t[130\]\t-7.5953400135040283e-1\t-6.6672790050506592e-1\t9.2806100845336914e-2\t1.3919636597633545e-1\t0.0000000000000000e+0\n\t[131\]\t-4.4247153401374817e-1\t-3.2352218031883240e-1\t1.1894935369491577e-1\t3.6766985675507846e-1\t0.0000000000000000e+0\n\t[132\]\t-7.1794092655181885e-2\t5.6181102991104126e-2\t1.2797519564628601e-1\t2.2779046482328758e+0\t0.0000000000000000e+0\n\t...and 891 more errors.\n\tMax AbsError of 4.1948493570089340e-1 at index of 649.\n\t[649\]\t-3.7298277020454407e-3\t-4.2321476340293884e-1\t4.1948493570089340e-1\t9.9118691495529354e-1\t0.0000000000000000e+0\n\tMax RelError of 1.1267462635054815e+2 at index of 553.\n\t[553\]\t3.3036437630653381e-1\t2.9062279500067234e-3\t3.2745814835652709e-1\t1.1267462635054815e+2\t0.0000000000000000e+0\n]
expected: FAIL
[< [Q AudioParam\] 2 out of 9 assertions were failed.]
expected: FAIL
[X k-rate detune with input: output[2048:\] does not equal [-0.5481402277946472,-0.548226535320282,-0.548312246799469,-0.5483972430229187,-0.5484814047813416,-0.5485645532608032,-0.5486468076705933,-0.5487281680107117,-0.5488086938858032,-0.5488886833190918,-0.5489681363105774,-0.5490474104881287,-0.5491266250610352,-0.5492058992385864,-0.5492852926254272,-0.5493649244308472...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[0\]\t3.0814451747573912e-4\t-5.4814022779464722e-1\t5.4844837231212296e-1\t1.0005621636615059e+0\t0.0000000000000000e+0\n\t[1\]\t2.8959027258679271e-4\t-5.4822653532028198e-1\t5.4851612559286878e-1\t1.0005282310394144e+0\t0.0000000000000000e+0\n\t[2\]\t2.7123777545057237e-4\t-5.4831224679946899e-1\t5.4858348457491957e-1\t1.0004946775802179e+0\t0.0000000000000000e+0\n\t[3\]\t2.5325475144200027e-4\t-5.4839724302291870e-1\t5.4865049777436070e-1\t1.0004618089435424e+0\t0.0000000000000000e+0\n\t[4\]\t2.3576857347507030e-4\t-5.4848140478134155e-1\t5.4871717335481662e-1\t1.0004298570041203e+0\t0.0000000000000000e+0\n\t...and 2043 more errors.\n\tMax AbsError of 5.5494355945847929e-1 at index of 195.\n\t[195\]\t-2.7666112873703241e-3\t-5.5771017074584961e-1\t5.5494355945847929e-1\t9.9503933865206295e-1\t0.0000000000000000e+0\n\tMax RelError of 1.0005621636615059e+0 at index of 0.\n]
expected: FAIL
[< [All k-rate inputs\] 1 out of 44 assertions were failed.]
expected: FAIL
[# AUDIT TASK RUNNER FINISHED: 5 out of 5 tasks were failed.]
expected: FAIL
[X k-rate Q with input: output[0,2048\] does not equal [0,0.9757021069526672,0.42755505442619324,-0.7883464694023132,-0.7730104327201843,0.4496113359928131,0.9700312614440918,-0.02454114705324173,-0.9807852506637573,-0.40524137020111084,0.803207516670227,0.7572088241577148,-0.4713967740535736,-0.9637761116027832,0.049067676067352295,0.9852776527404785...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[128\]\t1.3951719999313354e+0\t-8.7422776573475858e-8\t1.3951720873541120e+0\t1.5958908445118047e+7\t0.0000000000000000e+0\n\t[129\]\t1.6225984096527100e+0\t-9.7570210695266724e-1\t2.5983005166053772e+0\t2.6630059503719248e+0\t0.0000000000000000e+0\n\t[130\]\t1.6577711105346680e+0\t-4.2755520343780518e-1\t2.0853263139724731e+0\t4.8773264766869282e+0\t0.0000000000000000e+0\n\t[131\]\t1.5306757688522339e+0\t7.8834640979766846e-1\t7.4232935905456543e-1\t9.4162838801420634e-1\t0.0000000000000000e+0\n\t[132\]\t1.2523171901702881e+0\t7.7301049232482910e-1\t4.7930669784545898e-1\t6.2005199490105767e-1\t0.0000000000000000e+0\n\t...and 1915 more errors.\n\tMax AbsError of 2.5983005166053772e+0 at index of 129.\n\tMax RelError of 1.5958908445118047e+7 at index of 128.\n]
expected: FAIL
[X k-rate detune with input: output[0,2048\] does not equal [0,0.12810896337032318,0.47732436656951904,0.8133140802383423,0.9599840044975281,0.9983929991722107,0.9618627429008484,0.8107287883758545,0.5545527338981628,0.24036024510860443,-0.09643325209617615,-0.424831748008728,-0.7066475749015808,-0.9075677990913391,-1.0057729482650757,-0.9910215139389038...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[128\]\t-9.0901952981948853e-1\t-8.0834698677062988e-1\t1.0067254304885864e-1\t1.2454124861781007e-1\t0.0000000000000000e+0\n\t[129\]\t-8.0550211668014526e-1\t-5.6012439727783203e-1\t2.4537771940231323e-1\t4.3807718534460011e-1\t0.0000000000000000e+0\n\t[130\]\t-6.2269222736358643e-1\t-2.4871249496936798e-1\t3.7397973239421844e-1\t1.5036628233747511e+0\t0.0000000000000000e+0\n\t[131\]\t-3.5228535532951355e-1\t9.0757519006729126e-2\t4.4304287433624268e-1\t4.8816106828944248e+0\t0.0000000000000000e+0\n\t[132\]\t-1.3693822547793388e-2\t4.1998896002769470e-1\t4.3368278257548809e-1\t1.0326051964482361e+0\t0.0000000000000000e+0\n\t...and 1915 more errors.\n\tMax AbsError of 2.1426951885223389e+0 at index of 391.\n\t[391\]\t6.9794428348541260e-1\t-1.4447509050369263e+0\t2.1426951885223389e+0\t1.4830897015202589e+0\t0.0000000000000000e+0\n\tMax RelError of 2.4604596714524988e+2 at index of 272.\n\t[272\]\t9.5641678571701050e-1\t-3.9030096959322691e-3\t9.6031979541294277e-1\t2.4604596714524988e+2\t0.0000000000000000e+0\n]
expected: FAIL

View file

@ -1,8 +1,7 @@
[shared-worker-in-data-url-context.window.html]
expected: TIMEOUT
[Create a shared worker in a data url frame]
expected: FAIL
[Create a data url shared worker in a data url frame]
expected: TIMEOUT
expected: FAIL

View file

@ -1,7 +1,7 @@
The web-platform-tests Project
==============================
[![Taskcluster CI Status](https://community-tc.services.mozilla.com/api/github/v1/repository/web-platform-tests/wpt/master/badge.svg)](https://community-tc.services.mozilla.com/api/github/v1/repository/web-platform-tests/wpt/master/latest)
[![Taskcluster CI Status](https://community-tc.services.mozilla.com/api/github/v1/repository/web-platform-tests/wpt/master/badge.svg)](https://community-tc.services.mozilla.com/api/github/v1/repository/web-platform-tests/wpt/master/latest) [![documentation](https://github.com/web-platform-tests/wpt/workflows/documentation/badge.svg)](https://github.com/web-platform-tests/wpt/actions?query=workflow%3Adocumentation+branch%3Amaster) [![manifest](https://github.com/web-platform-tests/wpt/workflows/manifest/badge.svg)](https://github.com/web-platform-tests/wpt/actions?query=workflow%3Amanifest+branch%3Amaster) [![Python 3](https://pyup.io/repos/github/web-platform-tests/wpt/python-3-shield.svg)](https://pyup.io/repos/github/web-platform-tests/wpt/)
The web-platform-tests Project is a cross-browser test suite for the
Web-platform stack. Writing tests in a way that allows them to be run in all

View file

@ -27,6 +27,7 @@ promise_test(async (test) => {
"sec-ch-ua",
"sec-ch-ua-arch",
"sec-ch-ua-platform",
"sec-ch-ua-platform-version",
"sec-ch-ua-model",
"sec-ch-ua-mobile",
];

View file

@ -1 +1 @@
Accept-CH: dpr,device-memory,viewport-width,rtt,downlink,ect,lang,ua,arch,platform,model
Accept-CH: dpr,device-memory,viewport-width,rtt,downlink,ect,lang,ua,ua-arch,ua-platform,ua-platform-version,ua-model

View file

@ -12,6 +12,7 @@ def main(request, response):
"sec-ch-ua",
"sec-ch-ua-arch",
"sec-ch-ua-platform",
"sec-ch-ua-platform-version",
"sec-ch-ua-model",
"sec-ch-ua-full-version",
]

View file

@ -18,6 +18,7 @@ def main(request, response):
"sec-ch-ua",
"sec-ch-ua-arch",
"sec-ch-ua-platform",
"sec-ch-ua-platform-version",
"sec-ch-ua-model",
]
@ -57,4 +58,4 @@ def main(request, response):
("Cache-Control", "private, max-age=0, stale-while-revalidate=60"),
("Unique-Id", unique_id)]
content = "report('{}')".format(unique_id)
return 200, headers, content
return 200, headers, content

View file

@ -22,6 +22,7 @@ promise_test(async (test) => {
const string_client_hint_headers = [
"sec-ch-ua-arch",
"sec-ch-ua-platform",
"sec-ch-ua-platform-version",
"sec-ch-ua-model",
"sec-ch-ua-full-version",
];

View file

@ -1 +1 @@
Accept-CH: ua,arch,platform,model
Accept-CH: ua,ua-arch,ua-platform,ua-platform-version,ua-model

View file

@ -0,0 +1,107 @@
<!DOCTYPE html>
<head>
<title>Check for post-redirect leak from StackTrace.</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="/common/utils.js"></script>
</head>
<body>
<script>
const CROSS_ORIGIN = get_host_info().HTTPS_REMOTE_ORIGIN;
const CROSS_SITE = get_host_info().HTTPS_NOTSAMESITE_ORIGIN;
const blank_path = "/common/blank.html"
const redirect = url =>
blank_path + `?token=${token()}&pipe=status(302)|header(Location,${url})`;
const script_path = "/content-security-policy/reporting/support/throw-function.js"
const script_ref = "#ref"
const script_attribute = "?secret=1234";
promise_setup(async () => {
await new Promise(r => window.addEventListener("DOMContentLoaded", r));
});
let loadScript = origin => {
let script = document.createElement("script");
script.src = origin +
redirect(origin + script_path + script_attribute + script_ref);
let script_loaded = new Promise(r => script.onload = r);
document.head.appendChild(script);
return script_loaded;
}
// Note: .stack properties on errors are unspecified, but are present in most
// browsers, most of the time. https://github.com/tc39/proposal-error-stacks
// tracks standardizing them. Tests will pass automatically if the .stack
// property isn't present.
let getStack = async (origin) => {
await loadScript(origin);
try {
throw_function();
} catch (error) {
if (error.stack)
return error.stack.toString();
}
return "";
};
promise_test(async test => {
let data = await getStack(CROSS_ORIGIN);
assert_false(data.includes(script_ref), "Ref not leaked");
assert_false(data.includes(script_attribute), "Attribute not leaked");
assert_false(data.includes(script_path), "Path not leaked");
}, "StackTrace do not leak cross-origin post-redirect URL");
promise_test(async test => {
let data = await getStack(CROSS_SITE);
assert_false(data.includes(script_ref), "Ref not leaked");
assert_false(data.includes(script_attribute), "Attribute not leaked");
assert_false(data.includes(script_path), "Path not leaked");
}, "StackTrace do not leak cross-site post-redirect URL");
let getCspReport = async (origin) => {
// A promise to a future CSP violation.
let violation = new Promise(resolve => {
const observer = new ReportingObserver(reports => {
observer.disconnect();
resolve(JSON.stringify(reports));
});
observer.observe();
});
// This will be blocked by CSP:
let script = document.createElement("script");
script.src = origin +
redirect(origin + script_path + script_attribute + script_ref);
script.onload = () => { load_image(); };
document.head.appendChild(script);
return await violation;
};
// This block is needed to reproduce https://crbug.com/1074316. Without, the
// next test passes. There is no 'source-file' found in report.
// TODO(arthursonzogni): Investigate more. Find why this has side effects.
promise_setup(async test => {
await getCspReport(CROSS_ORIGIN);
}, "prewarm the cache");
promise_test(async test => {
let data = await getCspReport(CROSS_ORIGIN);
assert_false(data.includes(script_ref), "Ref not leaked");
assert_false(data.includes(script_attribute), "Attribute not leaked");
assert_false(data.includes(script_path), "Path not leaked");
}, "CSP report do not leak cross-origin post-redirect URL");
promise_test(async test => {
let data = await getCspReport(CROSS_SITE);
assert_false(data.includes(script_ref), "Ref not leaked");
assert_false(data.includes(script_attribute), "Attribute not leaked");
assert_false(data.includes(script_path), "Path not leaked");
}, "CSP report do not leak cross-site post-redirect URL");
</script>
</body>

View file

@ -0,0 +1 @@
Content-Security-Policy-Report-Only: img-src 'none'; report-uri /endpoint

View file

@ -0,0 +1,9 @@
function throw_function() {
throw new Error("an error");
}
function load_image() {
let img = document.createElement('img');
document.body.append(img);
img.src = "/xhr/resources/img.jpg"
}

View file

@ -33,6 +33,19 @@ promise_test(async testCase => {
assert_equals(cookie, null);
}, 'cookieStore.delete with name in both positional arguments and options');
promise_test(async testCase => {
const currentUrl = new URL(self.location.href);
const currentDomain = currentUrl.hostname;
await promise_rejects_js(testCase, TypeError, cookieStore.set(
'cookie-name', 'cookie-value', { domain: `.${currentDomain}` }));
}, 'cookieStore.delete domain starts with "."');
promise_test(async testCase => {
await promise_rejects_js(testCase, TypeError, cookieStore.set(
'cookie-name', 'cookie-value', { domain: 'example.com' }));
}, 'cookieStore.delete with domain that is not equal current host');
promise_test(async testCase => {
const currentUrl = new URL(self.location.href);
const currentDomain = currentUrl.hostname;

View file

@ -0,0 +1,20 @@
<!doctype html>
<html class="test-wait">
<link rel="help" href="https://crbug.com/1077501">
<style>
@keyframes test {
from { -webkit-writing-mode: var(--x) }
to { -webkit-writing-mode: var(--y) }
}
div {
animation: test 1s;
}
</style>
<div id=div></div>
<script>
window.onload = () => {
div.offsetTop;
document.documentElement.classList.remove('test-wait');
};
</script>
</html>

View file

@ -4,17 +4,17 @@
<title>CSS Flexible Box Test: align-content_stretch</title>
<link rel="author" title="Intel" href="http://www.intel.com" />
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#align-content-property" />
<link rel="match" href="reference/align-content_space-stretch-ref.html">
<link rel="match" href="reference/align-content_stretch-ref.html">
<link rel="stylesheet" href="support/test-style.css">
<meta name="flags" content="" />
<meta name="assert" content="Check if the web engine can identify the align-content value stretch." />
<style>
#test{
height: 200px;
height: 210px;
width: 80px;
display: flex;
flex-wrap: wrap;
align-content: stretch;
flex-wrap: wrap;
align-content: stretch;
}
</style>
</head>

View file

@ -0,0 +1,45 @@
<!DOCTYPE html>
<title>Flex gaps</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#main-alignment">
<link rel="help" href="https://drafts.csswg.org/css-align/#gaps">
<meta name="assert" content="Button elements with display: flex honor gaps." />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<style>
.button {
display: flex;
flex-direction: column;
border: 0;
padding: 0;
background: green;
width: 100px;
row-gap: 20px;
}
.item {
height: 40px;
}
#reference-overlapped-red {
position: absolute;
background-color: red;
width: 100px;
height: 100px;
z-index: -1;
}
</style>
<div id=reference-overlapped-red></div>
<button class=button data-expected-height=100>
<div class=item></div>
<div class=item></div>
</button>
<script>
checkLayout('.button');
</script>

View file

@ -0,0 +1,40 @@
<!DOCTYPE html>
<title>Flex gaps</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#main-alignment">
<link rel="help" href="https://drafts.csswg.org/css-align/#gaps">
<meta name="assert" content="Button elements with display: flex but no items don't subtract column gap from intrinsic max size." />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<style>
.button {
display: flex;
border: 0;
padding: 0;
padding-left: 100px;
column-gap: 100px;
width: max-width;
height: 100px;
background: green;
}
#reference-overlapped-red {
position: absolute;
background-color: red;
width: 100px;
height: 100px;
z-index: -1;
}
</style>
<div id=reference-overlapped-red></div>
<button class=button data-expected-width=100></button>
<script>
checkLayout('.button');
</script>

View file

@ -5,16 +5,16 @@
<link rel="stylesheet" href="../support/test-style.css">
<style>
#test {
height: 200px;
height: 210px;
width: 80px;
}
#spacerone {
width: 50px;
height: 17px;
height: 20px;
}
#spacertwo {
width: 50px;
height: 16px;
height: 20px;
}
</style>
</head>

View file

@ -0,0 +1,49 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Pseudo-Elements Test: Reverted styles for ::marker</title>
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
<link rel="help" href="https://drafts.csswg.org/css-cascade-4/#default">
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
<meta name="assert" content="This test checks that ::marker styles can be reverted to UA origin." />
<style>
.revert::marker { all: revert }
.outside { list-style-position: outside }
.inside { list-style-position: inside }
.symbol { list-style-type: symbol }
.decimal { list-style-type: decimal }
.string { list-style-type: "string" }
.marker::marker { content: "marker" }
</style>
<div id="log"></div>
<ul>
<li class="outside symbol">outside symbol</li>
<li class="outside decimal">outside decimal</li>
<li class="outside string">outside string</li>
<li class="outside marker">outside marker</li>
<li class="inside symbol">inside symbol</li>
<li class="inside decimal">inside decimal</li>
<li class="inside string">inside string</li>
<li class="inside marker">inside marker</li>
</ul>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
<script>
function getStyles(style) {
const obj = {};
for (let i = 0; i < style.length; ++i) {
const prop = style.item(i);
obj[prop] = style.getPropertyValue(prop);
}
return obj;
}
for (const target of document.querySelectorAll("li")) {
test(function() {
const cs = getComputedStyle(target, "::marker");
const defaultStyles = getStyles(cs);
target.classList.add("revert");
const revertedStyles = getStyles(cs);
assert_object_equals(revertedStyles, defaultStyles);
}, `Reverted computed values for ${target.className}`);
}
</script>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<title>CSS aspect-ratio: div inline size</title>
<link rel="author" title="Google LLC" href="https://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="width: 200px; margin-left: -50px;">
<div style="height: 100px; aspect-ratio: 1/1; margin: auto; background: green;"></div>
</div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<title>CSS aspect-ratio: div block size</title>
<link rel="author" title="Google LLC" href="https://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="background: green; width: 100px; aspect-ratio: 1/1;"></div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<title>CSS aspect-ratio: div inline size</title>
<link rel="author" title="Google LLC" href="https://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="background: green; height: 100px; aspect-ratio: 1/1;"></div>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<title>CSS aspect-ratio: div block size in vertical writing mode</title>
<link rel="author" title="Google LLC" href="https://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="background: green; writing-mode: vertical-lr; width: 100px; aspect-ratio: 2/1;"></div>
<div style="background: green; width: 100px; height: 50px;"></div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<title>CSS aspect-ratio: div block size with box-sizing</title>
<link rel="author" title="Google LLC" href="https://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="background: green; width: 100px; aspect-ratio: 1/1; box-sizing: border-box; padding-left: 50px;"></div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<title>CSS aspect-ratio: div block size with box-sizing</title>
<link rel="author" title="Google LLC" href="https://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="background: green; width: 50px; aspect-ratio: 1/2; padding-left: 50px;"></div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<title>CSS aspect-ratio: div inline size with box-sizing</title>
<link rel="author" title="Google LLC" href="https://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="background: green; height: 100px; aspect-ratio: 1/1; box-sizing: border-box; padding-top: 50px;"></div>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<title>CSS aspect-ratio: div inline size with box-sizing</title>
<link rel="author" title="Google LLC" href="https://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="background: green; height: 50px; aspect-ratio: 2/1; padding-top: 50px;"></div>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<title>CSS aspect-ratio: div block size</title>
<link rel="author" title="Google LLC" href="https://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<meta name="assert" content="Aspect ratio should only be used if a width was specified.">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="background: red; aspect-ratio: 1/1;"></div>
<div style="background: green; width: 100px; height: 100px;"></div>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<title>CSS aspect-ratio: Wrapping column flexbox line length</title>
<link rel="author" title="Google LLC" href="https://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#line-sizing" title="9.2.3.B">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display: flex; flex-direction: column; flex-wrap: wrap; width: 100px; aspect-ratio: 1/1;">
<div style="background: green; width: 50px; height: 100px;"></div>
<div style="background: green; width: 50px; height: 100px;"></div>
</div>

View file

@ -0,0 +1,15 @@
<!-- quirks mode -->
<title>Aspect ratio and quirks mode</title>
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="author" title="Google LLC" href="https://www.google.com/">
<meta name="flags" content="dom" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
onload = function() {
test(function() {
assert_equals(document.body.offsetHeight, 100);
}, "body height is 100");
};
</script>
<body style="width: 100px; aspect-ratio: 1/1;">

View file

@ -0,0 +1,15 @@
<!-- quirks mode -->
<title>Aspect ratio and quirks mode</title>
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="author" title="Google LLC" href="https://www.google.com/">
<meta name="flags" content="dom" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
onload = function() {
test(function() {
assert_not_equals(document.body.offsetHeight, document.body.offsetWidth);
}, "body height is different from width");
};
</script>
<body style="aspect-ratio: 1/1;">

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="This test checks that a dynamic change in the height of an element calculates the intrinsic min/max size correctly when a replaced element is present."/>
<p>Test passes if there is a filled green square.</p>
<div id="target" style="float: left; background: green; line-height: 0;">
<span style="display: inline-block; height: 100%;">
<canvas width="1" height="1" style="height: 100%;"></canvas>
</div>
</div>
<script>
document.body.offsetTop;
document.getElementById('target').style.height = '100px';
</script>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="This test checks that a dynamic change in the height of an element calculates the intrinsic min/max size correctly when a replaced element is present."/>
<p>Test passes if there is a filled green square.</p>
<div id="target" style="float: left; background: green; color: transparent;">
<span>
<div style="float: left; height: 100%;">
<canvas width="1" height="1" style="height: 100%;"></canvas>
</div>
</span>
</div>
<script>
document.body.offsetTop;
document.getElementById('target').style.height = '100px';
</script>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<meta charset=utf-8 />
<title>Event Timing auxclick.</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=/resources/testdriver.js></script>
<script src=/resources/testdriver-actions.js></script>
<script src=/resources/testdriver-vendor.js></script>
<script src=resources/event-timing-test-utils.js></script>
<div id='target'>Click me</div>
<button id='button'>Click me</button>
<script>
promise_test(async t => {
return testEventType(t, 'auxclick');
})
</script>
</html>

View file

@ -22,9 +22,9 @@ function mainThreadBusy(duration) {
// to check that the event also happens to correspond to the first event. In this case, the
// timings of the 'first-input' entry should be equal to those of this entry. |minDuration|
// is used to compared against entry.duration.
function verifyClickEvent(entry, targetId, isFirst=false, minDuration=104) {
function verifyEvent(entry, eventType, targetId, isFirst=false, minDuration=104) {
assert_true(entry.cancelable);
assert_equals(entry.name, 'mousedown');
assert_equals(entry.name, eventType);
assert_equals(entry.entryType, 'event');
assert_greater_than_equal(entry.duration, minDuration,
"The entry's duration should be greater than or equal to " + minDuration + " ms.");
@ -52,6 +52,10 @@ function verifyClickEvent(entry, targetId, isFirst=false, minDuration=104) {
assert_equals(entry.target, document.getElementById(targetId));
}
function verifyClickEvent(entry, targetId, isFirst=false, minDuration=104) {
verifyEvent(entry, 'mousedown', targetId, isFirst, minDuration);
}
function wait() {
return new Promise((resolve, reject) => {
step_timeout(() => {
@ -116,4 +120,53 @@ async function testDuration(t, id, numEntries, dur, fastDur, slowDur) {
resolve();
});
return Promise.all([observerPromise, clicksPromise]);
}
function applyAction(actions, eventType, target) {
if (eventType === 'auxclick') {
actions.pointerMove(0, 0, {origin: target})
.pointerDown({button: actions.ButtonType.MIDDLE})
.pointerUp({button: actions.ButtonType.MIDDLE});
} else {
assert_unreached('The event type ' + eventType + ' is not supported.');
}
}
// Tests the given |eventType| by creating events whose target are the element with id 'target'.
// The test assumes that such element already exists.
async function testEventType(t, eventType) {
assert_implements(window.EventCounts, "Event Counts isn't supported");
assert_equals(performance.eventCounts.get(eventType), 0);
const target = document.getElementById('target');
const actions = new test_driver.Actions();
// Trigger two 'fast' events of the type.
applyAction(actions, eventType, target);
applyAction(actions, eventType, target);
await actions.send();
assert_equals(performance.eventCounts.get('auxclick'), 2);
// The durationThreshold used by the observer. A slow events needs to be slower than that.
const durationThreshold = 16;
// Now add an event handler to cause a slow event.
target.addEventListener(eventType, () => {
mainThreadBusy(durationThreshold + 4);
});
return new Promise(async resolve => {
new PerformanceObserver(t.step_func(entryList => {
let eventTypeEntries = entryList.getEntriesByName(eventType);
if (eventTypeEntries.length === 0)
return;
assert_equals(eventTypeEntries.length, 1);
verifyEvent(eventTypeEntries[0],
eventType,
'target',
false /* isFirst */,
durationThreshold);
assert_equals(performance.eventCounts.get(eventType), 3);
resolve();
})).observe({type: 'event', durationThreshold: durationThreshold});
// Cause a slow event.
applyAction(actions, eventType, target);
actions.send();
});
}

View file

@ -348,7 +348,7 @@ def genTestUtils(TESTOUTPUTDIR, IMAGEOUTPUTDIR, TEMPLATEFILE, NAME2DIRFILE, ISOF
scripts += '<script src="%s"></script>\n' % (s)
variants = test.get('script-variants', {})
script_variants = [(v, '<script src="%s"></script>\n' % (s)) for (v, s) in variants.iteritems()]
script_variants = [(v, '<script src="%s"></script>\n' % (s)) for (v, s) in variants.items()]
if not script_variants:
script_variants = [('', '')]

View file

@ -694,7 +694,9 @@
# The ones that change the output when src = (0,0,0,0):
ops_trans = [ 'source-in', 'destination-in', 'source-out', 'destination-atop', 'copy' ];
def calc_output((RA, GA, BA, aA), (RB, GB, BB, aB), FA_code, FB_code):
def calc_output(A, B, FA_code, FB_code):
RA, GA, BA, aA = A
RB, GB, BB, aB = B
rA, gA, bA = RA*aA, GA*aA, BA*aA
rB, gB, bB = RB*aB, GB*aB, BB*aB
@ -719,9 +721,11 @@
return (RO, GO, BO, aO)
def to_test((r,g,b,a)):
def to_test(color):
r, g, b, a = color
return '%d,%d,%d,%d' % (round(r), round(g), round(b), round(a*255))
def to_cairo((r,g,b,a)):
def to_cairo(color):
r, g, b, a = color
return '%f,%f,%f,%f' % (r/255., g/255., b/255., a)
for (name, src, dest) in [

View file

@ -1053,7 +1053,9 @@
# The ones that change the output when src = (0,0,0,0):
ops_trans = [ 'source-in', 'destination-in', 'source-out', 'destination-atop', 'copy' ];
def calc_output((RA, GA, BA, aA), (RB, GB, BB, aB), FA_code, FB_code):
def calc_output(A, B, FA_code, FB_code):
(RA, GA, BA, aA) = A
(RB, GB, BB, aB) = B
rA, gA, bA = RA*aA, GA*aA, BA*aA
rB, gB, bB = RB*aB, GB*aB, BB*aB
@ -1078,9 +1080,11 @@
return (RO, GO, BO, aO)
def to_test((r,g,b,a)):
def to_test(color):
r, g, b, a = color
return '%d,%d,%d,%d' % (round(r), round(g), round(b), round(a*255))
def to_cairo((r,g,b,a)):
def to_cairo(color):
r, g, b, a = color
return '%f,%f,%f,%f' % (r/255., g/255., b/255., a)
for (name, src, dest) in [
@ -5559,7 +5563,9 @@
cr.fill()
for x in range(1, 100):
sigma = x/2.0
filter = [math.exp(-i*i / (2*sigma*sigma)) / (math.sqrt(2*math.pi)*sigma) for i in range(-24, 26)]
filter = []
for i in range(-24, 26):
filter.append(math.exp(-i*i / (2*sigma*sigma)) / (math.sqrt(2*math.pi)*sigma))
accum = [0]
for f in filter:
accum.append(accum[-1] + f)
@ -5584,7 +5590,9 @@
size 100 50
import math
sigma = 100.0/2
filter = [math.exp(-i*i / (2*sigma*sigma)) / (math.sqrt(2*math.pi)*sigma) for i in range(-200, 100)]
filter = []
for i in range(-200, 100):
filter.append(math.exp(-i*i / (2*sigma*sigma)) / (math.sqrt(2*math.pi)*sigma))
accum = [0]
for f in filter:
accum.append(accum[-1] + f)

View file

@ -0,0 +1,30 @@
<!doctype html>
<table style="border: 1px solid red">
<thead style="display: block; height: 100px">
<tr>
<td>
thead text
</td>
</tr>
</tr>
</table>
<table style="border: 1px solid red">
<tbody style="display: block; height: 100px">
<tr>
<td>
tbody text
</td>
</tr>
</tr>
</table>
<table style="border: 1px solid red">
<tfoot style="display: block; height: 100px">
<tr>
<td>
tfoot text
</td>
</tr>
</tr>
</table>

View file

@ -0,0 +1,31 @@
<!doctype html>
<link rel="match" href="table-row-group-height-ref.html">
<table style="border: 1px solid red">
<thead style="display: block" height="100">
<tr>
<td>
thead text
</td>
</tr>
</tr>
</table>
<table style="border: 1px solid red">
<tbody style="display: block" height="100">
<tr>
<td>
tbody text
</td>
</tr>
</tr>
</table>
<table style="border: 1px solid red">
<tfoot style="display: block" height="100">
<tr>
<td>
tfoot text
</td>
</tr>
</tr>
</table>

View file

@ -9,6 +9,7 @@
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="resources/utils.js"></script>
<script>
// Frame layout:
// top=origin0:this-file [
@ -17,90 +18,75 @@
// gchild=origin3:child-two.html
// ]
// ]
let test_parent_initial = async_test("Parent frame initial state");
let test_parent_final = async_test("Parent frame final state");
let test_child1_initial = async_test("Child1 frame initial state");
let test_child1_final = async_test("Child1 frame final state");
let test_child_xo_initial = async_test("Child2 frame initial state");
let test_child_xo_final = async_test("Child2 frame final state");
let test_gchild_initial = async_test("Grandchild frame initial state");
let test_gchild_final = async_test("Grand child frame final state");
let consumption_test = async_test("Consumption test");
let num_children_to_load = 3;
let num_children_to_report = 3;
function finishLoadPhase() {
test_parent_initial.step(() => {
assert_true(num_children_to_load == 0);
assert_true(num_children_to_load == 0);
test(() => {
assert_false(navigator.userActivation.isActive);
assert_false(navigator.userActivation.hasBeenActive);
});
test_parent_initial.done();
}, "Parent frame initial state");
test_driver.click(document.getElementById("child1"));
delayByFrames(() => test_driver.click(document.getElementById("child1")), 5);
// The click at "child-xo" happens after receiving "child-one-clicked" msg.
}
function finishReportPhase() {
test_parent_final.step(() => {
assert_true(num_children_to_report == 0);
assert_true(num_children_to_report == 0);
test(() => {
assert_false(navigator.userActivation.isActive);
assert_true(navigator.userActivation.hasBeenActive);
});
test_parent_final.done();
// End of all tests.
}, "Parent frame final state");
consumption_test.done();
}
window.addEventListener("message", event => {
var msg = JSON.parse(event.data);
if (msg.type == 'child-one-loaded') {
test_child1_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_child1_initial.done();
}, "Child1 frame initial state");
} else if (msg.type == 'child-crossorigin-loaded') {
test_child_xo_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_child_xo_initial.done();
}, "Child2 frame initial state");
} else if (msg.type == 'child-two-loaded') {
test_gchild_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_gchild_initial.done();
}, "Grandchild frame initial state");
} else if (msg.type == 'child-one-clicked') {
test_driver.click(document.getElementById("child-xo"));
} else if (msg.type == 'child-one-report') {
test_child1_final.step(() => {
test(() => {
assert_false(msg.isActive);
assert_true(msg.hasBeenActive);
});
test_child1_final.done();
}, "Child1 frame final state");
} else if (msg.type == 'child-crossorigin-report') {
// This msg was triggered by a user click followed by a window.open().
test_child_xo_final.step(() => {
test(() => {
assert_false(msg.isActive);
assert_true(msg.hasBeenActive);
});
test_child_xo_final.done();
}, "Child2 frame final state");
// Ask remaining frames to report states.
let ask_report = JSON.stringify({"type": "report"});
frames[0].postMessage(ask_report, "*");
frames[1].frames[0].postMessage(ask_report, "*");
} else if (msg.type == 'child-two-report') {
test_gchild_final.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_gchild_final.done();
}, "Grand child frame final state");
}
// Phase switching.

View file

@ -17,87 +17,72 @@
// gchild=child-two.html
// ]
// ]
let test_parent_initial = async_test("Parent frame initial state");
let test_parent_final = async_test("Parent frame final state");
let test_child1_initial = async_test("Child1 frame initial state");
let test_child1_final = async_test("Child1 frame final state");
let test_child_so_initial = async_test("Child2 frame initial state");
let test_child_so_final = async_test("Child2 frame final state");
let test_gchild_initial = async_test("Grandchild frame initial state");
let test_gchild_final = async_test("Grand child frame final state");
let consumption_test = async_test("Consumption test");
let num_children_to_load = 3;
let num_children_to_report = 3;
function finishLoadPhase() {
test_parent_initial.step(() => {
assert_true(num_children_to_load == 0);
assert_true(num_children_to_load == 0);
test(() => {
assert_false(navigator.userActivation.isActive);
assert_false(navigator.userActivation.hasBeenActive);
});
test_parent_initial.done();
}, "Parent frame initial state");
test_driver.click(document.getElementById("child-so"));
}
function finishReportPhase() {
test_parent_final.step(() => {
assert_true(num_children_to_report == 0);
assert_true(num_children_to_report == 0);
test(() => {
assert_false(navigator.userActivation.isActive);
assert_true(navigator.userActivation.hasBeenActive);
});
test_parent_final.done();
// End of all tests.
}, "Parent frame final state");
consumption_test.done();
}
window.addEventListener("message", event => {
var msg = JSON.parse(event.data);
if (msg.type == 'child-one-loaded') {
test_child1_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_child1_initial.done();
}, "Child1 frame initial state");
} else if (msg.type == 'child-sameorigin-loaded') {
test_child_so_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_child_so_initial.done();
}, "Child2 frame initial state");
} else if (msg.type == 'child-two-loaded') {
test_gchild_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_gchild_initial.done();
}, "Grandchild frame initial state");
} else if (msg.type == 'child-one-report') {
test_child1_final.step(() => {
test(() => {
assert_false(msg.isActive);
assert_true(msg.hasBeenActive);
});
test_child1_final.done();
}, "Child1 frame final state");
} else if (msg.type == 'child-sameorigin-report') {
// This msg was triggered by a user click followed by a window.open().
test_child_so_final.step(() => {
test(() => {
assert_false(msg.isActive);
assert_true(msg.hasBeenActive);
});
test_child_so_final.done();
}, "Child2 frame final state");
// Ask remaining frames to report states.
let ask_report = JSON.stringify({"type": "report"});
frames[0].postMessage(ask_report, "*");
frames[1].frames[0].postMessage(ask_report, "*");
} else if (msg.type == 'child-two-report') {
test_gchild_final.step(() => {
test(() => {
assert_false(msg.isActive);
assert_true(msg.hasBeenActive);
});
test_gchild_final.done();
}, "Grand child frame final state");
}
// Phase switching.

View file

@ -5,10 +5,11 @@
-->
<html>
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="resources/utils.js"></script>
</head>
<body>
<h1>Post-navigation activation state in child</h1>
@ -30,7 +31,7 @@
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
test_driver.click(child);
delayByFrames(() => test_driver.click(child), 5);
} else if (msg.type == 'child-one-clicked') {
assert_true(navigator.userActivation.isActive);
assert_true(navigator.userActivation.hasBeenActive);

View file

@ -5,10 +5,10 @@
-->
<html>
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
</head>
<body>
<h1>Post-navigation activation state in child</h1>

View file

@ -9,6 +9,7 @@
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<script src="resources/utils.js"></script>
<script>
// Frame layout:
// top=origin0:this-file [
@ -17,87 +18,72 @@
// gchild=origin3:child-two.html
// ]
// ]
let test_parent_initial = async_test("Parent frame initial state");
let test_parent_final = async_test("Parent frame final state");
let test_child1_initial = async_test("Child1 frame initial state");
let test_child1_final = async_test("Child1 frame final state");
let test_child_xo_initial = async_test("Child2 frame initial state");
let test_child_xo_final = async_test("Child2 frame final state");
let test_gchild_initial = async_test("Grandchild frame initial state");
let test_gchild_final = async_test("Grand child frame final state");
let propagation_test = async_test("Propagation test");
let num_children_to_load = 3;
let num_children_to_report = 3;
function finishLoadPhase() {
test_parent_initial.step(() => {
assert_true(num_children_to_load == 0);
assert_true(num_children_to_load == 0);
test(() => {
assert_false(navigator.userActivation.isActive);
assert_false(navigator.userActivation.hasBeenActive);
});
test_parent_initial.done();
}, "Parent frame initial state");
test_driver.click(document.getElementById("child-xo"));
delayByFrames(() => test_driver.click(document.getElementById("child-xo")), 5);
}
function finishReportPhase() {
test_parent_final.step(() => {
assert_true(num_children_to_report == 0);
assert_true(num_children_to_report == 0);
test(() => {
assert_true(navigator.userActivation.isActive);
assert_true(navigator.userActivation.hasBeenActive);
});
test_parent_final.done();
// End of all tests.
}, "Parent frame final state");
propagation_test.done();
}
window.addEventListener("message", event => {
var msg = JSON.parse(event.data);
if (msg.type == 'child-one-loaded') {
test_child1_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_child1_initial.done();
}, "Child1 frame initial state");
} else if (msg.type == 'child-crossorigin-loaded') {
test_child_xo_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_child_xo_initial.done();
}, "Child2 frame initial state");
} else if (msg.type == 'child-two-loaded') {
test_gchild_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_gchild_initial.done();
}, "Grandchild frame initial state");
} else if (msg.type == 'child-one-report') {
test_child1_final.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_child1_final.done();
}, "Child1 frame final state");
} else if (msg.type == 'child-crossorigin-report') {
// This msg was triggered by a user click.
test_child_xo_final.step(() => {
test(() => {
assert_true(msg.isActive);
assert_true(msg.hasBeenActive);
});
test_child_xo_final.done();
}, "Child2 frame final state");
// Ask remaining frames to report states.
let ask_report = JSON.stringify({"type": "report"});
frames[0].postMessage(ask_report, "*");
frames[1].frames[0].postMessage(ask_report, "*");
} else if (msg.type == 'child-two-report') {
test_gchild_final.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_gchild_final.done();
}, "Grand child frame final state");
}
// Phase switching.

View file

@ -17,87 +17,72 @@
// gchild=child-two.html
// ]
// ]
let test_parent_initial = async_test("Parent frame initial state");
let test_parent_final = async_test("Parent frame final state");
let test_child1_initial = async_test("Child1 frame initial state");
let test_child1_final = async_test("Child1 frame final state");
let test_child_so_initial = async_test("Child2 frame initial state");
let test_child_so_final = async_test("Child2 frame final state");
let test_gchild_initial = async_test("Grandchild frame initial state");
let test_gchild_final = async_test("Grand child frame final state");
let propagation_test = async_test("Propagation test");
let num_children_to_load = 3;
let num_children_to_report = 3;
function finishLoadPhase() {
test_parent_initial.step(() => {
assert_true(num_children_to_load == 0);
assert_true(num_children_to_load == 0);
test(() => {
assert_false(navigator.userActivation.isActive);
assert_false(navigator.userActivation.hasBeenActive);
});
test_parent_initial.done();
}, "Parent frame initial state");
test_driver.click(document.getElementById("child-so"));
}
function finishReportPhase() {
test_parent_final.step(() => {
assert_true(num_children_to_report == 0);
assert_true(num_children_to_report == 0);
test(() => {
assert_true(navigator.userActivation.isActive);
assert_true(navigator.userActivation.hasBeenActive);
});
test_parent_final.done();
// End of all tests.
}, "Parent frame final state");
propagation_test.done();
}
window.addEventListener("message", event => {
var msg = JSON.parse(event.data);
if (msg.type == 'child-one-loaded') {
test_child1_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_child1_initial.done();
}, "Child1 frame initial state");
} else if (msg.type == 'child-sameorigin-loaded') {
test_child_so_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_child_so_initial.done();
}, "Child2 frame initial state");
} else if (msg.type == 'child-two-loaded') {
test_gchild_initial.step(() => {
test(() => {
assert_false(msg.isActive);
assert_false(msg.hasBeenActive);
});
test_gchild_initial.done();
}, "Grandchild frame initial state");
} else if (msg.type == 'child-one-report') {
test_child1_final.step(() => {
test(() => {
assert_true(msg.isActive);
assert_true(msg.hasBeenActive);
});
test_child1_final.done();
}, "Child1 frame final state");
} else if (msg.type == 'child-sameorigin-report') {
// This msg was triggered by a user click.
test_child_so_final.step(() => {
test(() => {
assert_true(msg.isActive);
assert_true(msg.hasBeenActive);
});
test_child_so_final.done();
}, "Child2 frame final state");
// Ask remaining frames to report states.
let ask_report = JSON.stringify({"type": "report"});
frames[0].postMessage(ask_report, "*");
frames[1].frames[0].postMessage(ask_report, "*");
} else if (msg.type == 'child-two-report') {
test_gchild_final.step(() => {
test(() => {
assert_true(msg.isActive);
assert_true(msg.hasBeenActive);
});
test_gchild_final.done();
}, "Grand child frame final state");
}
// Phase switching.

View file

@ -0,0 +1,9 @@
function delayByFrames(f, num_frames) {
function recurse(depth) {
if (depth == 0)
f();
else
requestAnimationFrame(() => recurse(depth-1));
}
recurse(num_frames);
}

View file

@ -1,2 +1,2 @@
def main(request, response):
return "PASS" if request.POST["file_input"].file.read() == b"File to upload\n" else "FAIL"
return "PASS" if request.POST[b"file_input"].file.read() == b"File to upload\n" else "FAIL"

View file

@ -1504,7 +1504,7 @@ interface ElementInternals {
readonly attribute HTMLFormElement? form;
void setValidity(ValidityStateFlags flags,
void setValidity(optional ValidityStateFlags flags = {},
optional DOMString message,
optional HTMLElement anchor);
readonly attribute boolean willValidate;

Some files were not shown because too many files have changed in this diff Show more