Allow resizing the area selected by measuring tool via mouse
Categories
(DevTools :: Inspector, enhancement, P5)
Tracking
(firefox40 wontfix, firefox75 verified)
People
(Reporter: zer0, Assigned: sebo)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-complete)
Attachments
(5 files, 4 obsolete files)
19.50 KB,
patch
|
zer0
:
review-
zer0
:
feedback+
|
Details | Diff | Splinter Review |
9.39 KB,
patch
|
zer0
:
review+
|
Details | Diff | Splinter Review |
3.99 KB,
patch
|
zer0
:
review-
|
Details | Diff | Splinter Review |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Reporter | ||
Updated•10 years ago
|
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 3•8 years ago
|
||
Reporter | ||
Comment 4•8 years ago
|
||
Assignee | ||
Comment 5•8 years ago
|
||
Assignee | ||
Comment 6•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 7•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 8•8 years ago
|
||
Reporter | ||
Comment 9•8 years ago
|
||
Reporter | ||
Comment 10•8 years ago
|
||
Reporter | ||
Comment 11•8 years ago
|
||
Reporter | ||
Comment 12•8 years ago
|
||
Reporter | ||
Comment 13•8 years ago
|
||
Assignee | ||
Comment 14•8 years ago
|
||
Updated•7 years ago
|
Comment 15•6 years ago
|
||
Hey Sebastian, should I reset the assignee flag on this bug, or are you still interested in reviving the work done so far?
Assignee | ||
Comment 16•6 years ago
|
||
Hi Patrick, thanks for asking!
Actually, after letting this bug rest for a very long time, I picked up the work again lately and plan to push an updated patch soon.
Sebastian
Assignee | ||
Comment 17•5 years ago
|
||
Assignee | ||
Comment 18•5 years ago
|
||
Assignee | ||
Comment 19•5 years ago
•
|
||
Sorry Gabriel, I accidentally pushed the (finally) updated patch twice to Phabricator and I don't see any option to remove one of them.
I've addressed all the issues Matteo previously mentioned. The only thing I though would better be done separately is extending the toggle()
function. Therefore I have filed bug 1597046.
Sebastian
Updated•5 years ago
|
Assignee | ||
Comment 20•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 21•5 years ago
|
||
Assignee | ||
Comment 22•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 23•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 24•5 years ago
|
||
Hi Patrick! I am wondering what's holding the changes up. One last thing I wanted to mention again the toggle()
function you mentioned at https://phabricator.services.mozilla.com/D55560#anchor-inline-338888. For that there's a pending patch in bug 1597046.
If we want to include that change, please have a look at that one first and I'll update my patch accordingly once it's merged.
Sebastian
Comment 25•5 years ago
|
||
Hi Sebastian. Nothing seems to be holding up the changes here. I accepted the code changes and they should be ready to land. Forgive me for not following up on this set of patches, I guess they fell out of my radar.
I'll attempt to land them to autoland today.
Comment 26•5 years ago
|
||
Comment 27•5 years ago
|
||
Comment 28•5 years ago
|
||
Backed out 2 changesets (Bug 1152321) for failures on browser_inspector_highlighter-measure*
Backout link: https://hg.mozilla.org/integration/autoland/rev/b5044c454dfc6eb8183c272bd1a6444c72a71738
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=287419256&repo=autoland&lineNumber=7801
[task 2020-02-04T08:51:01.448Z] 08:51:01 INFO - TEST-START | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js
[task 2020-02-04T08:51:01.448Z] 08:51:01 INFO - GECKO(1900) | [Child 1927: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x11394d000 == 1 [pid = 1927] [id = {7048b85f-4b10-2d45-be07-82db2be98d74}]
[task 2020-02-04T08:51:01.448Z] 08:51:01 INFO - GECKO(1900) | [Child 1927: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x142b24200) [pid = 1927] [serial = 145] [outer = 0x0]
[task 2020-02-04T08:51:01.449Z] 08:51:01 INFO - GECKO(1900) | [Child 1927, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/workspace/build/src/layout/base/nsPresContext.cpp, line 845
[task 2020-02-04T08:51:01.449Z] 08:51:01 INFO - GECKO(1900) | [Child 1927: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x102a28000) [pid = 1927] [serial = 146] [outer = 0x142b24200]
[task 2020-02-04T08:51:01.521Z] 08:51:01 INFO - GECKO(1900) | [Child 1927, Main Thread] WARNING: Trying to request nsIHttpChannel from DocumentChannel, this is likely broken: file /builds/worker/workspace/build/src/netwerk/ipc/DocumentChannel.cpp, line 63
[task 2020-02-04T08:51:01.521Z] 08:51:01 INFO - GECKO(1900) | [Child 1927: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x141738c00) [pid = 1927] [serial = 147] [outer = 0x142b24200]
[task 2020-02-04T08:51:01.648Z] 08:51:01 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x121bb0000 == 19 [pid = 1900] [id = {269e5233-9979-7740-b38b-ef5acf0ad438}]
[task 2020-02-04T08:51:01.648Z] 08:51:01 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 46 (0x10c0f1a60) [pid = 1900] [serial = 638] [outer = 0x0]
[task 2020-02-04T08:51:01.648Z] 08:51:01 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 47 (0x12495e400) [pid = 1900] [serial = 639] [outer = 0x10c0f1a60]
[task 2020-02-04T08:51:01.688Z] 08:51:01 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 48 (0x126280800) [pid = 1900] [serial = 640] [outer = 0x10c0f1a60]
[task 2020-02-04T08:51:01.754Z] 08:51:01 INFO - GECKO(1900) | [Parent 1900, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/workspace/build/src/dom/base/nsContentUtils.cpp, line 3802
[task 2020-02-04T08:51:01.754Z] 08:51:01 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x151d2b800 == 18 [pid = 1900] [id = {9c717270-53dd-7741-8f48-023bfdfb6aa1}] [url = chrome://devtools/content/inspector/markup/markup.xhtml]
[task 2020-02-04T08:51:01.897Z] 08:51:01 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x105578000 == 19 [pid = 1900] [id = {1a9341db-80a3-c64c-8388-56fef1a1b203}]
[task 2020-02-04T08:51:01.897Z] 08:51:01 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 49 (0x12088dd40) [pid = 1900] [serial = 641] [outer = 0x0]
[task 2020-02-04T08:51:01.897Z] 08:51:01 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 50 (0x126282800) [pid = 1900] [serial = 642] [outer = 0x12088dd40]
[task 2020-02-04T08:51:02.341Z] 08:51:02 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x126f09800 == 20 [pid = 1900] [id = {4544f589-4dbf-0440-b9d2-dcd6c3be653b}]
[task 2020-02-04T08:51:02.341Z] 08:51:02 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 51 (0x1292da980) [pid = 1900] [serial = 643] [outer = 0x0]
[task 2020-02-04T08:51:02.341Z] 08:51:02 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 52 (0x15a12c400) [pid = 1900] [serial = 644] [outer = 0x1292da980]
[task 2020-02-04T08:51:02.357Z] 08:51:02 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x126f0d000 == 21 [pid = 1900] [id = {360df9b2-0082-9441-a445-2fac62359ff5}]
[task 2020-02-04T08:51:02.357Z] 08:51:02 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 53 (0x1208ad3e0) [pid = 1900] [serial = 645] [outer = 0x0]
[task 2020-02-04T08:51:02.585Z] 08:51:02 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 54 (0x151b33400) [pid = 1900] [serial = 646] [outer = 0x1208ad3e0]
[task 2020-02-04T08:51:02.810Z] 08:51:02 INFO - GECKO(1900) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2020-02-04T08:51:02.810Z] 08:51:02 INFO - GECKO(1900) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2020-02-04T08:51:02.851Z] 08:51:02 INFO - GECKO(1900) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2020-02-04T08:51:02.851Z] 08:51:02 INFO - GECKO(1900) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2020-02-04T08:51:02.988Z] 08:51:02 INFO - GECKO(1900) | console.error: "Error while calling actor 'testActor's method 'getHighlighterAttribute'" ""
[task 2020-02-04T08:51:02.988Z] 08:51:02 INFO - GECKO(1900) | console.error: "getAttributeForElement@resource://devtools/server/actors/highlighters/utils/markup.js:365:41\ngetHighlighterAttribute@chrome://mochitests/content/browser/devtools/client/shared/test/test-actor.js:382:21\nhandler@resource://devtools/shared/protocol/Actor.js:154:37\nonPacket@resource://devtools/server/debugger-server-connection.js:380:58\nreceiveMessage@resource://devtools/shared/transport/child-transport.js:66:16\nMessageListener.receiveMessage*_addListener@resource://devtools/shared/transport/child-transport.js:40:14\nready@resource://devtools/shared/transport/child-transport.js:57:10\n_onConnection@resource://devtools/server/debugger-server.js:463:15\nconnectToParent@resource://devtools/server/debugger-server.js:337:17\nonConnect<@resource://devtools/server/startup/frame.js:62:35\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22\nMessageListener.receiveMessage*@resource://devtools/server/startup/frame.js:95:23\n@resource://devtools/server/startup/frame.js:177:5\n"
[task 2020-02-04T08:51:02.988Z] 08:51:02 INFO - TEST-INFO | started process screencapture
[task 2020-02-04T08:51:03.151Z] 08:51:03 INFO - TEST-INFO | screencapture: exit 0
[task 2020-02-04T08:51:03.151Z] 08:51:03 INFO - Buffered messages logged at 08:51:01
[task 2020-02-04T08:51:03.151Z] 08:51:03 INFO - Entering test bound
[task 2020-02-04T08:51:03.151Z] 08:51:03 INFO - Adding a new tab with URL: data:text/html;charset=utf-8,
[task 2020-02-04T08:51:03.151Z] 08:51:03 INFO - <div style='
[task 2020-02-04T08:51:03.151Z] 08:51:03 INFO - position:absolute;
[task 2020-02-04T08:51:03.151Z] 08:51:03 INFO - left: 0;
[task 2020-02-04T08:51:03.151Z] 08:51:03 INFO - top: 0;
[task 2020-02-04T08:51:03.152Z] 08:51:03 INFO - width: 40000px;
[task 2020-02-04T08:51:03.152Z] 08:51:03 INFO - height: 8000px'>
[task 2020-02-04T08:51:03.152Z] 08:51:03 INFO - </div>
[task 2020-02-04T08:51:03.152Z] 08:51:03 INFO - Tab added and finished loading
[task 2020-02-04T08:51:03.152Z] 08:51:03 INFO - Opening the inspector
[task 2020-02-04T08:51:03.152Z] 08:51:03 INFO - Opening the toolbox
[task 2020-02-04T08:51:03.152Z] 08:51:03 INFO - Buffered messages logged at 08:51:02
[task 2020-02-04T08:51:03.152Z] 08:51:03 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T08:51:03.153Z] 08:51:03 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T08:51:03.153Z] 08:51:03 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T08:51:03.153Z] 08:51:03 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T08:51:03.153Z] 08:51:03 INFO - Toolbox opened and focused
[task 2020-02-04T08:51:03.153Z] 08:51:03 INFO - Checking the highlighter is hidden by default
[task 2020-02-04T08:51:03.153Z] 08:51:03 INFO - Buffered messages finished
[task 2020-02-04T08:51:03.153Z] 08:51:03 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js | Uncaught exception - at resource://devtools/shared/protocol/Front.js:276 - Error: unknownError
[task 2020-02-04T08:51:03.153Z] 08:51:03 INFO - Stack trace:
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - onPacket/<@resource://devtools/shared/protocol/Front.js:276:31
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - DevTools RDPrequest@resource://devtools/shared/protocol/Front.js:214:14
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:49:19
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - getHighlighterNodeAttribute@chrome://mochitests/content/browser/devtools/client/shared/test/test-actor.js:892:17
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - isElementHidden@chrome://mochitests/content/browser/devtools/client/inspector/test/head.js:572:28
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - isHiddenByDefault@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js:41:22
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - @chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js:31:9
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - AsyncTester_execTest/<@chrome://mochikit/content/browser-test.js:1062:34
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1097:11
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:925:14
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:808:67
[task 2020-02-04T08:51:03.154Z] 08:51:03 INFO - Leaving test bound
...
[task 2020-02-04T08:51:05.466Z] 08:51:05 INFO - TEST-START | devtools/client/inspector/test/browser_inspector_highlighter-measure_02.js
[task 2020-02-04T08:51:05.509Z] 08:51:05 INFO - GECKO(1900) | [Child 1927: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x14176b800 == 2 [pid = 1927] [id = {82d66261-2842-c242-a0e8-5097ba9adef7}]
[task 2020-02-04T08:51:05.509Z] 08:51:05 INFO - GECKO(1900) | [Child 1927: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x142b24980) [pid = 1927] [serial = 148] [outer = 0x0]
[task 2020-02-04T08:51:05.509Z] 08:51:05 INFO - GECKO(1900) | [Child 1927, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/workspace/build/src/layout/base/nsPresContext.cpp, line 845
[task 2020-02-04T08:51:05.510Z] 08:51:05 INFO - GECKO(1900) | [Child 1927: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x113bf1400) [pid = 1927] [serial = 149] [outer = 0x142b24980]
[task 2020-02-04T08:51:05.552Z] 08:51:05 INFO - GECKO(1900) | [Child 1927, Main Thread] WARNING: Trying to request nsIHttpChannel from DocumentChannel, this is likely broken: file /builds/worker/workspace/build/src/netwerk/ipc/DocumentChannel.cpp, line 63
[task 2020-02-04T08:51:05.552Z] 08:51:05 INFO - GECKO(1900) | [Child 1927: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (0x14342a400) [pid = 1927] [serial = 150] [outer = 0x142b24980]
[task 2020-02-04T08:51:05.652Z] 08:51:05 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x12085c000 == 15 [pid = 1900] [id = {f68bac80-afb9-c147-9c46-01e499f39099}]
[task 2020-02-04T08:51:05.659Z] 08:51:05 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 49 (0x10c0f1c40) [pid = 1900] [serial = 647] [outer = 0x0]
[task 2020-02-04T08:51:05.659Z] 08:51:05 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 50 (0x125cbf000) [pid = 1900] [serial = 648] [outer = 0x10c0f1c40]
[task 2020-02-04T08:51:05.674Z] 08:51:05 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 51 (0x12101b000) [pid = 1900] [serial = 649] [outer = 0x10c0f1c40]
[task 2020-02-04T08:51:05.801Z] 08:51:05 INFO - GECKO(1900) | [Parent 1900, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/workspace/build/src/dom/base/nsContentUtils.cpp, line 3802
[task 2020-02-04T08:51:05.902Z] 08:51:05 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x105577800 == 16 [pid = 1900] [id = {c0384060-5208-b54d-a90c-2678fd04c1b0}]
[task 2020-02-04T08:51:05.902Z] 08:51:05 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 52 (0x12088df20) [pid = 1900] [serial = 650] [outer = 0x0]
[task 2020-02-04T08:51:05.902Z] 08:51:05 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 53 (0x12794b800) [pid = 1900] [serial = 651] [outer = 0x12088df20]
[task 2020-02-04T08:51:06.301Z] 08:51:06 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x15a812000 == 17 [pid = 1900] [id = {6d555490-5391-304c-bc41-8e36d5030fd9}]
[task 2020-02-04T08:51:06.301Z] 08:51:06 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 54 (0x152e49d40) [pid = 1900] [serial = 652] [outer = 0x0]
[task 2020-02-04T08:51:06.301Z] 08:51:06 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 55 (0x1277a6800) [pid = 1900] [serial = 653] [outer = 0x152e49d40]
[task 2020-02-04T08:51:06.325Z] 08:51:06 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x15a813800 == 18 [pid = 1900] [id = {0bafd243-b6e8-be41-847c-b35a067e52d8}]
[task 2020-02-04T08:51:06.326Z] 08:51:06 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 56 (0x1208aee20) [pid = 1900] [serial = 654] [outer = 0x0]
[task 2020-02-04T08:51:06.526Z] 08:51:06 INFO - GECKO(1900) | [Parent 1900: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 57 (0x1277ad400) [pid = 1900] [serial = 655] [outer = 0x1208aee20]
[task 2020-02-04T08:51:06.776Z] 08:51:06 INFO - GECKO(1900) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2020-02-04T08:51:06.776Z] 08:51:06 INFO - GECKO(1900) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2020-02-04T08:51:06.776Z] 08:51:06 INFO - GECKO(1900) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2020-02-04T08:51:06.776Z] 08:51:06 INFO - GECKO(1900) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2020-02-04T08:51:06.898Z] 08:51:06 INFO - GECKO(1900) | console.error: "Error while calling actor 'testActor's method 'getHighlighterAttribute'" ""
[task 2020-02-04T08:51:06.898Z] 08:51:06 INFO - GECKO(1900) | console.error: "getAttributeForElement@resource://devtools/server/actors/highlighters/utils/markup.js:365:41\ngetHighlighterAttribute@chrome://mochitests/content/browser/devtools/client/shared/test/test-actor.js:382:21\nhandler@resource://devtools/shared/protocol/Actor.js:154:37\nonPacket@resource://devtools/server/debugger-server-connection.js:380:58\nreceiveMessage@resource://devtools/shared/transport/child-transport.js:66:16\nMessageListener.receiveMessage*_addListener@resource://devtools/shared/transport/child-transport.js:40:14\nready@resource://devtools/shared/transport/child-transport.js:57:10\n_onConnection@resource://devtools/server/debugger-server.js:463:15\nconnectToParent@resource://devtools/server/debugger-server.js:337:17\nonConnect<@resource://devtools/server/startup/frame.js:62:35\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22\nMessageListener.receiveMessage*@resource://devtools/server/startup/frame.js:95:23\n@resource://devtools/server/startup/frame.js:177:5\n"
[task 2020-02-04T08:51:06.898Z] 08:51:06 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - Buffered messages logged at 08:51:05
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - Entering test bound
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - Adding a new tab with URL: data:text/html;charset=utf-8,
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - <div style='
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - position:absolute;
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - left: 0;
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - top: 0;
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - width: 40000px;
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - height: 8000px'>
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - </div>
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - Tab added and finished loading
[task 2020-02-04T08:51:06.899Z] 08:51:06 INFO - Opening the inspector
[task 2020-02-04T08:51:06.903Z] 08:51:06 INFO - Opening the toolbox
[task 2020-02-04T08:51:06.904Z] 08:51:06 INFO - Buffered messages logged at 08:51:06
[task 2020-02-04T08:51:06.904Z] 08:51:06 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T08:51:06.904Z] 08:51:06 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T08:51:06.904Z] 08:51:06 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T08:51:06.904Z] 08:51:06 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T08:51:06.904Z] 08:51:06 INFO - Toolbox opened and focused
[task 2020-02-04T08:51:06.904Z] 08:51:06 INFO - Checking highlighter has no labels when we start to select
[task 2020-02-04T08:51:06.904Z] 08:51:06 INFO - Buffered messages finished
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_highlighter-measure_02.js | Uncaught exception - at resource://devtools/shared/protocol/Front.js:276 - Error: unknownError
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - Stack trace:
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - onPacket/<@resource://devtools/shared/protocol/Front.js:276:31
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - DevTools RDPrequest@resource://devtools/shared/protocol/Front.js:214:14
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:49:19
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - getHighlighterNodeAttribute@chrome://mochitests/content/browser/devtools/client/shared/test/test-actor.js:892:17
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - isElementHidden@chrome://mochitests/content/browser/devtools/client/inspector/test/head.js:572:28
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - hasNoLabelsWhenStarts@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-measure_02.js:57:22
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - async@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-measure_02.js:38:9
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1062:34
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1097:11
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:925:14
[task 2020-02-04T08:51:06.906Z] 08:51:06 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:808:67
[task 2020-02-04T08:51:06.907Z] 08:51:06 INFO - Leaving test bound
Comment 29•5 years ago
|
||
Also seeing a different type of failure for the same tests:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=287423749&repo=autoland&lineNumber=15308
task 2020-02-04T10:35:45.656Z] 10:35:45 INFO - Tab added and finished loading
[task 2020-02-04T10:35:45.657Z] 10:35:45 INFO - Opening the inspector
[task 2020-02-04T10:35:45.657Z] 10:35:45 INFO - Opening the toolbox
[task 2020-02-04T10:35:45.659Z] 10:35:45 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T10:35:45.660Z] 10:35:45 INFO - Buffered messages logged at 10:35:45
[task 2020-02-04T10:35:45.660Z] 10:35:45 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T10:35:45.660Z] 10:35:45 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T10:35:45.661Z] 10:35:45 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-04T10:35:45.661Z] 10:35:45 INFO - Toolbox opened and focused
[task 2020-02-04T10:35:45.661Z] 10:35:45 INFO - Checking the highlighter is hidden by default
[task 2020-02-04T10:35:45.663Z] 10:35:45 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js | highlighter's root is hidden by default -
[task 2020-02-04T10:35:45.663Z] 10:35:45 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js | highlighter's label size is hidden by default -
[task 2020-02-04T10:35:45.663Z] 10:35:45 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js | highlighter's label position is hidden by default -
[task 2020-02-04T10:35:45.663Z] 10:35:45 INFO - Checking the highlighter is displayed when asked
[task 2020-02-04T10:35:45.664Z] 10:35:45 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js | highlighter is visible after show -
[task 2020-02-04T10:35:45.664Z] 10:35:45 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js | label's size still hidden -
[task 2020-02-04T10:35:45.664Z] 10:35:45 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js | label's position still hidden -
[task 2020-02-04T10:35:45.664Z] 10:35:45 INFO - Checking labels are properly displayed when mouse moved
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - Buffered messages finished
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js | label's position is displayed after the mouse is moved - Got true, expected false
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - Stack trace:
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js:areLabelsProperlyDisplayedWhenMouseMoved:81
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js:null:33
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:925
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:808
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js | label's size still hidden -
[task 2020-02-04T10:35:45.665Z] 10:35:45 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js | label's position shows the proper X coord - Got 0, expected 32
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - Stack trace:
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js:areLabelsProperlyDisplayedWhenMouseMoved:90
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js:null:33
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:925
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:808
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js | label's position shows the proper Y coord - Got 0, expected 20
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - Stack trace:
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js:areLabelsProperlyDisplayedWhenMouseMoved:91
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_highlighter-measure_01.js:null:33
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2020-02-04T10:35:45.666Z] 10:35:45 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:925
[task 2020-02-04T10:35:45.667Z] 10:35:45 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:808
[task 2020-02-04T10:35:45.667Z] 10:35:45 INFO - Leaving test bound
[task 2020-02-04T10:35:46.034Z] 10:35:46 INFO - GECKO(3520) | [Child 1100: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0F9B4C00) [pid = 1100] [serial = 200] [outer = 00000000] [url = http://example.com/browser/devtools/client/inspector/test/doc_inspector_highlighter_dom.html]
[task 2020-02-04T10:35:46.114Z] 10:35:46 INFO - GECKO(3520) | [Child 1100: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0CFEF5E0) [pid = 1100] [serial = 201] [outer = 00000000] [url = data:text/html;charset=utf8,<div></div>]
[task 2020-02-04T10:35:47.081Z] 10:35:47 INFO - GECKO(3520) | [Parent 1456: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 41 (18D87000) [pid = 1456] [serial = 607] [outer = 00000000] [url = about:blank]
[task 2020-02-04T10:35:47.081Z] 10:35:47 INFO - GECKO(3520) | [Parent 1456: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 40 (1F2AD400) [pid = 1456] [serial = 599] [outer = 00000000] [url = about:blank]
[task 2020-02-04T10:35:47.081Z] 10:35:47 INFO - GECKO(3520) | [Parent 1456: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0EF78800 == 14 [pid = 1456] [id = {12b8062d-9896-4c1b-a651-228eb0f3e25d}] [url = chrome://devtools/content/framework/toolbox-window.xhtml]
[task 2020-02-04T10:35:47.081Z] 10:35:47 INFO - GECKO(3520) | [Parent 1456: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 150B1400 == 13 [pid = 1456] [id = {956cec4e-d2d0-413b-8181-ef5fd8ec0ed8}] [url = chrome://devtools/content/inspector/index.xhtml]
[task 2020-02-04T10:35:47.161Z] 10:35:47 INFO - Removing tab.
Assignee | ||
Comment 30•5 years ago
|
||
Thank you for the Feedback, Bogdan! I will look into this.
Sebastian
Assignee | ||
Comment 31•5 years ago
|
||
Took me quite some time again, but I've now fixed the issues. (At least for me all tests pass now for me.) Patrick, could you please push the changes to autoland again? Merci beaucoup! :-)
Sebastian
Assignee | ||
Updated•5 years ago
|
Comment 32•5 years ago
|
||
Comment 33•5 years ago
|
||
The tests all seemed to pass fine for me locally too. So I'm proceeding to land the 2 revisions again.
Comment 34•5 years ago
|
||
Comment 35•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2cc94bf532f8
https://hg.mozilla.org/mozilla-central/rev/b209e3e3268b
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 36•5 years ago
|
||
I've added a note for this feature in https://wiki.developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/75 and updated the description in https://wiki.developer.mozilla.org/en-US/docs/Tools/Measure_a_portion_of_the_page.
Sebastian
Comment 37•5 years ago
|
||
Verified with 75.0a1 (2020-03-01), 73.0.1 on Windows 10; 75.0a1 (2020-03-01) on Ubuntu 19.04 and macOS 10.15.
Updated•4 years ago
|
Description
•