WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
102978
[BlackBerry] Prevent screen from dimming on device when inspector front-end is connected
https://bugs.webkit.org/show_bug.cgi?id=102978
Summary
[BlackBerry] Prevent screen from dimming on device when inspector front-end i...
Konrad Piascik
Reported
2012-11-21 14:03:30 PST
[BlackBerry] Prevent screen from dimming on device when inspector front-end is connected
Attachments
Patch
(1.96 KB, patch)
2012-11-21 14:06 PST
,
Konrad Piascik
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Konrad Piascik
Comment 1
2012-11-21 14:06:25 PST
Created
attachment 175519
[details]
Patch
Rob Buis
Comment 2
2012-11-21 14:10:22 PST
Comment on
attachment 175519
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=175519&action=review
LGTM.
> Source/WebKit/blackberry/Api/WebPage.cpp:5223 > + d->setPreventsScreenDimming(true);
Seems like setPreventScreenDimming is the better name, but you are just using this API.
> Source/WebKit/blackberry/Api/WebPage.cpp:5230 > + d->m_page->settings()->setDeveloperExtrasEnabled(false);
Would be nice to make this call implicit.
Konrad Piascik
Comment 3
2012-11-21 14:11:30 PST
(In reply to
comment #2
)
> (From update of
attachment 175519
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=175519&action=review
> > LGTM. > > > Source/WebKit/blackberry/Api/WebPage.cpp:5223 > > + d->setPreventsScreenDimming(true); > > Seems like setPreventScreenDimming is the better name, but you are just using this API. > > > Source/WebKit/blackberry/Api/WebPage.cpp:5230 > > + d->m_page->settings()->setDeveloperExtrasEnabled(false); > > Would be nice to make this call implicit.
I'll work on a follow-up patch to fix the API.
WebKit Review Bot
Comment 4
2012-11-21 15:02:06 PST
Comment on
attachment 175519
[details]
Patch Clearing flags on attachment: 175519 Committed
r135441
: <
http://trac.webkit.org/changeset/135441
>
WebKit Review Bot
Comment 5
2012-11-21 15:02:10 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