Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for Trusted Types that mutation observers receive the default policy value when setAttribute is called #1

Closed
wants to merge 267 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
267 commits
Select commit Hold shift + click to select a range
516ca10
Test text selection when shadow root has delegatesFocus
JRJurman Feb 1, 2024
3a75c6b
Consider signed zeroes in min(), max() and clamp().
cjpearson Jan 31, 2024
09968e7
Make beforecreatepolicy event test tentative
lukewarlow Feb 1, 2024
37bcd1c
Bump taskcluster from 59.2.0 to 60.3.2 in /tools
dependabot[bot] Jan 30, 2024
397bc08
Bump pygithub from 2.1.1 to 2.2.0 in /tools
dependabot[bot] Jan 30, 2024
71ddae6
Move tests using legacy MediaStreamTrackGenerator to a legacy folder …
youennf Feb 1, 2024
3d0bc46
TextDecoder's decode() supports shared buffers
annevk Feb 1, 2024
129ab16
blink/flexbox: justify-content, space-around fallback to safe center
hjanuschka Feb 1, 2024
9b7754b
Consolidate and remove tentative from :state() WPTs
josepharhar Feb 1, 2024
b077dc1
Fenced frames: Make embedder-initiated fenced frame root navigation W…
Feb 1, 2024
3edd482
[SAA] Implementing SharedWorker support (Part 2: Expose same-site coo…
arichiv Feb 1, 2024
146535e
[grid] Fix safe centering of space-around/space-evenly.
bfgeek Feb 1, 2024
e76d5be
[FedCM] Grant sharing permission in Resolve
cbiesinger Feb 1, 2024
747837a
[A11y] Handle illegal aria-owns from <br>
aleventhal Feb 1, 2024
755d6d2
WebNN: Define XNNPACK Node for matmul
lisa0314 Feb 2, 2024
6e5d970
[LineBreaker] Remove parallel flow break tokens when rewinding floats
kojiishi Feb 2, 2024
32af21e
Export MathML dir-* tests to WPT.
fred-wang Feb 1, 2024
f10f928
Export some dynamic reftests to WPT.
fred-wang Feb 1, 2024
67451f9
Suppress scrollable table cells when printing.
emilio Feb 2, 2024
5a5bd1e
[LineBreaker] Add a test for crbug.com/1520442
kojiishi Feb 2, 2024
14d6dc2
[wdspec] add a test for verifying local storage isolation in user con…
OrKoN Feb 2, 2024
fc41ddc
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=267046 (#44383)
anttijk Feb 2, 2024
74ce315
Don't retarget nullptr in InvokeEvent::invoker
keithamus Feb 2, 2024
8b0c670
Update IsElementReflectionAttribute
josepharhar Feb 2, 2024
cf2518c
Deflake scrollend test
Feb 2, 2024
f1d9aa9
Un-tentative pagereveal tests
bokand Feb 2, 2024
64b75a9
Revert "Remove empty closed paths"
Feb 2, 2024
117e60e
Remove custom-elements/state/idlharness.window.js
josepharhar Feb 2, 2024
78ce8e7
Fix some crashes in StylableSelect HTML parser
josepharhar Feb 2, 2024
53f8b53
Add unicode-bidi UA stylesheet rules
mfreed7 Feb 2, 2024
431e0d4
Preserve opened layer content across canvas flushes
graveljp Feb 3, 2024
bb2ac6b
Add MP4 mimetype to the existing MediaRecorder web tests.
cpsgchue Feb 3, 2024
33a65d0
Add WPTs for race-network-and-fetch-handler option (#44345)
chromium-wpt-export-bot Feb 3, 2024
e1bc60c
Event Timing reports EventTarget for more pointer events (#44372)
chromium-wpt-export-bot Feb 3, 2024
621a069
Tweak <aside> conditional mappings to check for more cases (#43013)
sivakusayan Feb 3, 2024
385fce8
Prototype a user-find css property to control findability of text.
emilio Feb 2, 2024
9cc8dca
Add wpt crashtest for this (fixed) bug.
dholbert Feb 3, 2024
faa6d42
Add null-check to aria_utils verifyLabelsBySelector (#44361)
dholbert Feb 3, 2024
2b2d9df
Router evaluation for subresources in the no fetch handler case
sisidovski Feb 5, 2024
090e95a
Export link-001.html as a tentative WPT.
fred-wang Feb 3, 2024
8a8b233
Export some MathML mpadded reftests to WPT.
fred-wang Feb 3, 2024
3d54b13
Add wpt crashtest for this (fixed) bug.
dholbert Feb 3, 2024
85f9a17
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=268683 (#44395)
anttijk Feb 5, 2024
1f864a2
Remove impossible test for non-string "Credential"
alvestrand Feb 5, 2024
d0a66df
Add test for console logging a Symbol
syvb Feb 4, 2024
83ca3f9
[A11y] Do not include hidden nodes when they are ignored
aleventhal Feb 5, 2024
81c06c7
Support :user-valid/:user-invalid on checkboxes
josepharhar Feb 5, 2024
3c54afa
Split LoAF sourceLocation to 3 attributes
noamr Feb 5, 2024
df6595e
html: Tests for field-sizing (#44346)
tkent-google Feb 6, 2024
91bfb4f
Add a test for a WebKit / Blink bug where they incorrectly simplify p…
emilio Feb 5, 2024
9ada1fb
Avoid re-registering container query frames unnecessarily.
emilio Feb 5, 2024
b904b66
[wdspec] Update network test module with remaining arguments network.…
juliandescottes Feb 5, 2024
eb2d7f8
[wdspec] Add validation test for all remaining arguments of network.c…
juliandescottes Feb 5, 2024
91dd073
[wdspec] Update network test module with remaining arguments network.…
juliandescottes Feb 5, 2024
4483829
[wdspec] Add validation test for all remaining arguments of network.c…
juliandescottes Feb 5, 2024
299276c
[wdspec] Add test for network.continueRequest
juliandescottes Feb 5, 2024
716fe1e
[wdspec] Add test for network.continueResponse
juliandescottes Feb 5, 2024
8c4c175
[wdspec] Add create_header and create_cookie_header helpers for bidi …
juliandescottes Feb 5, 2024
d347c71
Mark Web Locks tests non-tentative
saschanaz Feb 5, 2024
52b173f
Add wpt crashtest for this (fixed) bug.
dholbert Feb 5, 2024
e3f0f30
Fix crash on large console log
syvb Feb 5, 2024
cdafbec
Improve reflected attribute tests (html/dom/reflection.js)
tbroyer Feb 6, 2024
d56b139
[css-scroll-snap-2] Prioritize focused snap targets
Feb 6, 2024
33b559d
Add WebDriver BiDi worker tests (#44291)
jrandolf-2 Feb 6, 2024
516158d
Move CORS logic from direct-from-seller-signals.py to fledge_http_ser…
orrb1 Feb 6, 2024
aeff916
[shared storage] Expose selectURL()/run() on the SharedStorageWorklet…
yaoxiachromium Feb 6, 2024
1120ba9
Don't reject same site prefetches with no-referrer
kjmcnee Feb 6, 2024
c0b9c86
Support iframe scroll margin
tcaptan-cr Feb 6, 2024
803ab2a
Render <button> and <datalist> in <select>
josepharhar Feb 6, 2024
5eb84ee
Remove declarative shadow DOM polyfill
mfreed7 Feb 6, 2024
a68f313
[wptrunner] Plumb expectations `wpttest.{Test -> (Subtest)Result}` (#…
jonathan-j-lee Feb 6, 2024
39e3ec2
serial: Migrate Web Serial MojoJS based tests to internal folder
Feb 7, 2024
3e6c7c2
[wdspec] Add invalid test for browsingContext.create with removed use…
juliandescottes Feb 6, 2024
9afbc09
[wdspec] Add test for browser.removeUserContext to check browsing con…
juliandescottes Feb 6, 2024
2453380
Add tests for zstd content-encoding (#44393)
nidhijaju Feb 7, 2024
173d73b
[wdspec] Add type hint parameter for context_created and context_dest…
juliandescottes Feb 6, 2024
6c85d26
[wdspec] Always assert user context in assert_browsing_context
juliandescottes Feb 6, 2024
ed10c12
[wdspec] Add various user_context tests for browsingContext.create
moz-wptsync-bot Feb 6, 2024
c967c39
Make declarative shadow roots of custom elements available to element…
avandolder Feb 6, 2024
aee2a77
Moved position-try-order into wpt/ from wpt_internal/
Feb 7, 2024
c635cb4
Fully implement bidi for a line's trailing spaces (UAX#9 L1)
andreubotella Feb 7, 2024
910e4c8
DOM: Implement the `forEach()` Observable operator
domfarolino Feb 7, 2024
fd2fc2a
Make `nsRange` delete itself from `Selection`s if it becomes a range …
masayuki-nakano Feb 7, 2024
7cfbb8f
Follow shortest serialization principle for transition shorthand.
BorisChiou Feb 7, 2024
c3ca3ed
Only record that breakPriority indicated use of overflow-wrap if we a…
jfkthame Feb 7, 2024
5362cef
Do not call CreateAndShow with the default permission
saschanaz Feb 7, 2024
a973f27
[shared storage] Allow creating multiple worklets per Window context
yaoxiachromium Feb 7, 2024
12a51d9
[EditContext] Ensure textupdate fires for backspace/delete in <canvas>
dandclark Feb 7, 2024
734e3b9
Correctly handle printing of overflowing monolithic OOFs.
mstensho Feb 7, 2024
09de1c2
allow old headless mode for chrome (#44445)
WeizhongX Feb 7, 2024
c8c3d6a
Zoom should affect intrinsic replaced element size.
emilio Feb 7, 2024
0e47f4f
[wdspec] Extend timeout for network/continue_response/invalid.py and …
juliandescottes Feb 7, 2024
5407936
Part 2 - support SVG properties on first-letter and first-line
longsonr Feb 7, 2024
3c00d74
Always call superclass in HTMLLabelElement::DefaultEventHandler
josepharhar Feb 8, 2024
4c4bec5
Use OK status to check RaceNetworkRequest response
sisidovski Feb 8, 2024
0f06b11
Move monolithic-overflow-* from css/printing to css/css-page. (#44422)
chromium-wpt-export-bot Feb 8, 2024
cd9d5a2
Fix offset* APIs on tables with captions.
emilio Feb 7, 2024
a15d391
use ssl.SSLContext.wrap_socket rather than the deprecated ssl.wrap_so…
longsonr Feb 7, 2024
54a180f
Add coverage for `webkit` prefixed historical interface (#44462)
Ahmad-S792 Feb 8, 2024
929d133
[css-anchor-position] Parsing and computing position-try-options
Feb 8, 2024
a79f9cb
Establish display item fragment scope for atomic inlines.
mstensho Feb 8, 2024
50cdae7
Implement view-transition-class selector matching
noamr Feb 8, 2024
11f539a
Test to account for links wrapped in `svg` (#44461)
Ahmad-S792 Feb 8, 2024
effd91d
sensors: Make virtual sensors always remember and report the latest r…
rakuco Feb 8, 2024
bd77098
VT: Handle document shutdown gracefully.
vmpstr Feb 8, 2024
cc83935
[Grid] Fix resolution of alignment properties for subgridded items
ethanjv Feb 8, 2024
495dfa9
Implement :open and :closed pseudo classes
josepharhar Feb 8, 2024
f628754
Add tests for CSS calc-size() function.
dbaron Feb 9, 2024
da25e93
Add tests for animation of CSS calc-size().
dbaron Feb 9, 2024
b9c905d
[css-anchor-position] Add interpolation tests for all properties
Feb 9, 2024
1837411
[wdspec] Add test for early fetchError events
juliandescottes Feb 8, 2024
6878a09
Part 4: Implement generic role mapping
Feb 8, 2024
15110b0
Make Element.{client,scroll} APIs zoom aware.
emilio Feb 8, 2024
e164c49
Slightly adjust threshold in oscillator and compressor test in WPT fo…
padenot Feb 8, 2024
a757293
Fix focus gets incorrectly cleared by PresShell::FixUpFocus if the fo…
sefeng211 Feb 8, 2024
913ef86
DOM: add some CDATASection coverage
annevk Feb 9, 2024
5480e40
[css-nesting] Don't emit invisible rules inside @page
andruud Feb 9, 2024
43a23d0
Add test from issue 40650780
Feb 9, 2024
34995a6
Remove unnecessary header for fetch requests
linnan-github Feb 9, 2024
7567b52
A non-invertible gradient/patternTransform make the paintserver invalid
Feb 9, 2024
703bd88
Don't reset the subpath start on 'close' commands
Feb 9, 2024
c0538d5
Close the dialog element when the open attribute is removed
josepharhar Feb 9, 2024
742faa6
[HitTestTransparency] Experimental status
wangxianzhu Feb 9, 2024
a0952fc
Request::Contructor init body now takes precendence over input body.
DylanOToole2 Feb 9, 2024
f11c5f5
FLEDGE: field trial testing config for 20->40 in component ads limit
Feb 9, 2024
dac72e8
Export made from a WebKit repository
lukewarlow Feb 8, 2024
ded3ea7
Convert existing orientation-event web tests to test_driver
JuhaVainio Feb 10, 2024
86c2abe
[wptrunner] Use the correct ProfileCreator class in FirefoxAndroidWdS…
whimboo Feb 10, 2024
afdbabf
Make `PresShell::EventHandler::DispatchPrecedingPointerEvent` update …
masayuki-nakano Feb 10, 2024
33d11f1
Change the behavior of clonable to be more opt-in
mfreed7 Feb 10, 2024
0021ba6
Revert "FLEDGE: field trial testing config for 20->40 in component ad…
Feb 11, 2024
3a3083b
[marionette] Implicitly accept "beforeunload" prompts in Marionette.
whimboo Feb 10, 2024
eeb00b0
webrtc wpt: update RTCRtpParameters-codec.html to use receive-side se…
fippo Feb 12, 2024
2dd70a3
Remove Microsoft Edge Legacy (#44233)
mwjacksonmsft Feb 12, 2024
ddef01b
[anchor] Remove anchor(auto), anchor(auto-same)
andruud Feb 12, 2024
60df2d2
Add support for math expressions for offset-rotate interpolation
danielsakhapov Feb 12, 2024
1c79b1b
Add support for math expressions in custom properties angle interpola…
danielsakhapov Feb 12, 2024
385dc41
Add basic @page (CSSPageRule) CSSOM test.
mstensho Feb 12, 2024
5a5b804
[multicol] Allow stretch sizes to resolve for column balancing.
bfgeek Feb 12, 2024
9bba46c
Reland "FLEDGE: field trial testing config for 20->40 in component ad…
Feb 12, 2024
5ed2220
[Async Clipboard] Use `supports` instead of `IsValidType`.
yisibl Feb 12, 2024
bec578b
Document render-blocking: use classic scripts to generate parser delay
noamr Feb 12, 2024
dea3f53
Add CSS display-mode experimental support for picture-in-picture
beaufortfrancois Feb 12, 2024
f84ab88
Event Timing - Handle modal dialog interference
Feb 12, 2024
dbbfe1b
Add 'writingsuggestions' attribute
stephanieyzhang Feb 12, 2024
24531eb
Make `Shift` + right click should work as a right click without `Shif…
masayuki-nakano Feb 12, 2024
36f966f
Make sure we hold a reference to the pc in these tests.
docfaraday Feb 12, 2024
3fcdae2
Wait for RTP before checking for RTP stats.
docfaraday Feb 12, 2024
b71b8c1
Make --headless the default for Chrome and Chromium (#44515)
past Feb 12, 2024
f02fb3c
[shared storage] Introduce WorkletOptions param
yaoxiachromium Feb 12, 2024
623aa54
VT: Add class list as a specificity consideration for view transitions.
vmpstr Feb 12, 2024
d711085
Fenced frames: Disable _unfencedTop navigations after network revocation
Feb 12, 2024
1c27601
Fix typo in MediaRecorder-mimetype.html
dalecurtis Feb 12, 2024
855f066
Add iframes lazy load scroll margin wpt tests
yotam-hacohen Feb 12, 2024
684fdf7
Remove IE App (#44344)
mwjacksonmsft Feb 13, 2024
cfd5b3c
Clean up CompareTreePosition and related code.
emilio Feb 12, 2024
a7f0a17
Part 2 - Add `:has` to revalidation selector.
dshin-moz Feb 12, 2024
f127a46
Add @page (CSSPageRule) CSSOM test for adding / removing properties.
mstensho Feb 13, 2024
a900d16
Do feature detection in @starting-style tests
Feb 13, 2024
279a195
Add support for math expressions for border-image-width interpolation
danielsakhapov Feb 13, 2024
6b359c7
Add support for math expressions for font-stretch interpolation
danielsakhapov Feb 13, 2024
8fa356c
Add support for math expressions for font-size-adjust interpolation
danielsakhapov Feb 13, 2024
da43d32
[wdspec] Fix escaping in test_shadow_root_slot[default hidden].
whimboo Feb 12, 2024
2380ac0
Add fuzzy metadata to wpt/svg/painting/reftests/marker-path-001.svg
Feb 13, 2024
4ee1931
Field trial testing config for sampling debug reports.
Feb 13, 2024
f6b79c6
[SAA] Implementing SharedWorker support (Part 3: Implement same-site …
arichiv Feb 13, 2024
902c80c
webrtc wpt: fix and re-enable getStats WPT (#44553)
chromium-wpt-export-bot Feb 13, 2024
f664d06
webrtc wpt: update more tests to use receiver capabilities for setCod…
chromium-wpt-export-bot Feb 13, 2024
4aa22e7
Fix <select> manual assignment crash
josepharhar Feb 13, 2024
0f31a8c
Relax slightly the SNR test for the OscillatorNode to account for all…
padenot Feb 13, 2024
6c7e1e5
[Editing] Merge the styles of fragment nodes during paste.
snianu Feb 13, 2024
dfd8ddb
Fix min-content related crash in `LineBreaker::SplitTrailingBidiPrese…
andreubotella Feb 13, 2024
fccb038
Add 'libegl1-mesa-dev' needed by Servo to the Docker image (#44493)
mukilan Feb 13, 2024
fe09a18
Add WPT test validating that drawImage writes to the layer
AndresRPerez12 Feb 13, 2024
2329ca0
Migrate WebHID MojoJS based tests to internal folder
Feb 13, 2024
ee5cbee
[Protected Audiences] Remove some instances of "Url" from WPT tests.
Feb 13, 2024
93fb47c
[CompositeClipPathAnimation] Resolve flakey tests.
Feb 13, 2024
02823cf
Use scroll margin for iframes' lazy loader.
yotam-hacohen Feb 14, 2024
938e843
Add test case for crbug.com/41490395
wangxianzhu Feb 14, 2024
bdd08b8
[wpt] Update test client to support "filter" argument for "storage.ge…
lutien Feb 13, 2024
d5bb13e
[wdspec] Add tests for "storage.getCookies" command.
lutien Feb 13, 2024
fd86255
Revise nonterminating test from RTCPeerConnection-SLD-offer
alvestrand Feb 14, 2024
34dd07e
New implementation for finding ::first-letter text
Feb 14, 2024
f5cac38
Fix fragment_navigated test
jrandolf-2 Feb 14, 2024
fb4cd8f
orientation-event: Test DeviceOrientationEvent's absolute value on er…
rakuco Feb 14, 2024
4621ea8
Add notifyEvent API for fenced frames.
VergeA Feb 14, 2024
92cff38
[SAA] Implementing SharedWorker support (Part 4: Add SharedWorker sup…
arichiv Feb 14, 2024
2736c7f
Test parse-time HSL clamp of negative saturation to zero (#44269)
svgeesus Feb 14, 2024
4719225
[css-scroll-snap-2] Prioritize inner snap targets
Feb 14, 2024
bbf3512
Fenced frames: Disable popup navigations after network revocation (#4…
chromium-wpt-export-bot Feb 15, 2024
4bd0a19
Revert "Add notifyEvent API for fenced frames."
Feb 14, 2024
07a8d15
Add shadowRootDelegatesFocus and shadowRootClonable reflection
mfreed7 Feb 15, 2024
6318d09
More declarative shadow tree test coverage
annevk Feb 13, 2024
b8c0ef3
Add a test covering order of navigation/fragment/network events (#44587)
OrKoN Feb 15, 2024
7ecbda7
Update pointerevents/META.yml suggested reviewers
Feb 14, 2024
616d362
Allow RTCDTMFToneChangeEvents to fire up to 1ms early.
Pehrsons Feb 14, 2024
5a60e4c
Add rounding test to orientation-event WPT
JuhaVainio Feb 15, 2024
2380482
Mark fromLiteral test as tentative (#44350)
lukewarlow Feb 15, 2024
57308ed
Apply SVG paint-order to text-decorations (#44511)
Ahmad-S792 Feb 15, 2024
c5e5bdb
Test to popover and postioned elements
cathiechen Feb 15, 2024
8d8eb48
[wdspec] Add tests for "storage.setCookie" command.
lutien Feb 15, 2024
b393c4e
[wdspec] Add tests for "storage.getCookies" command using "storage.se…
lutien Feb 15, 2024
47aa7a6
Add gecko specific tests for `storage.getCookies` and `storage.setCoo…
lutien Feb 15, 2024
f773618
Link paintorder-text-decorations.svg to its reference file (#44610)
nt1m Feb 15, 2024
7cac086
WebKit export: [view-transitions] Allow animations to run more than o…
nt1m Feb 15, 2024
1971e60
Invalidate SVG paint server clients on style transform changes
Feb 15, 2024
231486e
[SAA] Include unpartitioned cookies in DedicatedWorker load if Storag…
arichiv Feb 15, 2024
de8ec2f
Add WebRTC test for offer with duplicate a=msid line
alvestrand Feb 15, 2024
b9dc4df
Add more tests for dangling markup mitigation
shhnjk Feb 15, 2024
9f74d5a
[Protected Audiences] Add some generateBid browserSignals tests.
Feb 15, 2024
efc2d1f
[Event Timing] Expose interactionId to Keypress & keydown/up under co…
Feb 15, 2024
9630591
Make dir=auto elements without strong characters ltr (rather than inh…
dbaron Feb 16, 2024
c79550b
document pip: Allow window.focus() to focus the opener tab from pip
steimelchrome Feb 16, 2024
f6f118d
Add 'writingsuggestions' tests for disabled elements and "unsupported"
stephanieyzhang Feb 16, 2024
f74d912
Remove old OOF fragmentation spanner-awareness code.
mstensho Feb 16, 2024
e6dbd29
Implement constructor in RTCEncodedVideoFrame
palak8669 Feb 16, 2024
0f0f125
Enable CSS display-mode support for picture-in-picture by default
beaufortfrancois Feb 16, 2024
e35fb78
Remove replaceState from SoftNav heuristics
clelland Feb 16, 2024
196f4a5
[css-anchor-position] position-try shorthand parsing and computed
Feb 16, 2024
f3f2e7c
Revert "Implement constructor in RTCEncodedVideoFrame"
stephenmcgruer Feb 16, 2024
96f5143
css-color-5 : mix blue and white (#44601)
romainmenke Feb 16, 2024
0c8fd27
Make `inert-iframe-hittest.html` initialize pointer position before a…
masayuki-nakano Feb 15, 2024
97001c3
getComputedStyle() for pseudo-elements with argument
annevk Feb 16, 2024
e3b3857
Fix overscroll events test
Feb 16, 2024
553ce34
[bfcache]Update report strings for not restored reasons
Feb 16, 2024
89869bd
Remove corb_detachable.
otherdaniel Feb 16, 2024
86be793
[EditContext] Allow backwards range params in updateText
dandclark Feb 16, 2024
db543b1
Remove loaders constant from preload/prefetch-document.
otherdaniel Feb 16, 2024
6bad5f5
'writingsuggestions' content attribute should reflect the given value
stephanieyzhang Feb 16, 2024
ee84ad2
[SAA] Fix chrome WPTs
arichiv Feb 16, 2024
ece2f8c
URL: backslash after authority for special URLs
annevk Feb 16, 2024
a415844
[css-flexbox] Make test easier to debug
fantasai Feb 17, 2024
a092215
Only check for matching mode in attachShadow
mfreed7 Feb 17, 2024
504dbb9
remove popover element only from top layer if it's not a dialog eleme…
mbrodesser-Igalia Feb 16, 2024
155f94a
[webnn] Add tests for WebNN API constant (fillSequence) (#43801)
BruceDai Feb 18, 2024
a8f1e9c
[webnn] Add float32 tests for WebNN API triangular op (#43794)
BruceDai Feb 18, 2024
32864fa
[webnn] Add float32 tests for WebNN API l2Pool2d op (#44314)
BruceDai Feb 18, 2024
bbc413a
Export made from a WebKit repository (#44641)
fujii Feb 19, 2024
8fb5ee7
Remove user-find, make inert not findable.
emilio Feb 16, 2024
8ca6fb2
HighlightRegister was renamed to HighlightRegistry (#44631)
annevk Feb 19, 2024
2492b90
Use GlobalTeardownObserver for consistency on workers.
asutherland Feb 16, 2024
4926f1d
Remove the popovertarget attribute or set it to an invalid value shou…
ziransun Feb 16, 2024
857a19c
Use valid pseudo-element syntax in pseudo-get-computed-style.html (#4…
nt1m Feb 19, 2024
d643cf9
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=269673
lukewarlow Feb 18, 2024
0926ff5
Test Ed25519 with small- and mixed-order points (#43751)
javifernandez Feb 19, 2024
b31783e
Ignore lint error to unblock wpt-importer
WeizhongX Feb 19, 2024
e955fbc
Remove "contentinfo region scoped to main element is generic" WPT test.
jcsteh Feb 19, 2024
2898a8f
webrtc wpt: add test for codecs in subsequent offers
fippo Feb 20, 2024
3a15f9f
Move some test input data from the test to the input data
mbrodesser-Igalia Feb 20, 2024
b523d7b
Add test that mutation observers receive the default policy value whe…
mbrodesser-Igalia Feb 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ tasks:
owner: ${owner}
source: ${event.repository.clone_url}
payload:
image: webplatformtests/wpt:0.56
image: webplatformtests/wpt:0.57
maxRunTime: 7200
artifacts:
public/results:
Expand Down
4 changes: 2 additions & 2 deletions IndexedDB/back-forward-cache-open-connection.window.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ promise_test(async t => {
await rc2.historyBack();
// The previous page receiving versionchange event should be evicted with the
// correct reason.
// `kIgnoreEventAndEvict` will be reported as "internal-error".
// `kIgnoreEventAndEvict` will be reported as "masked".
// See `NotRestoredReasonToReportString()`.
await assertNotRestoredFromBFCache(rc1, ['internal-error']);
await assertNotRestoredFromBFCache(rc1, ['masked']);
});
71 changes: 71 additions & 0 deletions IndexedDB/worker-termination-aborts-upgrade.window.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// META: title=Worker Termination Aborts a Pending Upgrade
// META: script=resources/support-promises.js

// This test verifies that if a Worker's shutdown races an IndexedDB
// versionchange transaction that is creating a database that the next attempt
// to open the database results in a versionchange from version 0 and that
// nothing was in the database.
//
// Care has been taken to make this test's behavior well-defined relative to the
// spec to avoid intermittent failures. In particular
// `DedicatedWorkerGlobalScope.close()` is used on the worker after issuing the
// `IDBFactory.open()` call. This precludes any further tasks running on the
// worker by spec, although implementations may potentially have "zones of
// danger" in the time between the worker transitioning and when any state
// machines on the parent thread realize what's going on.

async function runAsyncFunctionInWorkerThenClose(funcToStringify) {
const script = `// This script was created by runAsyncFunctionInWorkerThenClose
let testFunc = ${funcToStringify.toString()};
setTimeout(async () => {
await testFunc();
postMessage("ran");
self.close();
}, 0);
`;
const scriptBlob = new Blob([script]);
const url = URL.createObjectURL(scriptBlob);
const w = new Worker(url);
await new Promise((resolve) => {
w.onmessage = (evt) => {
if (evt.data === "ran") {
resolve();
}
};
});
URL.revokeObjectURL(url);
}

promise_test(async t => {
await runAsyncFunctionInWorkerThenClose(async function() {
// Note that this code will actually run on the worker, so anything
// lexically captured will be coming from the worker's global scope.
const openReq = indexedDB.open("aborted-upgrade-db", 1);

openReq.onupgradeneeded = (event) => {
const db = event.target.result;
db.createObjectStore("should-not-be-created");
}
});

// At this point we know that the open request was issued on the worker
// worker thread. An ordering concern at this point is that IDB only
// specifies that the the connection opening algorithm is run in parallel and
// we are not guaranteed that when we go "in parallel" here that our operation
// won't run first. As such, it may be necessary to add some kind of
// arbitrary delay in the future if implementations do not effectively
// maintain sequential ordering of IPC requests within a process.
//
// Note that we must NOT use `createNamedDatabase` here because it will
// issue a blind call to `deleteDatabase`. Because the migrate helper does
// not perform cleanup, we must add the cleanup deletion now, though.
t.add_cleanup(() => { indexedDB.deleteDatabase("aborted-upgrade-db"); });
let createdDB = await migrateNamedDatabase(t, "aborted-upgrade-db", 1, (db) => {
assert_equals(db.objectStoreNames.length, 0, "DB should have been empty");
// Let's make sure the database is not permanently broken / corrupted.
db.createObjectStore("should-be-created");
});

assert_equals(createdDB.objectStoreNames.length, 1, "created object store correctly");
assert_equals(createdDB.objectStoreNames.item(0), "should-be-created");
});
6 changes: 2 additions & 4 deletions WebCryptoAPI/derive_bits_keys/cfrg_curves_bits.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ function define_tests() {
// Verify the derive functions perform checks against the all-zero value results,
// ensuring small-order points are rejected.
// https://www.rfc-editor.org/rfc/rfc7748#section-6.1
// TODO: The spec states that the check must be done on use, but there is discussion about doing it on import.
// https://github.com/WICG/webcrypto-secure-curves/pull/13
Object.keys(kSmallOrderPoint).forEach(function(algorithmName) {
kSmallOrderPoint[algorithmName].forEach(function(test) {
promise_test(async() => {
Expand All @@ -23,8 +21,8 @@ function define_tests() {
false, [])
derived = await subtle.deriveBits({name: algorithmName, public: publicKey}, privateKey, 8 * sizes[algorithmName]);
} catch (err) {
assert_false(privateKey === undefined, "Private key should be valid.");
assert_false(publicKey === undefined, "Public key should be valid.");
assert_true(privateKey !== undefined, "Private key should be valid.");
assert_true(publicKey !== undefined, "Public key should be valid.");
assert_equals(err.name, "OperationError", "Should throw correct error, not " + err.name + ": " + err.message + ".");
}
assert_equals(derived, undefined, "Operation succeeded, but should not have.");
Expand Down
22 changes: 22 additions & 0 deletions WebCryptoAPI/sign_verify/eddsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,28 @@ function run_test() {
}, "Sign and verify using generated " + vector.algorithmName + " keys.");
});

// When verifying an Ed25519 or Ed448 signature, if the public key or the first half of the signature (R) is
// an invalid or small-order element, return false.
Object.keys(kSmallOrderTestCases).forEach(function (algorithmName) {
var algorithm = {name: algorithmName};
kSmallOrderTestCases[algorithmName].forEach(function(test) {
// Test low-order public keys
promise_test(async() => {
let isVerified = true;
let publicKey;
try {
publicKey = await subtle.importKey("raw", test.keyData,
algorithm,
false, ["verify"])
isVerified = await subtle.verify(algorithmName, publicKey, test.signature, test.message);
} catch (err) {
assert_equals(isVerified, test.verified, "Signature verification result.");
assert_unreached("The operation shouldn't fail, but it thown this error: " + err.name + ": " + err.message + ".");
}
assert_false(isVerified, "Signature verification result.");
}, algorithmName + " Verification checks with small-order key of order - Test " + test.id);
});
});

// A test vector has all needed fields for signing and verifying, EXCEPT that the
// key field may be null. This function replaces that null with the Correct
Expand Down
Loading