RESOLVED WONTFIX 45732
[Qt] DumpRenderTreeSupportQt::suspendActiveDOMObjects needs a new parameter
https://bugs.webkit.org/show_bug.cgi?id=45732
Summary [Qt] DumpRenderTreeSupportQt::suspendActiveDOMObjects needs a new parameter
Eric Carlson
Reported 2010-09-13 20:56:32 PDT
http://trac.webkit.org/changeset/67432 added a parameter to suspendActiveDOMObjects so classes that derive from ActiveDOMObject can tell why suspend() is being called. See https://bugs.webkit.org/show_bug.cgi?id=45688. I broke DumpRenderTreeSupportQt with this change, but don't know enough about how it works to fix it correctly, so based on the comments in http://trac.webkit.org/changeset/52914 I am hard coding it to pass ActiveDOMObject::JavaScriptPaused for now.
Attachments
patch (1.44 KB, patch)
2010-09-13 21:06 PDT, Eric Carlson
no flags
Eric Carlson
Comment 1 2010-09-13 21:06:26 PDT
Daniel Bates
Comment 2 2010-09-13 21:08:19 PDT
Comment on attachment 67517 [details] patch LGTM. r=me
Daniel Bates
Comment 3 2010-09-13 21:09:28 PDT
(In reply to comment #2) > (From update of attachment 67517 [details]) > LGTM. > r=me I am assuming WebCore/dom/ActiveDOMObject.h gets included by someone...
Eric Carlson
Comment 4 2010-09-13 21:18:29 PDT
Daniel Bates
Comment 5 2010-09-13 21:22:43 PDT
(In reply to comment #3) > (In reply to comment #2) > > (From update of attachment 67517 [details] [details]) > > LGTM. > > r=me > > I am assuming WebCore/dom/ActiveDOMObject.h gets included by someone... So, it will get included by WorkerThread.h, which includes WorkerRunLoop.h which includes ScriptExecutionContext.h, which includes ActiveDOMObject.h I was a bit to quick when reviewing this. The enum value JavaScriptPaused was renamed to JavaScriptDebuggerPaused. I missed that in the review. My mistake. I will be more cautious.
Daniel Bates
Comment 6 2010-09-13 21:32:19 PDT
Committed enum value fix up in changeset 67442 <http://trac.webkit.org/changeset/67442>.
Eric Seidel (no email)
Comment 7 2010-10-13 12:27:28 PDT
Attachment 67517 [details] was posted by a committer and has review+, assigning to Eric Carlson for commit.
Eric Carlson
Comment 8 2010-10-13 12:34:22 PDT
I committed https://bugs.webkit.org/attachment.cgi?id=67517, and dbates fixed it in http://trac.webkit.org/changeset/67442 when my change didn't actually compile :-( This bug is about getting a real fix into DumpRenderTreeSupportQt::suspendActiveDOMObjects instead of the hack I added which hard codes the reason for suspension.
Pierre Rossi
Comment 9 2012-10-24 06:27:30 PDT
This actually looks like dead code by now.
Note You need to log in before you can comment on or make changes to this bug.