WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
37111
Draw replacement text when plug-in host crashes
https://bugs.webkit.org/show_bug.cgi?id=37111
Summary
Draw replacement text when plug-in host crashes
Alexey Proskuryakov
Reported
2010-04-05 13:43:00 PDT
Currently, it's just an empty space.
Attachments
proposed patch
(16.95 KB, patch)
2010-04-05 14:04 PDT
,
Alexey Proskuryakov
darin
: review+
darin
: commit-queue-
Details
Formatted Diff
Diff
updated patch
(23.90 KB, patch)
2010-04-05 14:42 PDT
,
Alexey Proskuryakov
darin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2010-04-05 13:43:16 PDT
<
rdar://problem/7790327
>
Alexey Proskuryakov
Comment 2
2010-04-05 14:04:21 PDT
Created
attachment 52566
[details]
proposed patch
Darin Adler
Comment 3
2010-04-05 14:09:50 PDT
Comment on
attachment 52566
[details]
proposed patch
> , m_showsMissingPluginIndicator(false) > + , m_showsCrashedPluginIndicator(false)
An enum would be better than two booleans. We never want to show both.
> void setShowsMissingPluginIndicator(bool showsMissingPluginIndicator) { m_showsMissingPluginIndicator = showsMissingPluginIndicator; } > bool showsMissingPluginIndicator() const { return m_showsMissingPluginIndicator; } > + void setShowsCrashedPluginIndicator(bool showsCrashedPluginIndicator) { m_showsCrashedPluginIndicator = showsCrashedPluginIndicator; } > + bool showsCrashedPluginIndicator() const { return m_showsCrashedPluginIndicator; }
I know that someone (Simon) suggested adding the getter to Kevin's original patch, but I don't think we need the getters. Nor do I think we need a way to set either value to false.
> +2010-04-05 Alexey Proskuryakov <
ap@apple.com
> > + > + Reviewed by NOBODY (OOPS!). > + > +
https://bugs.webkit.org/show_bug.cgi?id=37111
> + <
rdar://problem/7790327
> Draw replacement text when plug-in host crashes > + > + * English.lproj/Localizable.strings: Added a string for plug-in failure. > + > +2010-04-05 Alexey Proskuryakov <
ap@apple.com
> > + > + Reviewed by NOBODY (OOPS!). > + > + Need a short description and bug URL (OOPS!) > + > + * English.lproj/Localizable.strings: > +
Double change log. I think this will break the build on platforms other than Mac because the crashedPluginText function will be called, but not defined. An interesting way to sidestep that would be to have the API take a string and have WebHostedNetscapePluginView pass the string in. Then you'd use a String instead of an enum in RenderEmbeddedObject. r=me as long as you make it build on non-Mac platforms
WebKit Review Bot
Comment 4
2010-04-05 14:11:53 PDT
Attachment 52566
[details]
did not build on chromium: Build output:
http://webkit-commit-queue.appspot.com/results/1652169
Early Warning System Bot
Comment 5
2010-04-05 14:13:30 PDT
Attachment 52566
[details]
did not build on qt: Build output:
http://webkit-commit-queue.appspot.com/results/1550283
Alexey Proskuryakov
Comment 6
2010-04-05 14:42:45 PDT
Created
attachment 52575
[details]
updated patch Updated patch. I chose to keep a common mechanism for both localized strings, since other ports may want to support out of process plug-ins.
Alexey Proskuryakov
Comment 7
2010-04-05 14:49:41 PDT
Committed <
http://trac.webkit.org/changeset/57095
>.
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