Closed Bug 1407945 Opened 7 years ago Closed 5 years ago

Title attributes content not shown in responsive mode

Categories

(DevTools :: Responsive Design Mode, defect, P3)

57 Branch
defect

Tracking

(firefox57 wontfix, firefox58 wontfix, firefox59 wontfix, firefox70 fixed)

RESOLVED FIXED
Firefox 70
Tracking Status
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- wontfix
firefox70 --- fixed

People

(Reporter: fabian.letsch, Assigned: daisuke)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [dt-q])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20171009192146 Steps to reproduce: FF57 Developer Edition on windows 7: Go to autohaus-schuerer.de Press ctrl+shift+m or enable responsive testing mode in any other way Hover mouse over any link on that website Actual results: Nothing. Expected results: The text of the title attribute should be shown next to the mouse. This title usually shows up when responsive mode is toggled off.
Component: Untriaged → Developer Tools: Responsive Design Mode
Thanks for reporting, I can reproduce the issue.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Product: Firefox → DevTools
Blocks: rdm-ux

I am running a two monitor setup in macOS, and I'm seeing the title tooltip popping up at the absolute 0,0 position of the main display--no matter which display Firefox is in.

(In reply to Chad Gatesman from comment #3)

I am running a two monitor setup in macOS, and I'm seeing the title tooltip popping up at the absolute 0,0 position of the main display--no matter which display Firefox is in.

I forgot to mention, this is with 67.0b1.

Whiteboard: [dt-q]
See Also: → 1535560
Blocks: rdm-tooltips
See Also: → 1342555
Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Attachment #9079639 - Attachment description: Bug 1407945: Calculate screenX and screenY in case of HTML element. r?pbro! → Bug 1407945: Calculate screenX and screenY in case of HTML element. r?Gijs!
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/359eec53f12e Calculate screenX and screenY in case of HTML element. r=Gijs https://hg.mozilla.org/integration/autoland/rev/1160c6868061 Add a test for the tooltip in RDM. r=pbro

Backed out 2 changesets for devtools failures on browser_tooltip.js

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

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&searchStr=os%2Cx%2C10.14%2Cdebug%2Cmochitests%2Ctest-macosx1014-64%2Fdebug-mochitest-devtools-chrome-e10s-5%2Cm%28dt5%29&fromchange=1160c6868061f2f8c8cd309a20e981a4bcc03565&tochange=6a8467385888e72cb4e6b6a227baa19aba281247&selectedJob=257898099

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=257898099&repo=autoland&lineNumber=24773
16:17:56 INFO - notify@resource://gre/modules/Timer.jsm:62:17
16:17:56 INFO -
16:19:23 INFO - [1716, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
16:19:53 INFO - TEST-INFO | started process screencapture
16:19:54 INFO - TEST-INFO | screencapture: exit 0
16:19:54 INFO - TEST-UNEXPECTED-FAIL | devtools/client/responsive.html/test/browser/browser_tooltip.js | Test timed out -
16:19:54 INFO - Removing tab.
16:19:54 INFO - Waiting for event: 'TabClose' on [object XULElement].
16:19:54 INFO - GECKO(1719) | [Child 1722, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
16:19:54 INFO - GECKO(1719) | [Parent 1719, Main Thread] WARNING: Constructing RangeBoundary with invalid value: 'mRef || aOffset == 0', file /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RangeBoundary.h, line 79
16:19:54 INFO - GECKO(1719) | [Parent 1719, Main Thread] WARNING: Constructing RangeBoundary with invalid value: 'mRef || aOffset == 0', file /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RangeBoundary.h, line 79
16:19:54 INFO - GECKO(1719) | JavaScript error: resource://devtools/server/actors/emulation.js, line 362: TypeError: this.targetActor.docShell is null
16:19:54 INFO - GECKO(1719) | ++DOCSHELL 0x10d33a000 == 1 [pid = 1721] [id = {98ec8883-a687-eb4f-87fd-c54504ade881}]
16:19:54 INFO - GECKO(1719) | ++DOMWINDOW == 1 (0x11ba43020) [pid = 1721] [serial = 187] [outer = 0x0]
16:19:54 INFO - GECKO(1719) | [Child 1721, Main Thread] WARNING: No active window: file /builds/worker/workspace/build/src/js/xpconnect/src/XPCJSContext.cpp, line 662
16:19:54 INFO - GECKO(1719) | ++DOMWINDOW == 2 (0x10dc15800) [pid = 1721] [serial = 188] [outer = 0x11ba43020]
16:19:54 INFO - GECKO(1719) | ++DOMWINDOW == 3 (0x114381c00) [pid = 1721] [serial = 189] [outer = 0x11ba43020]
16:19:54 INFO - GECKO(1719) | [Child 1721, Main Thread] WARNING: NS_ENSURE_SUCCESS(mStatus, *this) failed with result 0x80004005: file /builds/worker/workspace/build/src/obj-firefox/dist/include/nsIURIMutator.h, line 489
16:19:54 INFO - GECKO(1719) | ++DOCSHELL 0x10df39800 == 1 [pid = 1725] [id = {f9c280ad-066a-7f42-83b1-6ba656634a63}]
16:19:54 INFO - GECKO(1719) | ++DOMWINDOW == 1 (0x11c54b020) [pid = 1725] [serial = 105] [outer = 0x0]
16:19:54 INFO - GECKO(1719) | ++DOMWINDOW == 2 (0x10e81f000) [pid = 1725] [serial = 106] [outer = 0x11c54b020]
16:19:54 INFO - Got event: 'TabClose' on [object XULElement].
16:19:54 INFO - Tab removed and finished closing
16:19:54 INFO - GECKO(1719) | [Parent 1719, Main Thread] WARNING: '!widget', file /builds/worker/workspace/build/src/dom/ipc/BrowserParent.cpp, line 3679
16:19:54 INFO - GECKO(1719) | MEMORY STAT | vsize 7984MB | residentFast 631MB | heapAllocated 116MB
16:19:54 INFO - TEST-OK | devtools/client/responsive.html/test/browser/browser_tooltip.js | took 270366ms

Flags: needinfo?(daisuke)
Blocks: 1569508
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/43553c5c7033 Calculate screenX and screenY in case of HTML element. r=Gijs https://hg.mozilla.org/integration/autoland/rev/2ea007508cd3 Add a test for the tooltip in RDM. r=pbro

Backed out 2 changesets (Bug 1407945) for failures on browser_tooltip.js

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&searchStr=os%2Cx%2C10.14%2Cshippable%2Copt%2Cmochitests%2Ctest-macosx1014-64-shippable%2Fopt-mochitest-devtools-chrome-e10s-1%2Cm%28dt1%29&fromchange=bdb7f8baac7e2fccf5c4ce76ea6a76ccb0bd6126&tochange=1094006332c9c795d5f1dcfc89c27f4112a48cd2&selectedJob=258738776

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

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

[task 2019-07-29T05:45:15.690Z] 05:45:15 INFO - TEST-START | devtools/client/responsive.html/test/browser/browser_tooltip.js
[task 2019-07-29T05:45:15.691Z] 05:45:15 INFO - Entering test bound
[task 2019-07-29T05:45:15.691Z] 05:45:15 INFO - Adding a new tab with URL: data:text/html;charset=utf-8,<h1 title="test title">test h1</h1>
[task 2019-07-29T05:45:15.724Z] 05:45:15 INFO - Console message: [JavaScript Error: "uncaught exception: Object" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 112}]
[task 2019-07-29T05:45:15.733Z] 05:45:15 INFO - Tab added and finished loading
[task 2019-07-29T05:45:15.733Z] 05:45:15 INFO - Opening responsive design mode
[task 2019-07-29T05:45:15.844Z] 05:45:15 INFO - GECKO(1809) | console.log: "[DISPATCH] action type:" "CHANGE_DISPLAY_PIXEL_RATIO"
[task 2019-07-29T05:45:15.844Z] 05:45:15 INFO - GECKO(1809) | console.log: "[DISPATCH] action type:" "ADD_VIEWPORT"
[task 2019-07-29T05:45:15.908Z] 05:45:15 INFO - GECKO(1809) | JavaScript error: chrome://global/content/elements/browser-custom-element.js, line 1284: uncaught exception: 2147500033
[task 2019-07-29T05:45:15.908Z] 05:45:15 INFO - GECKO(1809) | JavaScript error: chrome://global/content/elements/browser-custom-element.js, line 1284: uncaught exception: 2147500033
[task 2019-07-29T05:45:15.931Z] 05:45:15 INFO - Console message: [JavaScript Error: "uncaught exception: 2147500033" {file: "chrome://global/content/elements/browser-custom-element.js" line: 1284}]
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - Console message: [JavaScript Error: "[Exception... "Method not implemented'Method not implemented' when calling method: [nsIWebNavigation::sessionHistory]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: chrome://global/content/elements/browser-custom-element.js :: construct :: line 1284" data: no]"]
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - construct@chrome://global/content/elements/browser-custom-element.js:1284:13
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - attributeChangedCallback@chrome://global/content/elements/browser-custom-element.js:60:14
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - start@resource://devtools/client/responsive.html/browser/tunnel.js:208:13
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - start@resource://devtools/client/responsive.html/browser/swap.js:247:20
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - asyncinit@resource://devtools/client/responsive.html/manager.js:354:21
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - ResponsiveUI@resource://devtools/client/responsive.html/manager.js:279:22
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - openIfNeeded@resource://devtools/client/responsive.html/manager.js:98:18
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - openRDM@chrome://mochitests/content/browser/devtools/client/responsive.html/test/browser/head.js:84:28
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - addRDMTask/<@chrome://mochitests/content/browser/devtools/client/responsive.html/test/browser/head.js:113:27
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - Async
Tester_execTest/<@chrome://mochikit/content/browser-test.js:1346:34
[task 2019-07-29T05:45:15.932Z] 05:45:15 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1381:11
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1209:14
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO -
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - Console message: [JavaScript Error: "uncaught exception: 2147500033" {file: "chrome://global/content/elements/browser-custom-element.js" line: 1284}]
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - Console message: [JavaScript Error: "[Exception... "Method not implemented'Method not implemented' when calling method: [nsIWebNavigation::sessionHistory]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: chrome://global/content/elements/browser-custom-element.js :: construct :: line 1284" data: no]"]
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - construct@chrome://global/content/elements/browser-custom-element.js:1284:13
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - start@resource://devtools/client/responsive.html/browser/tunnel.js:209:13
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - start@resource://devtools/client/responsive.html/browser/swap.js:247:20
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - asyncinit@resource://devtools/client/responsive.html/manager.js:354:21
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - ResponsiveUI@resource://devtools/client/responsive.html/manager.js:279:22
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - openIfNeeded@resource://devtools/client/responsive.html/manager.js:98:18
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - openRDM@chrome://mochitests/content/browser/devtools/client/responsive.html/test/browser/head.js:84:28
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - addRDMTask/<@chrome://mochitests/content/browser/devtools/client/responsive.html/test/browser/head.js:113:27
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - Async
Tester_execTest/<@chrome://mochikit/content/browser-test.js:1346:34
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1381:11
[task 2019-07-29T05:45:15.933Z] 05:45:15 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1209:14
[task 2019-07-29T05:45:15.934Z] 05:45:15 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
[task 2019-07-29T05:45:15.934Z] 05:45:15 INFO -
[task 2019-07-29T05:45:15.967Z] 05:45:15 INFO - Responsive design mode opened
[task 2019-07-29T05:45:15.967Z] 05:45:15 INFO - GECKO(1809) | console.log: "[DISPATCH] action type:" "LOAD_DEVICE_LIST_START"
[task 2019-07-29T05:45:16.032Z] 05:45:16 INFO - Show a tooltip
[task 2019-07-29T05:45:16.032Z] 05:45:16 INFO - GECKO(1809) | console.log: "[DISPATCH] action type:" "ADD_DEVICE_TYPE"
[task 2019-07-29T05:45:16.032Z] 05:45:16 INFO - GECKO(1809) | console.log: "[DISPATCH] action type:" "ADD_DEVICE"
...
[task 2019-07-29T05:45:16.069Z] 05:45:16 INFO - GECKO(1809) | console.log: "[DISPATCH] action type:" "ADD_DEVICE_TYPE"
[task 2019-07-29T05:45:16.069Z] 05:45:16 INFO - GECKO(1809) | console.log: "[DISPATCH] action type:" "LOAD_DEVICE_LIST_END"
[task 2019-07-29T05:45:16.069Z] 05:45:16 INFO - Wait for showing the tooltip
[task 2019-07-29T05:46:00.740Z] 05:46:00 INFO - Longer timeout required, waiting longer... Remaining timeouts: 1
[task 2019-07-29T05:46:45.730Z] 05:46:45 INFO - TEST-INFO | started process screencapture
[task 2019-07-29T05:46:45.948Z] 05:46:45 INFO - TEST-INFO | screencapture: exit 0
[task 2019-07-29T05:46:45.948Z] 05:46:45 INFO - TEST-UNEXPECTED-FAIL | devtools/client/responsive.html/test/browser/browser_tooltip.js | Test timed out -
[task 2019-07-29T05:46:45.948Z] 05:46:45 INFO - Removing tab.
[task 2019-07-29T05:46:45.948Z] 05:46:45 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2019-07-29T05:46:45.948Z] 05:46:45 INFO - GECKO(1809) | JavaScript error: resource://devtools/server/actors/emulation.js, line 362: TypeError: this.targetActor.docShell is null
[task 2019-07-29T05:46:45.948Z] 05:46:45 INFO - Got event: 'TabClose' on [object XULElement].
[task 2019-07-29T05:46:45.949Z] 05:46:45 INFO - Tab removed and finished closing
[task 2019-07-29T05:46:45.949Z] 05:46:45 INFO - GECKO(1809) | MEMORY STAT | vsize 7950MB | residentFast 607MB | heapAllocated 109MB
[task 2019-07-29T05:46:45.949Z] 05:46:45 INFO - TEST-OK | devtools/client/responsive.html/test/browser/browser_tooltip.js | took 90163ms

Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/85ff2f16cb5a Calculate screenX and screenY in case of HTML element. r=Gijs https://hg.mozilla.org/integration/autoland/rev/1b48b5718737 Add a test for the tooltip in RDM. r=pbro
Flags: needinfo?(daisuke)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
QA Whiteboard: [qa-70b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: