Closed Bug 1763586 Opened 3 years ago Closed 3 years ago

Remove Element from LoadScript.h

Categories

(DevTools :: Debugger, task, P3)

task

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: yulia, Assigned: yulia)

References

Details

Attachments

(5 files)

As of https://bugzilla.mozilla.org/show_bug.cgi?id=1751203, we have no more consumers of this data on the loadScript, so the debugger specific code can be removed.

Pushed by ystartsev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/365eff56ce0f Adjust ScriptFetchOptions to be more accurate; r=jonco https://hg.mozilla.org/integration/autoland/rev/3fc84237decb Remove Element from LoadScript and child classes; r=jonco https://hg.mozilla.org/integration/autoland/rev/02a961432a49 remove jit tests for source element behavior; r=jonco

Backed out 3 changesets (Bug 1763586) foar causing sm bustages.
Backout link
Push with failures
Failure Log
Jit-1proc Failure Log

Flags: needinfo?(ystartsev)
Pushed by ystartsev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e0294a6f9f9f Adjust ScriptFetchOptions to be more accurate; r=jonco https://hg.mozilla.org/integration/autoland/rev/ca0157c919a9 Remove Element from LoadScript and child classes; r=jonco https://hg.mozilla.org/integration/autoland/rev/f6b6ccfce3d1 remove jit tests for source element behavior; r=jonco
Flags: needinfo?(ystartsev)

Backed out for causing mochitest-chrome failures on test_Debugger.Source.prototype.element.html.

Push with failures

Failure log

Backout link

