WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
104505
[BlackBerry] Flash content is being rendered as garbled characters when Flashplayer is disabled
https://bugs.webkit.org/show_bug.cgi?id=104505
Summary
[BlackBerry] Flash content is being rendered as garbled characters when Flash...
Max Feil
Reported
2012-12-09 21:20:29 PST
The fix for
bug 101274
did (will?) cause a regression because it made the Flashplayer plugin get disabled without disabling all plugins. This was causing the swf contents to be rendered as garbled text characters where it should just be blank. See platform PR258003. No layout test is included here for the same reason as in
bug 101274
. This patch goes along with that work.
Attachments
Patch
(2.72 KB, patch)
2012-12-09 21:30 PST
,
Max Feil
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Max Feil
Comment 1
2012-12-09 21:30:18 PST
Created
attachment 178468
[details]
Patch
WebKit Review Bot
Comment 2
2012-12-09 22:12:12 PST
Comment on
attachment 178468
[details]
Patch
Attachment 178468
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/15239293
New failing tests: inspector-protocol/debugger-terminate-dedicated-worker-while-paused.html
Max Feil
Comment 3
2012-12-09 22:28:42 PST
Comment on
attachment 178468
[details]
Patch Resetting commit queue "-" from impossible failure. This patch affects BlackBerry port only.
Antonio Gomes
Comment 4
2012-12-10 05:10:26 PST
Comment on
attachment 178468
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=178468&action=review
> Source/WebKit/blackberry/WebCoreSupport/FrameLoaderClientBlackBerry.cpp:-348 > - if (m_frame->loader() && m_frame->loader()->subframeLoader() && !url.isNull())
As a side note, I am not sure loader() needs to be null checked. I might be wrong, but it might worth it to confirm.
> Source/WebKit/blackberry/WebCoreSupport/FrameLoaderClientBlackBerry.cpp:354 > + if (mimeType != "application/x-shockwave-flash" && m_frame->loader() && m_frame->loader()->subframeLoader() && !url.isNull())
Looks good. I would do a static helper function maybe to get a shorter line.
Max Feil
Comment 5
2012-12-10 11:11:23 PST
(In reply to
comment #4
)
> As a side note, I am not sure loader() needs to be null checked. I might be wrong, but it might worth it to confirm.
I prefer not to change other developers' reviewed code if it's unrelated to my patch and is of low possible gain. If you feel strongly about this case, you can file a bug to check WebKit code for this and all other cases where loader() might be null checked.
> Looks good. I would do a static helper function maybe to get a shorter line.
Thanks! Looks ok in my editor :)
Max Feil
Comment 6
2012-12-10 12:54:32 PST
Comment on
attachment 178468
[details]
Patch Requesting commit-queue. The cr-linux test failure is a false alarm.
WebKit Review Bot
Comment 7
2012-12-10 14:58:41 PST
Comment on
attachment 178468
[details]
Patch Clearing flags on attachment: 178468 Committed
r137210
: <
http://trac.webkit.org/changeset/137210
>
WebKit Review Bot
Comment 8
2012-12-10 14:58:45 PST
All reviewed patches have been landed. Closing bug.
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