[wpt-sync] Sync PR 39267 - LoAF: Improve callback probing & source locations
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox114 fixed)
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39267 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39267
Details from upstream follow.
Noam Rosenthal <nrosenthal@chromium.org> wrote:
LoAF: Improve callback probing & source locations
Refactor UserCallback probe:
Separate UserCallback from EventListener probes,
putting them together required a lot of conditions
and optional args and was unnecessarily complex.Pass enough info in UserCallback & EventListener probes
for source-location capturing.
This makes ExecuteFunction probes redundnat for LoAF,
which is a win-win since it's an expensive probe.When capturing source locations, make sure we capture
the bound function. Added a WPT to cover this.Bug: 1392685
Change-Id: I780a60513dc49fa15c7ea2d732f6dfad2530d5e6
Reviewed-on: https://chromium-review.googlesource.com/4376773
WPT-Export-Revision: 21cbddce8463bdfdcf0a1754f47e18b5360f1e19
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
| Assignee | ||
Comment 4•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 15 tests and 1 subtests
Status Summary
Firefox
ERROR : 15
Chrome
OK : 14
PASS : 34
FAIL : 12
TIMEOUT: 1
ERROR : 1
NOTRUN : 3
Safari
ERROR : 15
Links
Details
New Tests That Don't Pass
- /long-animation-frame/tentative/loaf-basic.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-buffered.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-desired-exec-time.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-event-listener.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-first-ui-event.html [wpt.fyi]:
ERROR(Chrome:ERROR, Safari:ERROR) - /long-animation-frame/tentative/loaf-idle.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-iframe-popup.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-pause-duration.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-promise.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-script-block.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-script-window-attribution.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-source-location-bound.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-timeline.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-user-callback.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /long-animation-frame/tentative/loaf-visibility.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)
Comment 6•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/327278fb299d
https://hg.mozilla.org/mozilla-central/rev/292c1889f4f6
Description
•