Open Bug 1609825 Opened 4 years ago Updated 3 years ago

Make about:memory an HTML file

Categories

(Toolkit :: General, task, P5)

task

Tracking

()

People

(Reporter: ntim, Assigned: emilghitta)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Priority: -- → P3
Assignee: nobody → emil.ghitta
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/1fa5a2877746
Make about:memory and HTML file.r=Gijs

Backed out changeset 1fa5a2877746 (Bug 1609825) for aboutmemory related failures

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&searchStr=os%2Cx%2C10.14%2Cdebug%2Cmochitests%2Cwithout%2Ce10s%2Ctest-macosx1014-64%2Fdebug-mochitest-chrome-1proc-2%2Cm-1proc%28c2%29&fromchange=5ed69b726d1495b1017f1de6ea14928346d1f5b8&tochange=aca7870ec9360ec8062b3300aea1dfd70a2b1652&selectedJob=292455819

Backout link: https://hg.mozilla.org/integration/autoland/rev/aca7870ec9360ec8062b3300aea1dfd70a2b1652

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=292455819&repo=autoland&lineNumber=10316

[task 2020-03-10T13:36:29.564Z] 13:36:29     INFO - TEST-START | toolkit/components/aboutmemory/tests/test_aboutmemory2.xhtml
[task 2020-03-10T13:36:29.809Z] 13:36:29     INFO - TEST-INFO | started process screencapture
[task 2020-03-10T13:36:29.955Z] 13:36:29     INFO - TEST-INFO | screencapture: exit 0
[task 2020-03-10T13:36:29.955Z] 13:36:29     INFO - Buffered messages logged at 13:36:29
[task 2020-03-10T13:36:29.955Z] 13:36:29     INFO - must wait for load
[task 2020-03-10T13:36:29.955Z] 13:36:29     INFO - Buffered messages finished
[task 2020-03-10T13:36:29.956Z] 13:36:29     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/aboutmemory/tests/test_aboutmemory2.xhtml | uncaught exception - TypeError: node.childNodes[0].click is not a function at test@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory2.xhtml:96:28
[task 2020-03-10T13:36:29.956Z] 13:36:29     INFO - chain/<@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory2.xhtml:137:31
[task 2020-03-10T13:36:29.956Z] 13:36:29     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-03-10T13:36:29.956Z] 13:36:29     INFO - 
[task 2020-03-10T13:36:29.956Z] 13:36:29     INFO - simpletestOnerror@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1950:18
[task 2020-03-10T13:36:29.956Z] 13:36:29     INFO - OnErrorEventHandlerNonNull*@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1925:1
[task 2020-03-10T13:36:29.956Z] 13:36:29     INFO - GECKO(2108) | JavaScript error: chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory2.xhtml, line 96: TypeError: node.childNodes[0].click is not a function
[task 2020-03-10T13:36:29.956Z] 13:36:29     INFO - GECKO(2108) | MEMORY STAT | vsize 7604MB | residentFast 370MB | heapAllocated 150MB
[task 2020-03-10T13:36:29.956Z] 13:36:29     INFO - TEST-OK | toolkit/components/aboutmemory/tests/test_aboutmemory2.xhtml | took 281ms
[task 2020-03-10T13:36:29.957Z] 13:36:29     INFO - TEST-START | toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml
[task 2020-03-10T13:36:30.048Z] 13:36:30     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-03-10T13:36:30.049Z] 13:36:30     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml | uncaught exception - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMemoryReporterManager.blockRegistrationAndHideExistingReporters] at @chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:23:7
[task 2020-03-10T13:36:30.049Z] 13:36:30     INFO - 
[task 2020-03-10T13:36:30.049Z] 13:36:30     INFO - simpletestOnerror@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1950:18
[task 2020-03-10T13:36:30.049Z] 13:36:30     INFO - OnErrorEventHandlerNonNull*@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1925:1
[task 2020-03-10T13:36:30.049Z] 13:36:30     INFO - GECKO(2108) | JavaScript error: chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml, line 23: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMemoryReporterManager.blockRegistrationAndHideExistingReporters]
[task 2020-03-10T13:36:30.049Z] 13:36:30     INFO - must wait for load
[task 2020-03-10T13:36:30.214Z] 13:36:30     INFO - GECKO(2108) | [2108, DOM File] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80470002: file /builds/worker/checkouts/gecko/netwerk/base/nsFileStreams.cpp, line 82
[task 2020-03-10T13:36:30.214Z] 13:36:30     INFO - GECKO(2108) | [2108, DOM File] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80470002: file /builds/worker/checkouts/gecko/netwerk/base/nsFileStreams.cpp, line 82
[task 2020-03-10T13:36:30.427Z] 13:36:30     INFO - TEST-PASS | toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml | Clipboard has the expected contents 
[task 2020-03-10T13:36:30.488Z] 13:36:30     INFO - GECKO(2108) | [2108, DOM File] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80470002: file /builds/worker/checkouts/gecko/netwerk/base/nsFileStreams.cpp, line 82
[task 2020-03-10T13:36:30.488Z] 13:36:30     INFO - GECKO(2108) | [2108, DOM File] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80470002: file /builds/worker/checkouts/gecko/netwerk/base/nsFileStreams.cpp, line 82
[task 2020-03-10T13:36:30.605Z] 13:36:30     INFO - TEST-PASS | toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml | Clipboard has the expected contents 
[task 2020-03-10T13:36:36.665Z] 13:36:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml | pasted text doesn't match 
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - SimpleTest.ok@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:299:16
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:112:15
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.666Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - copyPasteAndCheck@chrome://mochitests/content/chrome/toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml:120:23
[task 2020-03-10T13:36:36.667Z] 13:36:36     INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
...
Flags: needinfo?(emil.ghitta)

HTML has a different whitespace parsing model than XHTML, and so the patch will need updating so that both tests and aboutmemory.js (and any other scripts) deal with this correctly.

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:emilghitta, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(emil.ghitta)
Severity: normal → N/A
Priority: P3 → P5
Flags: needinfo?(emil.ghitta)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: