RESOLVED FIXED 102066
[Qt] Enable Mutation observer
https://bugs.webkit.org/show_bug.cgi?id=102066
Summary [Qt] Enable Mutation observer
Csaba Osztrogonác
Reported 2012-11-13 03:33:41 PST
It was enabled on all platform - http://trac.webkit.org/changeset/107454, but it didn't enable it on Qt's features.pri. It is revealed by http://trac.webkit.org/changeset/134379, when zillion inspector tests started to fail. I think we should enable it. Patch is coming soon.
Attachments
Patch (5.12 KB, patch)
2012-11-13 04:05 PST, Csaba Osztrogonác
no flags
Patch (6.97 KB, patch)
2012-11-13 04:50 PST, Csaba Osztrogonác
no flags
Patch (9.36 KB, patch)
2012-11-13 05:06 PST, Csaba Osztrogonác
no flags
Csaba Osztrogonác
Comment 1 2012-11-13 04:05:04 PST
Csaba Osztrogonác
Comment 2 2012-11-13 04:06:05 PST
I'm still running all tests to make sure all tests pass after enabling mutation observer.
Csaba Osztrogonác
Comment 3 2012-11-13 04:50:19 PST
Csaba Osztrogonác
Comment 4 2012-11-13 04:51:12 PST
Comment on attachment 173865 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=173865&action=review > LayoutTests/platform/qt-5.0/fast/js/global-constructors-expected.txt:323 > +FAIL WebKitMutationObserver.toString() should be [object WebKitMutationObserverConstructor]. Was [object MutationObserverConstructor]. I have no idea what is it ... > LayoutTests/platform/qt/fast/js/constructor-length-expected.txt:48 > -FAIL WebKitMutationObserver.length should be 1. Threw exception ReferenceError: Can't find variable: WebKitMutationObserver > +PASS WebKitMutationObserver.length is 1 It is progression.
Csaba Osztrogonác
Comment 5 2012-11-13 04:56:20 PST
It is very important, because r134379 made layout testing hyperslow: 24 -> 43 minutes. Should I skip the 48 failing tests until somebody review this one?
Csaba Osztrogonác
Comment 6 2012-11-13 05:06:47 PST
Csaba Osztrogonác
Comment 7 2012-11-13 05:08:00 PST
(In reply to comment #6) > Created an attachment (id=173868) [details] > Patch I skipped them by http://trac.webkit.org/changeset/134399 to make the bots happy and green again. This patch contains the unskip now.
Csaba Osztrogonác
Comment 8 2012-11-13 05:20:58 PST
Comment on attachment 173868 [details] Patch Clearing flags on attachment: 173868 Committed r134401: <http://trac.webkit.org/changeset/134401>
Csaba Osztrogonác
Comment 9 2012-11-13 05:21:03 PST
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 10 2012-11-13 05:25:34 PST
(In reply to comment #4) > (From update of attachment 173865 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=173865&action=review > > > LayoutTests/platform/qt-5.0/fast/js/global-constructors-expected.txt:323 > > +FAIL WebKitMutationObserver.toString() should be [object WebKitMutationObserverConstructor]. Was [object MutationObserverConstructor]. > > I have no idea what is it ... It matches with the platform independent result. The mac,win,gtk result is "PASS WebKitMutationObserver.toString() is '[object WebKitMutationObserverConstructor]'" But this test is skipped on Mac,Win and marked as fail on GTK. I checked the GTK result on the bot and it is same as our.
Csaba Osztrogonác
Comment 11 2012-11-13 05:26:55 PST
Aha, I got it - http://trac.webkit.org/changeset/122159 - "Rename WebCore::WebKitMutationObserver to WebCore::MutationObserver" I'm going to fix it.
Csaba Osztrogonác
Comment 12 2012-11-13 05:46:23 PST
(In reply to comment #11) > Aha, I got it - http://trac.webkit.org/changeset/122159 - > "Rename WebCore::WebKitMutationObserver to WebCore::MutationObserver" > I'm going to fix it. Nothing should be fixed now. The vendor prefix will be removed once - https://bugs.webkit.org/show_bug.cgi?id=89231
Csaba Osztrogonác
Comment 13 2012-11-19 02:38:30 PST
It seems it wasn't a good idea to enable mutation observer on Qt, because it made layout testing so slow: - 24 mins --> 34-39 mins on our WK1 release tester bots - 1 hour --> 1.5 hours on our WK2 debug tester bots - 22 mins --> 28 mins on our WK2 64 bit release tester bot It seems it is a serious performance regression. :-/ I'll check the WK1/WK2 perf bot results too.
Note You need to log in before you can comment on or make changes to this bug.