[task 2022-04-13T18:09:52.497Z] 18:09:52     INFO - TEST-START | devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html
[task 2022-04-13T18:09:52.499Z] 18:09:52     INFO - GECKO(1573) | [Parent 1573, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:180
[task 2022-04-13T18:09:52.499Z] 18:09:52     INFO - GECKO(1573) | [Parent 1573, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/security/nsCSPService.cpp:190
[task 2022-04-13T18:09:52.518Z] 18:09:52     INFO - GECKO(1573) | [Parent 1573, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1198
[task 2022-04-13T18:09:52.571Z] 18:09:52     INFO - GECKO(1573) | [Parent 1573, Main Thread] WARNING: NS_ENSURE_TRUE(presShell) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4145
[task 2022-04-13T18:09:52.581Z] 18:09:52     INFO - GECKO(1573) | [Parent 1573, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1198
[task 2022-04-13T18:09:52.613Z] 18:09:52     INFO - TEST-INFO | started process screencapture
[task 2022-04-13T18:09:52.698Z] 18:09:52     INFO - TEST-INFO | screencapture: exit 0
[task 2022-04-13T18:09:52.698Z] 18:09:52     INFO - Buffered messages logged at 18:09:52
[task 2022-04-13T18:09:52.699Z] 18:09:52     INFO - TEST-PASS | devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html | top frame is franz 
[task 2022-04-13T18:09:52.699Z] 18:09:52     INFO - Buffered messages finished
[task 2022-04-13T18:09:52.700Z] 18:09:52     INFO - TEST-UNEXPECTED-FAIL | devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html | top frame source belongs to element franz 
[task 2022-04-13T18:09:52.700Z] 18:09:52     INFO - SimpleTest.ok@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:417:16
[task 2022-04-13T18:09:52.700Z] 18:09:52     INFO - franzDebuggerHandler@chrome://mochitests/content/chrome/devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html:59:7
[task 2022-04-13T18:09:52.700Z] 18:09:52     INFO - franz@chrome://mochitests/content/chrome/devtools/server/tests/chrome/Debugger.Source.prototype.element.html:9:5
[task 2022-04-13T18:09:52.700Z] 18:09:52     INFO - heinrichFun@chrome://mochitests/content/chrome/devtools/server/tests/chrome/Debugger.Source.prototype.element.js:6:3
[task 2022-04-13T18:09:52.700Z] 18:09:52     INFO - onclick@chrome://mochitests/content/chrome/devtools/server/tests/chrome/Debugger.Source.prototype.element.html:1:1
[task 2022-04-13T18:09:52.700Z] 18:09:52     INFO - onLoadHandler@chrome://mochitests/content/chrome/devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html:51:33
[task 2022-04-13T18:09:52.701Z] 18:09:52     INFO - TEST-PASS | devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html | top frame source doesn't belong to an attribute 
[task 2022-04-13T18:09:52.701Z] 18:09:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-04-13T18:09:52.702Z] 18:09:52     INFO - TEST-UNEXPECTED-FAIL | devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html | second frame source belongs to element heinrich 
[task 2022-04-13T18:09:52.702Z] 18:09:52     INFO - SimpleTest.ok@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:417:16
[task 2022-04-13T18:09:52.702Z] 18:09:52     INFO - franzDebuggerHandler@chrome://mochitests/content/chrome/devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html:65:7
[task 2022-04-13T18:09:52.702Z] 18:09:52     INFO - franz@chrome://mochitests/content/chrome/devtools/server/tests/chrome/Debugger.Source.prototype.element.html:9:5
[task 2022-04-13T18:09:52.703Z] 18:09:52     INFO - heinrichFun@chrome://mochitests/content/chrome/devtools/server/tests/chrome/Debugger.Source.prototype.element.js:6:3
[task 2022-04-13T18:09:52.703Z] 18:09:52     INFO - onclick@chrome://mochitests/content/chrome/devtools/server/tests/chrome/Debugger.Source.prototype.element.html:1:1
[task 2022-04-13T18:09:52.703Z] 18:09:52     INFO - onLoadHandler@chrome://mochitests/content/chrome/devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html:51:33
[task 2022-04-13T18:09:52.703Z] 18:09:52     INFO - TEST-PASS | devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html | second frame source doesn't belong to an attribute 
[task 2022-04-13T18:09:52.703Z] 18:09:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-04-13T18:09:52.704Z] 18:09:52     INFO - TEST-UNEXPECTED-FAIL | devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html | third frame source belongs to element heidi 
[task 2022-04-13T18:09:52.705Z] 18:09:52     INFO - SimpleTest.ok@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:417:16
[task 2022-04-13T18:09:52.705Z] 18:09:52     INFO - franzDebuggerHandler@chrome://mochitests/content/chrome/devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html:71:7
[task 2022-04-13T18:09:52.705Z] 18:09:52     INFO - franz@chrome://mochitests/content/chrome/devtools/server/tests/chrome/Debugger.Source.prototype.element.html:9:5
[task 2022-04-13T18:09:52.705Z] 18:09:52     INFO - heinrichFun@chrome://mochitests/content/chrome/devtools/server/tests/chrome/Debugger.Source.prototype.element.js:6:3
[task 2022-04-13T18:09:52.705Z] 18:09:52     INFO - onclick@chrome://mochitests/content/chrome/devtools/server/tests/chrome/Debugger.Source.prototype.element.html:1:1
[task 2022-04-13T18:09:52.705Z] 18:09:52     INFO - onLoadHandler@chrome://mochitests/content/chrome/devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html:51:33
[task 2022-04-13T18:09:52.705Z] 18:09:52     INFO - TEST-PASS | devtools/server/tests/chrome/test_Debugger.Source.prototype.element.html | third frame source belongs to 'onclick' attribute 
<...>
Flags: needinfo?(ystartsev)
Pushed by ystartsev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68cd444d018e Adjust ScriptFetchOptions to be more accurate; r=jonco https://hg.mozilla.org/integration/autoland/rev/420105516ec3 Remove Element from LoadScript and child classes; r=jonco https://hg.mozilla.org/integration/autoland/rev/8f964a9e2f31 remove jit tests for source element behavior; r=jonco https://hg.mozilla.org/integration/autoland/rev/8da9574159d3 remove debugger tests for source element behavior; r=ochameau
Pushed by ystartsev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/47f3be428da1 Adjust ScriptFetchOptions to be more accurate; r=jonco https://hg.mozilla.org/integration/autoland/rev/bf91a2e0c4e5 Remove Element from LoadScript and child classes; r=jonco https://hg.mozilla.org/integration/autoland/rev/4bf4d7fff068 remove jit tests for source element behavior; r=jonco https://hg.mozilla.org/integration/autoland/rev/d59220cc1142 remove debugger tests for source element behavior; r=ochameau
Flags: needinfo?(ystartsev)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: