Closed
Bug 1410482
Opened 7 years ago
Closed 6 years ago
enable AOM for privileged content
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: surkov, Assigned: surkov)
References
Details
Attachments
(1 file, 2 obsolete files)
3.29 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
Olli, who's a good candidate to review? You're not accepting those.
Flags: needinfo?(bugs)
Assignee | ||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
I could review next week, if that is ok. Could you use AddBoolVarCache and not GetBool. The cache is quite a bit faster.
Flags: needinfo?(bugs)
Assignee | ||
Comment 5•7 years ago
|
||
(In reply to Olli Pettay [:smaug] (work week Oct 16-20) from comment #3) > I could review next week, if that is ok. sure, thank you. > Could you use AddBoolVarCache and not GetBool. The cache is quite a bit > faster. I will, np, I didn't know it may be a hot path. I guess it's invoked not only once when the browser starts up?
Assignee | ||
Comment 6•7 years ago
|
||
address Olli's comments
Attachment #8920653 -
Attachment is obsolete: true
Attachment #8921044 -
Flags: feedback?(bugs)
Assignee | ||
Comment 7•7 years ago
|
||
apparently attached a wrong patch, fixed
Attachment #8921044 -
Attachment is obsolete: true
Attachment #8921044 -
Flags: feedback?(bugs)
Attachment #8921045 -
Flags: feedback?(bugs)
Comment 8•7 years ago
|
||
Comment on attachment 8921045 [details] [diff] [review] aomenable [Func="mozilla::dom::AccessibleNode::IsAOMEnabled"] isn't probably needed. I'd expect [Func="AccessibleNode::IsAOMEnabled"] to work too, assuming AccessibleNode uses namespaces and such in the normal way.
Attachment #8921045 -
Flags: feedback?(bugs) → review+
Assignee | ||
Comment 9•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2602e10160a18c0b998c749d8aa2005fc8ef6614 Bug 1410482 - enable AOM for privileged content, r=smaug
Comment 10•7 years ago
|
||
Backed out for leaks in devtools tests: https://hg.mozilla.org/integration/mozilla-inbound/rev/9fddd9d18e1d1d879598b1a1e42e15cc17783cee Push with failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=2602e10160a18c0b998c749d8aa2005fc8ef6614&filter-resultStatus=usercancel&filter-resultStatus=runnable&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry Different push which also ran asan failure: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=d84ea38d6fd086a627f0321be28103be88fad175&filter-resultStatus=usercancel&filter-resultStatus=runnable&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry Failure log debug: https://treeherder.mozilla.org/logviewer.html#?job_id=138962123&repo=mozilla-inbound > TEST-UNEXPECTED-FAIL | leakcheck | tab process: 407504 bytes leaked (APZEventState, ActiveElementManager, AsyncLatencyLogger, BackstagePass, CSPService, ...) Failure log asan: https://treeherder.mozilla.org/logviewer.html#?job_id=138978815&repo=mozilla-inbound
Flags: needinfo?(surkov.alexander)
Updated•7 years ago
|
Priority: -- → P2
Assignee | ||
Comment 11•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3da3938bd45e68c28223347f90ff966ae3a6d959
Assignee | ||
Comment 12•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=176084f0c3c14385eea5b74367bf5b29f297f57a
Assignee | ||
Comment 13•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=89c6b186172dfc2da9ddefce1820dd3f4c8ea421
Assignee | ||
Comment 14•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=149e2ff284b896d7290be023094f31839ddb562b
Assignee | ||
Comment 15•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e75f2d399cb33c6ba48b22c4c2cc083f73f66b22
Assignee | ||
Comment 16•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=97b770874efa7467456fd6d42f6f72ed813f43f6
Assignee | ||
Comment 17•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b07c454db70c2c92f0c37f79b8a2f02f488358c8
Assignee | ||
Comment 18•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fc7d066462148bb27dc43b23fcbd32b9ddaf9467
Assignee | ||
Comment 19•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a239468c22aba9149a265d0f874dbae8d188ba92
Assignee | ||
Comment 20•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=58d6c9954c58d2f04915086df15dc4f8cdd423ff
Assignee | ||
Comment 21•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4b4096f2cea3988d56f7ef3db51070bca7b3813a
Assignee | ||
Comment 22•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d9040fa9918d99652e42ddf5eab7336b14d842d1
Assignee | ||
Comment 23•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6001d9445fb87cf25de09ce0f562ceb66c5f3a7e
Assignee | ||
Comment 24•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c10e3ac4fc80b9921193ba2684d35a6038383bde
Assignee | ||
Comment 25•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=1c81188d5618066332ba623fd3c26ebbc859790d
Assignee | ||
Comment 26•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=38dde762e3eb24c04821c97a4db3d256747f8136
Assignee | ||
Comment 27•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ffe007c4201fdc8236bf0124150677b193d63f1e
Assignee | ||
Comment 28•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=34317d2fdf9c9954aca9af303fb33d0e653ec457
Assignee | ||
Comment 29•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=de1d447e08c8e692b80f9ac3ded7079839396ee8
Assignee | ||
Comment 30•6 years ago
|
||
AccessibilityService is connected/caused with the leaks. If no GetOrCreateService() is called by AOM object, then no leaks. Good build: https://hg.mozilla.org/try/rev/1c81188d5618066332ba623fd3c26ebbc859790d https://treeherder.mozilla.org/#/jobs?repo=try&revision=1c2e746ebbe929bfbdd836e8a7a9f3b97ecd39a4 Bad build: https://hg.mozilla.org/try/rev/34317d2fdf9c9954aca9af303fb33d0e653ec457 https://treeherder.mozilla.org/#/jobs?repo=try&revision=1f2347d35a57c2af114f1f4382cdc997b874dfdf&selectedJob=158252012 [1] points out to nsComponentManagerImpl. The interesting thing is the logs has a line of: Marionette DEBUG Received observer notification "xpcom-shutdown" after leak reports. Since we use "xpcom-shutdown" to shutdown accessibility service, then it makes me wonder if this could be a timing issue. Olli, do you have any suggestions/advices how to investigate the issue further? [1] https://treeherder.mozilla.org/logviewer.html#?job_id=158252265&repo=try&lineNumber=166708
Flags: needinfo?(surkov.alexander) → needinfo?(bugs)
Comment 31•6 years ago
|
||
Does someone perhaps create the service after xpcom-shutdown?
Flags: needinfo?(bugs)
Assignee | ||
Comment 32•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ac7671a7d94f0f34100cd598cc5f1a0ed360693e
Assignee | ||
Comment 33•6 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #31) > Does someone perhaps create the service after xpcom-shutdown? unlikely, I tried to crash the browser [1] if somebody makes attempt to initialize AccessibilityService after XPCOM shutdown. No crash [2]. [1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=a9d29ff0f57ce5ae1959ecdc4fbd440179a39b8b&selectedJob=158534669 [2] https://hg.mozilla.org/try/rev/ac7671a7d94f0f34100cd598cc5f1a0ed360693e
Assignee | ||
Comment 34•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=aae396ae04d4a3b20585b2da6e2fc3222bd91868
Assignee | ||
Comment 35•6 years ago
|
||
Olli, any other advice how to approach it, or maybe names of who was working in this area and might have ideas?
Flags: needinfo?(bugs)
Comment 36•6 years ago
|
||
hmm, so do we leak AccessibleNodes? What is the most recent link a leak log? I'm trying to recall the ownership model of AccessibleNodes. Why we aren't cycle collecting its member variables?
Flags: needinfo?(bugs)
Assignee | ||
Comment 37•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7c7ebc2d27025c49d1ed561bb6eca9cec04b4509
Assignee | ||
Comment 38•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=bcfe9658d02097f64e8efc9ab5247e6c45325c32
Assignee | ||
Comment 39•6 years ago
|
||
seems passing now, not sure what was a fix, will land it
Comment 40•6 years ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8589b95008dd enable AOM for privileged content, r=smaug
Comment 41•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8589b95008dd
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•