Closed Bug 1796241 Opened 3 years ago Closed 2 years ago

Intermittent devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js | single tracking bug

Categories

(DevTools :: Inspector, defect, P5)

defect

Tracking

(firefox120 fixed)

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: nchevobbe)

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 file)

Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=393703550&repo=mozilla-beta
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Evl3TAzGSgyey2lbPnRNFQ/runs/1/artifacts/public/logs/live_backing.log


[task 2022-10-19T17:24:35.654Z] 17:24:35     INFO - TEST-PASS | devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js | Copy color is visible - 
[task 2022-10-19T17:24:35.655Z] 17:24:35     INFO - Initializing clipboard with "waitForClipboard-known-value-0.3736026524646717"...
[task 2022-10-19T17:24:35.656Z] 17:24:35     INFO - Succeeded initializing clipboard, start requested things...
[task 2022-10-19T17:24:35.657Z] 17:24:35     INFO - TEST-PASS | devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js | Clipboard has the given value: '#123ABC' - 
[task 2022-10-19T17:24:35.658Z] 17:24:35     INFO - Testing manually edited colors
[task 2022-10-19T17:24:35.660Z] 17:24:35     INFO - Selecting the node for 'div'
[task 2022-10-19T17:24:35.661Z] 17:24:35     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1360}]
[task 2022-10-19T17:24:35.662Z] 17:24:35     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1360}]
[task 2022-10-19T17:24:35.664Z] 17:24:35     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 503}]
[task 2022-10-19T17:24:35.665Z] 17:24:35     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 503}]
[task 2022-10-19T17:24:35.666Z] 17:24:35     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 62}]
[task 2022-10-19T17:24:35.667Z] 17:24:35     INFO - Waiting for event: 'focus' on [object HTMLSpanElement].
[task 2022-10-19T17:24:35.668Z] 17:24:35     INFO - Clicking on editable field to turn to edit mode
[task 2022-10-19T17:24:35.669Z] 17:24:35     INFO - Got event: 'focus' on [object HTMLSpanElement].
[task 2022-10-19T17:24:35.670Z] 17:24:35     INFO - Editable field gained focus, returning the input field now
[task 2022-10-19T17:24:35.671Z] 17:24:35     INFO - Typing new value
[task 2022-10-19T17:24:35.673Z] 17:24:35     INFO - Waiting for event: 'blur' on [object HTMLTextAreaElement].
[task 2022-10-19T17:24:35.674Z] 17:24:35     INFO - Got event: 'blur' on [object HTMLTextAreaElement].
[task 2022-10-19T17:24:35.675Z] 17:24:35     INFO - Waiting 0.001 seconds.
[task 2022-10-19T17:24:35.676Z] 17:24:35     INFO - TEST-PASS | devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js | data-color was updated - 
[task 2022-10-19T17:24:35.677Z] 17:24:35     INFO - TEST-PASS | devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js | _colorToCopy has the new value - 
[task 2022-10-19T17:24:35.678Z] 17:24:35     INFO - Testing colors edited via color picker
[task 2022-10-19T17:24:35.680Z] 17:24:35     INFO - Selecting the node for 'div'
[task 2022-10-19T17:24:35.681Z] 17:24:35     INFO - Buffered messages logged at 17:23:08
[task 2022-10-19T17:24:35.682Z] 17:24:35     INFO - Opening the color picker
[task 2022-10-19T17:24:35.683Z] 17:24:35     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 123}]
[task 2022-10-19T17:24:35.683Z] 17:24:35     INFO - Buffered messages finished
[task 2022-10-19T17:24:35.684Z] 17:24:35     INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js | Test timed out - 
[task 2022-10-19T17:24:35.685Z] 17:24:35     INFO - GECKO(2440) | [Parent 2440, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/generic/nsFrameSelection.cpp:1600
[task 2022-10-19T17:24:36.247Z] 17:24:36     INFO - Removing tab.
[task 2022-10-19T17:24:36.249Z] 17:24:36     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2022-10-19T17:24:36.268Z] 17:24:36     INFO - Got event: 'TabClose' on [object XULElement].
[task 2022-10-19T17:24:36.287Z] 17:24:36     INFO - GECKO(2440) | [Parent 2440, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2022-10-19T17:24:36.289Z] 17:24:36     INFO - GECKO(2440) | [Parent 2440, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2022-10-19T17:24:36.295Z] 17:24:36     INFO - Tab removed and finished closing
[task 2022-10-19T17:24:36.313Z] 17:24:36     INFO - GECKO(2440) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'DevToolsFrame'
[task 2022-10-19T17:24:36.325Z] 17:24:36     INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2022-10-19T17:24:36.329Z] 17:24:36     INFO - TEST-PASS | devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2022-10-19T17:24:36.343Z] 17:24:36     INFO - GECKO(2440) | MEMORY STAT | vsize 3609MB | residentFast 544MB | heapAllocated 236MB
[task 2022-10-19T17:24:36.345Z] 17:24:36     INFO - TEST-OK | devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js | took 91135ms
[task 2022-10-19T17:24:36.358Z] 17:24:36     INFO - GECKO(2440) | [Child 2566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f96b8835800 == 1 [pid = 2566] [id = 1]
[task 2022-10-19T17:24:36.359Z] 17:24:36     INFO - GECKO(2440) | [Child 2566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f96d3a919f0) [pid = 2566] [serial = 3] [outer = 0]
[task 2022-10-19T17:24:36.361Z] 17:24:36     INFO - GECKO(2440) | [Child 2566: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f96b8837000) [pid = 2566] [serial = 4] [outer = 7f96d3a919f0]
[task 2022-10-19T17:24:36.383Z] 17:24:36     INFO - GECKO(2440) | [Child 2532, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:500
[task 2022-10-19T17:24:36.411Z] 17:24:36     INFO - checking window state
[task 2022-10-19T17:24:36.444Z] 17:24:36     INFO - TEST-START | devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-urls.js
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

Properly close the context menu (and wait until its fully closed).
Use setProperty to set the CSS value property as it handles edge cases.
This means we had to move getRuleViewRuleEditor, getTextProperty and
setProperty to inspector/test/shared-head.js.

Assignee: nobody → nchevobbe
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/77a2cb90b570 [devtools] Fix browser_styleinspector_context-menu-copy-color_02.js intermittent failure. r=devtools-reviewers,ochameau.
Status: REOPENED → RESOLVED
Closed: 3 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: