WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
92796
Pointer lock blocked for sandboxed iframes.
https://bugs.webkit.org/show_bug.cgi?id=92796
Summary
Pointer lock blocked for sandboxed iframes.
Vincent Scheib
Reported
2012-07-31 15:28:44 PDT
Pointer lock blocked for sandboxed iframes.
Attachments
Patch
(5.30 KB, patch)
2012-07-31 15:36 PDT
,
Vincent Scheib
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from gce-cr-linux-05
(535.05 KB, application/zip)
2012-07-31 16:32 PDT
,
WebKit Review Bot
no flags
Details
Patch
(4.88 KB, patch)
2012-08-01 10:41 PDT
,
Vincent Scheib
no flags
Details
Formatted Diff
Diff
Patch
(5.49 KB, patch)
2012-08-01 11:11 PDT
,
Vincent Scheib
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Vincent Scheib
Comment 1
2012-07-31 15:36:13 PDT
Created
attachment 155649
[details]
Patch
WebKit Review Bot
Comment 2
2012-07-31 16:32:36 PDT
Comment on
attachment 155649
[details]
Patch
Attachment 155649
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/13392896
New failing tests: http/tests/pointer-lock/iframe-sandboxed.html
WebKit Review Bot
Comment 3
2012-07-31 16:32:39 PDT
Created
attachment 155672
[details]
Archive of layout-test-results from gce-cr-linux-05 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: gce-cr-linux-05 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Adrienne Walker
Comment 4
2012-07-31 16:49:41 PDT
Comment on
attachment 155649
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=155649&action=review
> Source/WebCore/ChangeLog:3 > + Pointer lock blocked for sandboxed iframes.
Reword as "Block pointer lock for sandboxed iframes" to be more clear about what's changing in this patch?
> Source/WebCore/ChangeLog:8 > + Additional information of the change such as approach, rationale. Please add per-function descriptions below (OOPS!).
Need to remove this line or add some more description here.
> Source/WebCore/page/PointerLockController.cpp:52 > + || target->document()->sandboxFlags()) {
Is this going to be part of the pointer lock spec that sandboxing explicitly prohibits pointer lock or is this just Chrome-specific behavior?
Vincent Scheib
Comment 5
2012-08-01 10:41:31 PDT
Created
attachment 155838
[details]
Patch
Adrienne Walker
Comment 6
2012-08-01 10:42:57 PDT
Comment on
attachment 155838
[details]
Patch R=me.
Adam Barth
Comment 7
2012-08-01 10:55:03 PDT
Comment on
attachment 155838
[details]
Patch You should introduce an explicit sandbox flag for this purpose. We have a bunch of sandbox flags that don't have syntax to unset them.
Adam Barth
Comment 8
2012-08-01 10:56:54 PDT
For example, SandboxPlugins <
http://trac.webkit.org/browser/trunk/Source/WebCore/dom/SecurityContext.h#L44
> doesn't have any syntax yet.
Vincent Scheib
Comment 9
2012-08-01 11:11:49 PDT
Created
attachment 155845
[details]
Patch
Adam Barth
Comment 10
2012-08-01 11:53:25 PDT
Comment on
attachment 155845
[details]
Patch Perfect, thanks.
WebKit Review Bot
Comment 11
2012-08-01 14:22:11 PDT
Comment on
attachment 155845
[details]
Patch Clearing flags on attachment: 155845 Committed
r124368
: <
http://trac.webkit.org/changeset/124368
>
WebKit Review Bot
Comment 12
2012-08-01 14:22:16 PDT
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