Changeset 136132 in webkit
- Timestamp:
- Nov 29, 2012, 7:34:39 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/frames/sandboxed-iframe-autofocus-denied-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/html/HTMLFormControlElement.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r136131 r136132 1 2012-11-29 Mike West <mkwst@chromium.org> 2 3 Typo in 'autofocus' sandboxing error message. 4 https://bugs.webkit.org/show_bug.cgi?id=103616 5 6 Reviewed by Jochen Eisinger. 7 8 * fast/frames/sandboxed-iframe-autofocus-denied-expected.txt: 9 1 10 2012-11-29 Hajime Morrita <morrita@google.com> 2 11 -
trunk/LayoutTests/fast/frames/sandboxed-iframe-autofocus-denied-expected.txt
r135903 r136132 1 CONSOLE MESSAGE: Blocked autofocusing on a form control because the form's frame is sandboxed and the 'allow-script ' permission is not set.1 CONSOLE MESSAGE: Blocked autofocusing on a form control because the form's frame is sandboxed and the 'allow-scripts' permission is not set. 2 2 CONSOLE MESSAGE: line 13: PASS: The input element is not focused. 3 3 This test passes if the input element in the sandboxed frame is not automatically focused upon, as it should be blocked by the sandboxed scripts flag. A console warning to that effect should also be present. -
trunk/Source/WebCore/ChangeLog
r136131 r136132 1 2012-11-29 Mike West <mkwst@chromium.org> 2 3 Typo in 'autofocus' sandboxing error message. 4 https://bugs.webkit.org/show_bug.cgi?id=103616 5 6 Reviewed by Jochen Eisinger. 7 8 The sandbox attribute name is 'allow-scripts', not 'allow-script'. :( 9 10 * html/HTMLFormControlElement.cpp: 11 (WebCore::shouldAutofocus): 12 1 13 2012-11-29 Hajime Morrita <morrita@google.com> 2 14 -
trunk/Source/WebCore/html/HTMLFormControlElement.cpp
r135903 r136132 175 175 if (element->document()->isSandboxed(SandboxAutomaticFeatures)) { 176 176 // FIXME: This message should be moved off the console once a solution to https://bugs.webkit.org/show_bug.cgi?id=103274 exists. 177 element->document()->addConsoleMessage(HTMLMessageSource, LogMessageType, ErrorMessageLevel, "Blocked autofocusing on a form control because the form's frame is sandboxed and the 'allow-script ' permission is not set.");177 element->document()->addConsoleMessage(HTMLMessageSource, LogMessageType, ErrorMessageLevel, "Blocked autofocusing on a form control because the form's frame is sandboxed and the 'allow-scripts' permission is not set."); 178 178 return false; 179 179 }
Note:
See TracChangeset
for help on using the changeset viewer.