Closed
Bug 1443786
Opened 6 years ago
Closed 6 years ago
The Canvas tab crashed at call-watcher.js
Categories
(DevTools Graveyard :: Canvas Debugger, defect)
Tracking
(firefox61 verified)
VERIFIED
FIXED
Firefox 61
Tracking | Status | |
---|---|---|
firefox61 | --- | verified |
People
(Reporter: mmis1000, Assigned: genius091612)
References
()
Details
Attachments
(2 files, 1 obsolete file)
39.12 KB,
image/jpeg
|
Details | |
1.11 KB,
patch
|
jdescottes
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20180206200532 Steps to reproduce: 1. open dev tool 2. go to devtool setting 3. enable canvas debugging 4. go to canvas tab 5. reload and click on the record button Actual results: The devtool crashed due to `TypeError: methodSignatureEnums is not a function` at line resource://devtools/server/actors/call-watcher.js:168:34 Expected results: It should record the canvas render timestamps.
sorry, i misselect the security bug option. please just ture it into general bug
Updated•6 years ago
|
Group: firefox-core-security
Component: Untriaged → Developer Tools: Canvas Debugger
https://searchfox.org/mozilla-central/source/devtools/server/actors/call-watcher.js#171 We probably need to change this line to methodSignatureEnums = knownMethod.enums(args); Probably a good-first-bug.
Attachment #8958564 -
Flags: review?(jdescottes)
Updated•6 years ago
|
Assignee: nobody → genius091612
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 4•6 years ago
|
||
That's a great find! This line is never tested on our test harness: https://codecov.io/gh/marco-c/gecko-dev/src/master/devtools/server/actors/call-watcher.js#L171 This specific "if" branch seems to only be used when trying to debug WebGL contexts that call either texImage2D or texSubImage2D (which is the case on http://web.do.mmis1000.me/gl2/)
Comment 5•6 years ago
|
||
Comment on attachment 8958564 [details] [diff] [review] fixTypeError.patch Review of attachment 8958564 [details] [diff] [review]: ----------------------------------------------------------------- Looks good and fixes the issue, thanks for the patch Sean! Could we just update the commit message in order to mention that the is for the CanvasDebugger. For instance Bug 1443786 - Fix CanvasDebugger crash due to a TypeError. r=jdescottes ... or something similar.
Attachment #8958564 -
Flags: review?(jdescottes)
Attachment #8958564 -
Attachment is obsolete: true
Attachment #8958575 -
Flags: review?(jdescottes)
Hi Julian, I had updated the commit message, thanks for your review! Sean
Comment 8•6 years ago
|
||
Comment on attachment 8958575 [details] [diff] [review] fixTypeError.patch Review of attachment 8958575 [details] [diff] [review]: ----------------------------------------------------------------- Great! Thanks for quickly following up, looks good to me. As I mentioned earlier, the line you modified is not tested in our test suite, so no need to push this to our testing server. I will mark your changeset as checkin-needed. A sheriff will then pick it up and land it in one of our integration branches. After that, your fix will "ride" the trains and be released with Firefox 61. Thanks for your contribution, if you are looking for more DevTools bugs, check out http://bugs.firefox-dev.tools/?easy&tool=all :)
Attachment #8958575 -
Flags: review?(jdescottes) → review+
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by rgurzau@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/908e2f7071a4 Fix CanvasDebugger crash due to a TypeError. r=jdescottes
Keywords: checkin-needed
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/908e2f7071a4
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Comment 11•6 years ago
|
||
I have reproduced this bug with Nightly 60.0a1 (2018-03-07) on Windows 10 , 64 Bit ! This bug's fix is Verified with latest Nightly ! Build ID 20180317100337 User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 [bugday-20180314]
Comment 12•6 years ago
|
||
I have reproduced this bug with Nightly 61.0a1 (2018-03-13) on Ubuntu 16.04 LTS! This bug's fix is Verified with latest Nightly! Build ID 20180317111042 User Agent Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
QA Whiteboard: [bugday-20180314]
Comment 13•6 years ago
|
||
As par comment 11 & comment 12 i am marking this bug as verified fixed.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•