WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 121497
136064
ASSERTION FAILED: anchorType() == PositionIsOffsetInAnchor in WebCore::Position::offsetInContainerNode
https://bugs.webkit.org/show_bug.cgi?id=136064
Summary
ASSERTION FAILED: anchorType() == PositionIsOffsetInAnchor in WebCore::Positi...
Martin Hodovan
Reported
2014-08-19 02:13:12 PDT
Created
attachment 236807
[details]
Test Test: <script> function dom_manipulation () { document.execCommand("selectall", false, null); document.execCommand("removeformat", true, null); } </script> <body onload="dom_manipulation()" contenteditable> <wbr "><svg></svg><samp></samp><s><script></script>"> Output: ASSERTION FAILED: anchorType() == PositionIsOffsetInAnchor Source/WebCore/dom/Position.h(108) : int WebCore::Position::offsetInContainerNode() const Backtrace: #0 in WTFCrash () at Source/WTF/wtf/Assertions.cpp:329 #1 in WebCore::Position::offsetInContainerNode (this=0x7fffffffc470) at Source/WebCore/dom/Position.h:108 #2 in WebCore::ApplyStyleCommand::removeInlineStyle (this=0x836490, style=0x8365c0, start=..., end=...) at Source/WebCore/editing/ApplyStyleCommand.cpp:1146 #3 in WebCore::ApplyStyleCommand::applyInlineStyle (this=0x836490, style=0x8365c0) at Source/WebCore/editing/ApplyStyleCommand.cpp:635 #4 in WebCore::ApplyStyleCommand::doApply (this=0x836490) at Source/WebCore/editing/ApplyStyleCommand.cpp:218 #5 in WebCore::CompositeEditCommand::applyCommandToComposite (this=0x84e600, prpCommand=...) at Source/WebCore/editing/CompositeEditCommand.cpp:278 #6 in WebCore::RemoveFormatCommand::doApply (this=0x84e600) at Source/WebCore/editing/RemoveFormatCommand.cpp:93 #7 in WebCore::CompositeEditCommand::apply (this=0x84e600) at Source/WebCore/editing/CompositeEditCommand.cpp:227 #8 in WebCore::applyCommand (command=...) at Source/WebCore/editing/CompositeEditCommand.cpp:182 #9 in WebCore::Editor::removeFormattingAndStyle (this=0x727ea0) at Source/WebCore/editing/Editor.cpp:903 #10 in WebCore::executeRemoveFormat (frame=...) at Source/WebCore/editing/EditorCommand.cpp:985 #11 in WebCore::Editor::Command::execute (this=0x7fffffffc7e0, parameter=..., triggeringEvent=0x0) at Source/WebCore/editing/EditorCommand.cpp:1740 #12 in WebCore::Document::execCommand (this=0x765f20, commandName=..., userInterface=true, value=...) at Source/WebCore/dom/Document.cpp:4276 #13 in WebCore::jsDocumentPrototypeFunctionExecCommand (exec=0x7fffffffc8d0) at WebKitBuild/Debug/DerivedSources/WebCore/JSDocument.cpp:4526 #14 in ?? () #15 in ?? () #16 in llint_entry () from WebKitBuild/Debug/lib/libjavascriptcore_efl.so.1
Attachments
Test
(259 bytes, text/html)
2014-08-19 02:13 PDT
,
Martin Hodovan
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Renata Hodovan
Comment 1
2014-09-08 06:03:54 PDT
*** This bug has been marked as a duplicate of
bug 121497
***
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