Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[wasm] Bump chrome for testing - linux: 120.0.6099.71, windows: 120.0.6099.71#95832

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
radical merged 2 commits intomainfromupdate-chrome-version-7154287706
Dec 13, 2023

Conversation

@github-actions
Copy link
Contributor

No description provided.

@ghost
Copy link

Tagging subscribers to 'arch-wasm':@lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author:github-actions[bot]
Assignees:-
Labels:

arch-wasm,area-Infrastructure-mono

Milestone:-

@radical
Copy link
Member

Cc@thaystg@ilonatommy debugger test failures

@ilonatommy
Copy link
Member

ilonatommy commentedDec 11, 2023
edited by radical
Loading

It seems objectId changed format. Now the test is sendingRuntime.callFunctionOn with
args=

{"functionDeclaration":"function(){const e={__proto__:this.__proto__},t=Object.getOwnPropertyNames(this);for(let r=0;r<t.length;++r){const n=t[r],i=n>>>0;if(String(i>>>0)===n&&i>>>0!=4294967295)continue;const a=Object.getOwnPropertyDescriptor(this,n);a&&Object.defineProperty(e,n,a)}return e}","objectId":"7794664587706423672.1.8"}

soobjectId=7794664587706423672.1.8. It should not be a hard fix.

edit: they can be negative as well, another example:-431145733616042063.1.8

@radical
Copy link
Member

soobjectId=7794664587706423672.1.8. It should not be a hard fix.

edit: they can be negative as well, another example:-431145733616042063.1.8

That sounds like some error/failure caused this weird id?

@radical
Copy link
Member

DebuggerTests.CallFunctionOnTests.CheckVSCodeTestFunction1:

 Expected: Array(10) Actual:   Array  Expected: {   "type": "object",   "className": "Array",   "description": "Array(10)",   "subtype": "array" }  Actual: {   "type": "object",   "className": "Array",   "description": "Array",   "objectId": "5084384295708308525.1.9" }

@ilonatommy
Copy link
Member

It's not an error, the quoted structure comes fromvar pause_location = await insp.WaitFor(Inspector.PAUSE);
We are breakpointing in JS code, so Proxy is only passing the message from chrome, without modifications. The message contains this new IDs:

{  "callFrames": [    {      "callFrameId": "6735255319753501795.1.0",      "functionName": "big_array_js_test",      "functionLocation": {        "scriptId": "5",        "lineNumber": 5,        "columnNumber": 27      },      "location": {        "scriptId": "5",        "lineNumber": 10,        "columnNumber": 1      },      "url": "",      "scopeChain": [        {          "type": "local",          "object": {            "type": "object",            "className": "Object",            "description": "Object",            "objectId": "6735255319753501795.1.3"          },          "name": "big_array_js_test",          "startLocation": {            "scriptId": "5",            "lineNumber": 5,            "columnNumber": 27          },          "endLocation": {            "scriptId": "5",            "lineNumber": 11,            "columnNumber": 1          }        },        {          "type": "global",          "object": {            "type": "object",            "className": "Window",            "description": "Window",            "objectId": "6735255319753501795.1.4"          }        }      ],      "this": {        "type": "undefined"      },      "canBeRestarted": true    },    {      "callFrameId": "6735255319753501795.1.1",      "functionName": "",      "functionLocation": {        "scriptId": "238",        "lineNumber": 0,        "columnNumber": 26      },      "location": {        "scriptId": "238",        "lineNumber": 0,        "columnNumber": 31      },      "url": "",      "scopeChain": [        {          "type": "local",          "object": {            "type": "object",            "className": "Object",            "description": "Object",            "objectId": "6735255319753501795.1.5"          },          "startLocation": {            "scriptId": "238",            "lineNumber": 0,            "columnNumber": 26          },          "endLocation": {            "scriptId": "238",            "lineNumber": 0,            "columnNumber": 56          }        },        {          "type": "global",          "object": {            "type": "object",            "className": "Window",            "description": "Window",            "objectId": "6735255319753501795.1.6"          }        }      ],      "this": {        "type": "object",        "className": "Window",        "description": "Window",        "objectId": "6735255319753501795.1.7"      },      "canBeRestarted": true    }  ],  "reason": "other",  "hitBreakpoints": [    "1:10:1:http://localhost:9400/other.js"  ],  "asyncStackTrace": {    "description": "setTimeout",    "callFrames": [      {        "functionName": "",        "scriptId": "238",        "url": "",        "lineNumber": 0,        "columnNumber": 7      }    ]  },  "sessionId": null}

We can fix it and keep fixing it each time the protocol changes on next updates.

@radical
Copy link
Member

The failure is not due to the objectId though. I was pointing to that as a possible clue. The failure is:

Expected: Array(10)Actual:   Array

@radical
Copy link
Member

Taking a look at the failure.

@radical
Copy link
Member

Disabling the test, and opened#95950 .

@radical
Copy link
Member

Failure is a known issue.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@radicalradicalradical approved these changes

@ilonatommyilonatommyAwaiting requested review from ilonatommy

@lewinglewingAwaiting requested review from lewinglewing is a code owner

@marafmarafAwaiting requested review from maraf

@pavelsavarapavelsavaraAwaiting requested review from pavelsavarapavelsavara is a code owner

@thaystgthaystgAwaiting requested review from thaystg

Assignees

No one assigned

Labels

arch-wasmWebAssembly architecturearea-Infrastructure-mono

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@radical@ilonatommy

[8]ページ先頭

©2009-2025 Movatter.jp