WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 104969
Merge MainResourceLoader into DocumentLoader
https://bugs.webkit.org/show_bug.cgi?id=104969
Summary
Merge MainResourceLoader into DocumentLoader
Nate Chapin
Reported
2012-12-13 16:01:06 PST
With
bug 49246
landed, MainResourceLoader's purpose is no longer clearly defined, and is poorly named. It isn't a ResourceLoader subclass (it implements the CachedRawResourceClient interface), and the organization of what DocumentLoader and MainResourceLoader each do is history rather than logical. It's probably worth merging them into a single class.
Attachments
Monolithic version
(118.44 KB, patch)
2013-02-13 13:47 PST
,
Nate Chapin
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Finish the merger
(45.22 KB, patch)
2013-03-19 16:27 PDT
,
Nate Chapin
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Nate Chapin
Comment 1
2013-02-13 13:47:55 PST
Created
attachment 188173
[details]
Monolithic version This monster patch is my current thought for merging these 2 classes. I'll split it up before asking for review, just posting to get EWS data.
WebKit Review Bot
Comment 2
2013-02-13 14:55:46 PST
Comment on
attachment 188173
[details]
Monolithic version
Attachment 188173
[details]
did not pass cr-linux-debug-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/16514332
WebKit Review Bot
Comment 3
2013-02-13 15:40:32 PST
Comment on
attachment 188173
[details]
Monolithic version
Attachment 188173
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/16536321
Peter Beverloo (cr-android ews)
Comment 4
2013-02-13 18:35:31 PST
Comment on
attachment 188173
[details]
Monolithic version
Attachment 188173
[details]
did not pass cr-android-ews (chromium-android): Output:
http://queues.webkit.org/results/16514438
Nate Chapin
Comment 5
2013-03-19 16:27:34 PDT
Created
attachment 193949
[details]
Finish the merger
Adam Barth
Comment 6
2013-03-19 20:57:36 PDT
Comment on
attachment 193949
[details]
Finish the merger View in context:
https://bugs.webkit.org/attachment.cgi?id=193949&action=review
Amazing.
> Source/WebCore/loader/DocumentLoader.cpp:1390 > + DEFINE_STATIC_LOCAL(ResourceLoaderOptions, mainResourceLoadOptions, > + (SendCallbacks, SniffContent, BufferData, AllowStoredCredentials, AskClientForCrossOriginCredentials, SkipSecurityCheck));
I'm surprised we use a static here. This is just a struct...
WebKit Review Bot
Comment 7
2013-03-19 21:24:01 PDT
Comment on
attachment 193949
[details]
Finish the merger Clearing flags on attachment: 193949 Committed
r146301
: <
http://trac.webkit.org/changeset/146301
>
WebKit Review Bot
Comment 8
2013-03-19 21:24:07 PDT
All reviewed patches have been landed. Closing bug.
Ryosuke Niwa
Comment 9
2013-03-19 22:46:47 PDT
It appears that this patch broke Windows (Debug) Tests:
http://build.webkit.org/builders/Apple%20Win%207%20Debug%20%28Tests%29/builds/50526
http://build.webkit.org/builders/Apple%20Win%207%20Debug%20%28Tests%29/builds/50527
Ryosuke Niwa
Comment 10
2013-03-19 22:48:41 PDT
To make sure this is a real regression, I've ran the tests at the same revision on two distinct machines (apple-windows-3 and apple-windows-4 respectively):
http://build.webkit.org/builders/Apple%20Win%207%20Debug%20%28Tests%29/builds/50528
http://build.webkit.org/builders/Apple%20Win%207%20Debug%20%28Tests%29/builds/50529
WebKit Review Bot
Comment 11
2013-03-19 22:50:19 PDT
Re-opened since this is blocked by
bug 112776
Ryosuke Niwa
Comment 12
2013-03-19 22:52:28 PDT
(In reply to
comment #10
)
> To make sure this is a real regression, I've ran the tests at the same revision on two distinct machines (apple-windows-3 and apple-windows-4 respectively): >
http://build.webkit.org/builders/Apple%20Win%207%20Debug%20%28Tests%29/builds/50528
>
http://build.webkit.org/builders/Apple%20Win%207%20Debug%20%28Tests%29/builds/50529
I'll also note that I've rebooted those bots prior to running the tests.
Ryosuke Niwa
Comment 13
2013-03-19 22:53:43 PDT
It appears that this patch caused assertions to be hit on almost all tests: animations/additive-transform-animations.html animations/animation-add-events-in-handler.html animations/animation-border-overflow.html animations/animation-controller-drt-api.html animations/animation-css-rule-types.html animations/animation-delay-changed.html animations/animation-direction-alternate-reverse.html animations/animation-direction-reverse-fill-mode-hardware.html animations/animation-direction-reverse-fill-mode.html animations/animation-direction-reverse-hardware-opacity.html animations/animation-direction-reverse-hardware.html animations/animation-direction-reverse-non-hardware.html animations/animation-direction-reverse-timing-functions-hardware.html animations/animation-direction-reverse-timing-functions.html animations/animation-direction-reverse.html animations/animation-direction.html animations/animation-end-event-destroy-renderer.html animations/animation-end-event-short-iterations.html animations/animation-events-create.html animations/animation-hit-test-transform.html
Ryosuke Niwa
Comment 14
2013-03-19 23:35:19 PDT
I'm sorry but I'm rolling out the patch for now as we're losing the entire test coverage on Windows Debug.
Adam Barth
Comment 15
2013-03-19 23:36:03 PDT
Thanks.
Ryosuke Niwa
Comment 16
2013-03-20 02:06:59 PDT
It appears that this was a build corruption issue.
http://build.webkit.org/builders/Apple%20Win%207%20Debug%20%28Tests%29/builds/50532
is the run that contains the rollout and this looks better but still a bunch of tests have failed. I've triggered a clean build after this as
http://build.webkit.org/builders/Apple%20Win%207%20Debug%20%28Tests%29/builds/50536
and this one appears to be running just fine. Can we coordinate tomorrow to reland this patch so that we can trigger a clean build as needed tomorrow? Alternatively, you don't do anything, I'll try to reland it tomorrow morning and start a clean build as needed.
Nate Chapin
Comment 17
2013-03-20 09:17:14 PDT
(In reply to
comment #16
)
> It appears that this was a build corruption issue. > >
http://build.webkit.org/builders/Apple%20Win%207%20Debug%20%28Tests%29/builds/50532
> is the run that contains the rollout and this looks better but still a bunch of tests have failed. I've triggered a clean build after this as
http://build.webkit.org/builders/Apple%20Win%207%20Debug%20%28Tests%29/builds/50536
and this one appears to be running just fine. > > Can we coordinate tomorrow to reland this patch so that we can trigger a clean build as needed tomorrow? Alternatively, you don't do anything, I'll try to reland it tomorrow morning and start a clean build as needed.
If you want me around, it should probably wait until Thursday, as I'm OOO today and won't have IRC access until this afternoon.
Ryosuke Niwa
Comment 18
2013-03-21 02:08:01 PDT
Committed
r146449
: <
http://trac.webkit.org/changeset/146449
>
Ryosuke Niwa
Comment 19
2013-03-21 02:09:02 PDT
Sorry about the unwanted noise. I've relanded your patch in
http://trac.webkit.org/changeset/146449
after cleaning WebKitBuild directories in apple-windows-1 and apple-windows-2.
Eric Seidel (no email)
Comment 20
2013-03-21 02:11:19 PDT
I'm very excited to see this land!
Nate Chapin
Comment 21
2013-03-21 08:29:06 PDT
(In reply to
comment #19
)
> Sorry about the unwanted noise. > > I've relanded your patch in
http://trac.webkit.org/changeset/146449
after cleaning WebKitBuild directories in apple-windows-1 and apple-windows-2.
Thanks for relanding this! I really appreciate it.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug