[Webkit-unassigned] [Bug 202932] New: Web Inspector: inspector/model/remote-object-weak-collection.html is failing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 14 09:34:16 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=202932
Bug ID: 202932
Summary: Web Inspector:
inspector/model/remote-object-weak-collection.html is
failing
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: yurys at chromium.org
CC: inspector-bugzilla-changes at group.apple.com
The test is reliably failing on all platforms with the following diff:
--- /home/yurys/WebKit/WebKitBuild/Release/layout-test-results/inspector/model/remote-object-weak-collection-expected.txt
+++ /home/yurys/WebKit/WebKitBuild/Release/layout-test-results/inspector/model/remote-object-weak-collection-actual.txt
@@ -129,5 +129,32 @@
-----------------------------------------------------
EXPRESSION: delete window.strongKey2; weakMap
ENTRIES:
-[]
+[
+ {
+ "_key": {
+ "_type": "object",
+ "_objectId": "<filtered>",
+ "_description": "Object",
+ "_preview": {
+ "_type": "object",
+ "_description": "Object",
+ "_lossless": true,
+ "_overflow": false,
+ "_properties": [
+ {
+ "_name": "id",
+ "_type": "number",
+ "_value": "2"
+ }
+ ],
+ "_entries": null
+ }
+ },
+ "_value": {
+ "_type": "number",
+ "_description": "2",
+ "_value": 2
+ }
+ }
+]
Looks like a real issue as the entry is not being GC'ed after the key is deleted. It has something to do with the WeakMap capacity I believe as the test stops failing if one extra entry is inserted:
- {expression: "weakMap.set({id:3}, 3); weakMap.set({id:4}, 4);"},
+ {expression: "weakMap.set({id:3}, 3); weakMap.set({id:4}, 4); weakMap.set({id:5}, 5);"},
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191014/9c17223e/attachment-0001.html>
More information about the webkit-unassigned
mailing list