<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[186627] branches/safari-600.8-branch</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/186627">186627</a></dd>
<dt>Author</dt> <dd>matthew_hanson@apple.com</dd>
<dt>Date</dt> <dd>2015-07-09 14:03:20 -0700 (Thu, 09 Jul 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>Merge <a href="http://trac.webkit.org/projects/webkit/changeset/186560">r186560</a>. rdar://problem/21716387</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#branchessafari6008branchLayoutTestsChangeLog">branches/safari-600.8-branch/LayoutTests/ChangeLog</a></li>
<li><a href="#branchessafari6008branchSourceWebCoreChangeLog">branches/safari-600.8-branch/Source/WebCore/ChangeLog</a></li>
<li><a href="#branchessafari6008branchSourceWebCorerenderinglineBreakingContextInlineHeadersh">branches/safari-600.8-branch/Source/WebCore/rendering/line/BreakingContextInlineHeaders.h</a></li>
<li><a href="#branchessafari6008branchSourceWebCorerenderinglineLineBreakercpp">branches/safari-600.8-branch/Source/WebCore/rendering/line/LineBreaker.cpp</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#branchessafari6008branchLayoutTestsfasttexttextcombinecrashexpectedtxt">branches/safari-600.8-branch/LayoutTests/fast/text/text-combine-crash-expected.txt</a></li>
<li><a href="#branchessafari6008branchLayoutTestsfasttexttextcombinecrashhtml">branches/safari-600.8-branch/LayoutTests/fast/text/text-combine-crash.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="branchessafari6008branchLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-600.8-branch/LayoutTests/ChangeLog (186626 => 186627)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-600.8-branch/LayoutTests/ChangeLog        2015-07-09 21:03:16 UTC (rev 186626)
+++ branches/safari-600.8-branch/LayoutTests/ChangeLog        2015-07-09 21:03:20 UTC (rev 186627)
</span><span class="lines">@@ -1,5 +1,24 @@
</span><span class="cx"> 2015-07-09 Matthew Hanson <matthew_hanson@apple.com>
</span><span class="cx">
</span><ins>+ Merge r186560. rdar://problem/21716387
+
+ 2015-07-08 Matthew Hanson <matthew_hanson@apple.com>
+
+ Merge r184653. rdar://problem/21716528
+
+ 2015-05-20 Antti Koivisto <antti@apple.com>
+
+ Assertion failure in WebCore::BidiRun::BidiRun()
+ https://bugs.webkit.org/show_bug.cgi?id=145203
+ rdar://problem/20958973
+
+ Reviewed by Andreas Kling.
+
+ * fast/text/text-combine-crash-expected.txt: Added.
+ * fast/text/text-combine-crash.html: Added.
+
+2015-07-09 Matthew Hanson <matthew_hanson@apple.com>
+
</ins><span class="cx"> Merge r186557. rdar://problem/21716382
</span><span class="cx">
</span><span class="cx"> 2015-07-08 Matthew Hanson <matthew_hanson@apple.com>
</span></span></pre></div>
<a id="branchessafari6008branchLayoutTestsfasttexttextcombinecrashexpectedtxt"></a>
<div class="addfile"><h4>Added: branches/safari-600.8-branch/LayoutTests/fast/text/text-combine-crash-expected.txt (0 => 186627)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-600.8-branch/LayoutTests/fast/text/text-combine-crash-expected.txt         (rev 0)
+++ branches/safari-600.8-branch/LayoutTests/fast/text/text-combine-crash-expected.txt        2015-07-09 21:03:20 UTC (rev 186627)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+CONSOLE MESSAGE: line 149: TypeError: undefined is not an object (evaluating 'document.forms[2].__lookupGetter__')
+CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token '&'
+Test passes if there's no crash.
+
+foo 
+
+
+Errlog webtest_fn_1: TypeError: undefined is not an object (evaluating 'document.applets[0].addEventListener')
+Errlog webtest_fn_2: NotFoundError: NotFoundError: DOM Exception 8
+Errlog webtest_fn_3: TypeError: undefined is not an object (evaluating 'document.images[2].contentEditable="true"')
+Errlog webtest_fn_8: TypeError: null is not an object (evaluating 'lis.length')
+Errlog webtest_fn_9: TypeError: undefined is not an object (evaluating 'document.anchors[4].setAttribute')
+Errlog webtest_fn_10: NotFoundError: NotFoundError: DOM Exception 8
+Errlog webtest_fn_15: NotFoundError: NotFoundError: DOM Exception 8
+Errlog webtest_fn_16: TypeError: undefined is not an object (evaluating 'elem.parentNode')
+Errlog webtest_fn_18: TypeError: undefined is not an object (evaluating 'document.applets[0].contentEditable="true"')
+Errlog webtest_fn_21: TypeError: undefined is not an object (evaluating 'document.anchors[4].appendChild')
+
+Errlog webtest_fn_24: HierarchyRequestError: HierarchyRequestError: DOM Exception 3
+Errlog webtest_fn_25: ReferenceError: Can't find variable: node_16
+
</ins></span></pre></div>
<a id="branchessafari6008branchLayoutTestsfasttexttextcombinecrashhtml"></a>
<div class="addfile"><h4>Added: branches/safari-600.8-branch/LayoutTests/fast/text/text-combine-crash.html (0 => 186627)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-600.8-branch/LayoutTests/fast/text/text-combine-crash.html         (rev 0)
+++ branches/safari-600.8-branch/LayoutTests/fast/text/text-combine-crash.html        2015-07-09 21:03:20 UTC (rev 186627)
</span><span class="lines">@@ -0,0 +1,579 @@
</span><ins>+<html id="webtest0">
+<head id="webtest1">
+<style id="webtest2">
+body * {
+ -webkit-writing-mode: vertical-lr;
+ -webkit-text-combine: horizontal;
+}
+#test {
+ height: 7px;
+ white-space: pre-wrap;
+}
+</style>
+<script id="webtest3">
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+function runTest() {
+ document.body.offsetTop;
+ var testContainer = document.getElementById('test');
+ testContainer.parentNode.removeChild(testContainer);
+}
+</script>
+</head>
+<body class="wf_class2" id="webtest4" onload='runTest()'><p id="webtest5">Test passes if there's no crash.</p>
+<!-- The empty scripts tags are needed<script>
+function webtest_fn_12() {
+try {
+var head = document.getElementsByTagName("head")[0];
+var style = document.createElement("style");
+style.innerHTML="@media speech {<script>
+function webtest_fn_34() {
+document.getElementById("webtest6").appendChild(document.createElementNS("http://www.w3.org/TR/html5/", "u")).name=document.applets[0].lookupNamespacePrefix("nonzero", document.body);
+}
+webtest_fn_34();
+</script>
+-webkit-flex-order:1024;max-zoom:9223372036854775808%;}";
+head.appendChild(style);
+} catch(e) {
+ document.write("Errlog webtest_fn_12: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_12();
+</script>
+ to split the RenderCombineText and reproduce the bug. -->
+<div id="test"><p id="webtest6">foo <script id="webtest7"></script>
+ <script id="webtest8"></script>
+</p>
+</div>
+</body><script>
+function webtest_fn_1() {
+try {
+document.applets[0].addEventListener("decrypt", decodeURIComponent, true);
+} catch(e) {
+ document.write("Errlog webtest_fn_1: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_1();
+</script>
+<script>
+function webtest_fn_2() {
+try {
+var range = document.createRange();
+
+range.setStartBefore(document.links[2]);
+range.setEndAfter(document.links[2]);
+range.deleteContents();
+range.surroundContents(document.body);
+var frag = range.cloneContents();
+range.setStartAfter(document.getElementById("webtest1"));
+range.detach();
+range.setEndBefore(document.scripts[1]);
+range.commonAncestorContainer;} catch(e) {
+ document.write("Errlog webtest_fn_2: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_2();
+</script>
+<script>
+function webtest_fn_3() {
+try {
+document.designMode = "off";
+document.images[2].contentEditable="true";
+document.images[2].contentDocument.execCommand("Italic", true, "&#x02ae;&#x0101;&#x012c;&#x01dd;&#x02ea;&#x01ed;&#x0032;&#x95fe;&#x016b;&#x00b2;&#x00cf;&#x0004;&#x006f;&#x01b0;&#x00a8;&#x00f3;&#x00b4;&#x8571;");
+document.getElementById("webtest4").contentEditable="true";
+document.getElementById("webtest4").contentDocument.execCommand("DecreaseFontSize", false, "Arial");
+document.getElementById("webtest1").appendChild(document.createComment("comment")).contentEditable="true";
+document.getElementById("webtest1").appendChild(document.createComment("comment")).contentDocument.execCommand("Redo", false, null);
+document.execCommand("Subscript", false, null);
+document.execCommand("RemoveFormat", false, null);
+document.forms[2].contentEditable="true";
+document.forms[2].contentDocument.execCommand("JustifyRight", true, null);
+document.execCommand("Cut", false, null);
+} catch(e) {
+ document.write("Errlog webtest_fn_3: " + e.name + ": " + e.message + "<br><hgroup/>");
+}
+}
+webtest_fn_3();
+</script>
+<script>
+function webtest_fn_4() {
+var head = document.getElementsByTagName("head")[0];
+var style = document.createElement("style");
+style.innerHTML="#test {-webkit-box-reflect:above -1073741824pt url(javascript:function(){location.reload()}()) 2147483519mm 0xffffffffpt 4611686018427387904% -4294967295cm round stretch;-webkit-line-break:loose;z-index:-32768;-webkit-text-justify:&#x0270;&#x02c8;;}";
+head.appendChild(style);
+}
+webtest_fn_4();
+</script>
+<script>
+function webtest_fn_5() {
+try {
+var elem = document.getElementById("webtest4");
+var rnd = [57,98,39,50,83,30,84,18,73,85];
+var modified = false;
+for (var i = 0; i < elem.attributes.length; i++) {
+ if (elem.attributes[i].specified && elem.attributes[i].name != "id") {
+ if (rnd[i] < 20) {
+ elem.removeAttribute(elem.attributes[i].name);
+ i--;
+ modified = true;
+ } else if (rnd[i] < 40) {
+ elem.setAttribute(elem.attributes[i].name, '1024');
+ modified = true;
+ }
+ }
+}
+
+if (! modified) {
+ elem.setAttribute('onmouseup', 'function() {document.applets[0].compareDocumentPosition(false);}');
+}
+
+} catch(e) {
+ document.write("Errlog webtest_fn_5: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_5();
+</script>
+<script>
+function webtest_fn_6() {
+var head = document.getElementsByTagName("head")[0];
+style = document.createElement("style");
+var rule = document.createTextNode("* {-webkit-flex-wrap:no-wrap;-webkit-mask-repeat-y:left ! important;-webkit-transition-duration:65536;}");
+style.appendChild(rule);
+head.appendChild(style);
+}
+webtest_fn_6();
+</script>
+<script>
+function webtest_fn_7() {
+delete document.forms[2].__lookupGetter__("frameRate");
+}
+webtest_fn_7();
+</script>
+<script>
+function webtest_fn_8() {
+try {
+for (wf_i=0;wf_i<78;wf_i++) {
+var lis = document.querySelector("*|:nth-last-of-type(65536n-1024)");
+for (var i = 0; i < lis.length; i++) {
+ lis.item(i).parentNode.removeChild(lis.item(i));
+}
+}
+} catch(e) {
+ document.write("Errlog webtest_fn_8: " + e.name + ": " + e.message + "<br><cite></cite>");
+}
+}
+webtest_fn_8();
+</script>
+<script>
+function webtest_fn_9() {
+try {
+document.anchors[4].setAttribute("style", "overflow: scroll");
+document.anchors[4].scrollLeft = 32769;
+document.anchors[4].scrolltop = 1024;
+} catch(e) {
+ document.write("Errlog webtest_fn_9: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_9();
+</script>
+<script>
+function webtest_fn_10() {
+try {
+var range = document.createRange();
+
+range.setStartBefore(document.body);
+range.setEndAfter(document.body);
+range.collapse(false);
+range.collapse(false);
+range.setStartAfter(document.forms[2]);
+} catch(e) {
+ document.write("Errlog webtest_fn_10: " + e.name + ": " + e.message + "<br><em></em>");
+}
+}
+webtest_fn_10();
+</script>
+<script>
+function webtest_fn_11() {
+try {
+document.hasChildNodes();
+} catch(e) {
+ document.write("Errlog webtest_fn_11: " + e.name + ": " + e.message + "<br><form/>");
+}
+}
+webtest_fn_11();
+</script>
+<script>
+function webtest_fn_13() {
+for (wf_i=0;wf_i<43;wf_i++) {
+var elem = document.getElementById("webtest6").appendChild(document.createElementNS("http://www.w3.org/TR/html5/", "u"));
+var rnd = [72,67,25,48,94,4,25,25,71,47];
+var modified = false;
+for (var i = 0; i < elem.attributes.length; i++) {
+ if (elem.attributes[i].specified && elem.attributes[i].name != "id") {
+ if (rnd[i] < 20) {
+ elem.removeAttribute(elem.attributes[i].name);
+ i--;
+ modified = true;
+ } else if (rnd[i] < 40) {
+ elem.setAttribute(elem.attributes[i].name, '\u68b0\ue9ad');
+ modified = true;
+ }
+ }
+}
+
+if (! modified) {
+ elem.setAttribute('nohref', 'nohref');
+}
+
+}
+}
+webtest_fn_13();
+</script>
+<script>
+function webtest_fn_14() {
+try {
+var elem = document.getElementById("webtest7");
+for (i in elem.childNodes) {
+ if (elem.childNodes[i].nodeType == Node.TEXT_NODE) {
+ elem.removeChild(elem.childNodes[i]);
+ }
+}
+elem.appendChild(document.createTextNode('&#x020e;&#xc148;&#x0222;&#x0270;&#x0270;&#x0142;&#x013c;&#x0268;&#x0157;&#x0255;&#x02ef;&#x0091;&#x025f;&#x00e4;&#x0181;&#x01b7;'));
+} catch(e) {
+ document.write("Errlog webtest_fn_14: " + e.name + ": " + e.message + "<br><main></main>");
+}
+}
+webtest_fn_14();
+</script>
+<script>
+function webtest_fn_15() {
+try {
+for (wf_i=0;wf_i<71;wf_i++) {
+document.designMode = "off";
+document.execCommand("SelectAll");
+document.execCommand("Delete", true, 0);
+var range = document.createRange();
+range.setStart(document.applets[0], 4);
+range.setEnd(document.getElementById("webtest0"), 2);
+range.execCommand("Indent", true, false);
+range = document.createRange();
+range.setStart(document.appendChild(document.createElement("style")).nextSibling, 8);
+range.setEnd(document.getElementById("webtest5"), 8);
+range.execCommand("FormatBlock", false, null);
+document.execCommand("InsertBrOnReturn", false, null);
+document.getElementById("webtest6").appendChild(document.createElementNS("http://www.w3.org/TR/html5/", "u")).contentEditable="true";
+document.getElementById("webtest6").appendChild(document.createElementNS("http://www.w3.org/TR/html5/", "u")).contentDocument.execCommand("styleWithCSS", true, "Arial");
+document.execCommand("InsertParagraph", true, null);
+document.execCommand("InsertOrderedList", true, null);
+range = document.createRange();
+range.setStart(document.getElementById("webtest1"), 0);
+range.setEnd(document.getElementById("webtest1").appendChild(document.createComment("comment")), 7);
+range.execCommand("Unlink", false, null);
+document.contentEditable="true";
+document.contentDocument.execCommand("Undo", false, null);
+}
+} catch(e) {
+ document.write("Errlog webtest_fn_15: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_15();
+</script>
+<script>
+function webtest_fn_16() {
+try {
+var elem = document.links[2];
+elem.parentNode.removeChild(elem);
+document.styleSheets[2].insertBefore(elem, document.styleSheets[2].childNodes[5]);
+} catch(e) {
+ document.write("Errlog webtest_fn_16: " + e.name + ": " + e.message + "<br><q/>");
+}
+}
+webtest_fn_16();
+</script>
+<script>
+function webtest_fn_17() {
+try {
+for (var i = 0; i < 10000; i++) {
+ var s = new String("AAAA" + Math.random());
+}
+var elems = document.querySelectorAll("*");
+a=[];
+for (i = 0; i < elems.length; i++) {
+ elems[i];
+}
+} catch(e) {
+ document.write("Errlog webtest_fn_17: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_17();
+</script>
+<script>
+function webtest_fn_18() {
+try {
+document.designMode = "off";
+document.execCommand("SelectAll");
+document.applets[0].contentEditable="true";
+document.applets[0].contentDocument.execCommand("CreateLink", true, null);
+document.getElementById("webtest3").contentEditable="true";
+document.getElementById("webtest3").contentDocument.execCommand("Cut", true, null);
+document.execCommand("InsertNewlineInQuotedContent", true, true);
+document.execCommand("BackColor", false, "Arial");
+} catch(e) {
+ document.write("Errlog webtest_fn_18: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_18();
+</script>
+<script>
+function webtest_fn_19() {
+document.getElementById("webtest8").setAttribute("style","-webkit-animation-direction:alternate;-webkit-margin-top-collapse:separate;-webkit-column-width:auto;");
+}
+webtest_fn_19();
+</script>
+<script>
+function webtest_fn_20() {
+var new_elem = document.createElement("image");
+new_elem.setAttribute("id", "webtest12");
+new_elem.setAttribute('width', '1073741823');
+document.getElementById("webtest7").appendChild(document.createTextNode("data")).parentNode.insertBefore(new_elem, document.getElementById("webtest7").appendChild(document.createTextNode("data")).nextSibling);
+}
+webtest_fn_20();
+</script>
+<script>
+function webtest_fn_21() {
+try {
+var scroll_84 = document.createElement("bgsound");
+scroll_84.setAttribute("id", "webtest13");
+document.anchors[4].appendChild(scroll_84);
+scroll_84.setAttribute("style", "overflow: scroll; direction: rtl");
+scroll_84.scrollLeft = -2147483519;
+scroll_84.scrolltop = 4611686018427387904;
+} catch(e) {
+ document.write("Errlog webtest_fn_21: " + e.name + ": " + e.message + "<br><br>");
+}
+}
+webtest_fn_21();
+</script>
+<script>
+function webtest_fn_22() {
+try {
+var new_elem = document.createElement("acronym");
+new_elem.setAttribute("id", "webtest14");
+new_elem.setAttribute('aria-valuetext', '2x');
+new_elem.setAttribute('prompt', 'D3{o2]X');
+new_elem.setAttribute('itemid', 'http://&#x02de;&#x0116;');
+new_elem.setAttribute('aria-expanded', 'aria-expanded');
+document.documentElement.insertBefore(new_elem, document.documentElement.childNodes[6]);
+} catch(e) {
+ document.write("Errlog webtest_fn_22: " + e.name + ": " + e.message + "<br><noframes>");
+}
+}
+webtest_fn_22();
+</script>
+<script>
+function webtest_fn_23() {
+try {
+scroll_21 = document.createElement("iframe");
+scroll_21.setAttribute("id", "webtest15");
+document.getElementById("webtest6").appendChild(document.createElementNS("http://www.w3.org/TR/html5/", "u")).insertBefore(scroll_21, document.getElementById("webtest6").appendChild(document.createElementNS("http://www.w3.org/TR/html5/", "u")).childNodes[6]);
+scroll_21.scrollLeft = 128;
+scroll_21.scrolltop = 1073741824;
+} catch(e) {
+ document.write("Errlog webtest_fn_23: " + e.name + ": " + e.message + "<br><nav>");
+}
+}
+webtest_fn_23();
+</script>
+<script>
+function webtest_fn_24() {
+try {
+node_16 = document.getElementById("webtest5").appendChild(document.createAttribute("wfattr"));
+} catch(e) {
+ document.write("Errlog webtest_fn_24: " + e.name + ": " + e.message + "<br><fieldset>");
+}
+}
+webtest_fn_24();
+</script>
+<script>
+function webtest_fn_25() {
+try {
+var range = document.createRange();
+
+range.setStartBefore(document.body);
+range.setEndAfter(document.body);
+range.insertNode(document.getElementById("webtest5"));
+range.setStartAfter(node_16);
+range.commonAncestorContainer;range.selectNodeContents(document.appendChild(document.createElement("style")).nextSibling);
+range.setEndAfter(document.getElementById("webtest13"));
+range.setStartBefore(document.getElementById("webtest6"));
+range.detach();
+} catch(e) {
+ document.write("Errlog webtest_fn_25: " + e.name + ": " + e.message + "<br><applet>");
+}
+}
+webtest_fn_25();
+</script>
+<script>
+function webtest_fn_26() {
+try {
+var elem = document.getElementById("webtest2");
+var rnd = [12,72,16,20,5,39,62,33,54,8];
+var modified = false;
+for (var i = 0; i < elem.attributes.length; i++) {
+ if (elem.attributes[i].specified && elem.attributes[i].name != "id") {
+ if (rnd[i] < 20) {
+ elem.removeAttribute(elem.attributes[i].name);
+ i--;
+ modified = true;
+ } else if (rnd[i] < 40) {
+ elem.setAttribute(elem.attributes[i].name, '-11111111111111111111111.1');
+ modified = true;
+ }
+ }
+}
+
+if (! modified) {
+ elem.setAttribute('wrap', 'soft');
+}
+
+} catch(e) {
+ document.write("Errlog webtest_fn_26: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_26();
+</script>
+<script>
+function webtest_fn_27() {
+try {
+document.designMode = "on";
+document.body.contentEditable="true";
+document.body.contentDocument.execCommand("Underline", true, "Arial");
+document.execCommand("FontSize", false, "red");
+document.execCommand("FormatBlock", true, null);
+} catch(e) {
+ document.write("Errlog webtest_fn_27: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_27();
+</script>
+<script>
+function webtest_fn_28() {
+try {
+document.getElementById("webtest12").hasOwnProperty("secureConnectionStart");
+} catch(e) {
+ document.write("Errlog webtest_fn_28: " + e.name + ": " + e.message + "<br><col/>");
+}
+}
+webtest_fn_28();
+</script>
+<script>
+function webtest_fn_29() {
+try {
+for (var i = 0; i < 10000; i++) {
+ var s = new String("AAAA" + Math.random());
+}
+var elems = document.querySelectorAll("*|*");
+a=[];
+for (i = 0; i < elems.length; i++) {
+ elems[i].setAttribute("name", "name" + i);
+}
+} catch(e) {
+ document.write("Errlog webtest_fn_29: " + e.name + ": " + e.message + "<br><th></th>");
+}
+}
+webtest_fn_29();
+</script>
+<script>
+function webtest_fn_30() {
+try {
+document.getElementById("webtest15").setAttribute("style","text-rendering:optimizeSpeed;");
+document.getElementById("webtest15").appendChild(document.createTextNode('description'));
+} catch(e) {
+ document.write("Errlog webtest_fn_30: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_30();
+</script>
+<script>
+function webtest_fn_31() {
+try {
+var evt = document.createEvent("ProgressEvent");
+evt.initProgressEvent("loadstart", false, true, true, 0xffffffff, -16384);
+document.dispatchEvent(evt);
+} catch(e) {
+ document.write("Errlog webtest_fn_31: " + e.name + ": " + e.message + "<br><dcol>");
+}
+}
+webtest_fn_31();
+</script>
+<script>
+function webtest_fn_32() {
+try {
+var lis = window.frames[2].querySelectorAll(":in-range");
+for (var i = 0; i < lis.length; i++) {
+ lis.item(i).cloneNode(true);
+}
+} catch(e) {
+ document.write("Errlog webtest_fn_32: " + e.name + ": " + e.message + "<br><button>");
+}
+}
+webtest_fn_32();
+</script>
+<script>
+function webtest_fn_33() {
+try {
+var range = document.createRange();
+
+range.setStartBefore(document.querySelector(":first + :first-of-type > th:horizontal"));
+range.setEndAfter(document.getElementById("webtest5").appendChild(document.createAttribute("wfattr")));
+range.setEnd(document.getElementById("webtest3"), 4);
+var frag = range.cloneContents();
+range.insertNode(document.styleSheets[2]);
+range.setEndAfter(document.getElementById("webtest14"));
+range.detach();
+range.toString();
+range.toString();
+var frag = range.extractContents();
+range.toString();
+range.setStart(document.anchors[4], 6);
+} catch(e) {
+ document.write("Errlog webtest_fn_33: " + e.name + ": " + e.message + "<br><textarea>");
+}
+}
+webtest_fn_33();
+</script>
+<script>
+function webtest_fn_35() {
+try {
+elem = document.appendChild(document.createElement("style")).nextSibling;
+for (i in elem.childNodes) {
+ if (elem.childNodes[i].nodeType == Node.TEXT_NODE) {
+ elem.removeChild(elem.childNodes[i]);
+ }
+}
+elem.appendChild(document.createTextNode('1023'));
+} catch(e) {
+ document.write("Errlog webtest_fn_35: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_35();
+</script>
+<script>
+function webtest_fn_36() {
+try {
+document.getElementById("webtest14").style.background="-webkit-canvas(webtest17)";
+var ctx = document.getCSSCanvasContext("2d", "webtest17", 8192, 6166);
+ctx.arcTo(1431655766, -1073741824, -0xffffffff, 65535, 32768);
+ctx.isPointInStroke(new DOMPath(), 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.1, 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.1);
+ctx.bezierCurveTo(document.applets[0].appendChild(document.createElement("style")).compareDocumentPosition(document.getElementById("webtest1").appendChild(document.createElement("col")).appendChild(document.createElement("legend")).translate), -65535, 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111, 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111, 32769, 4611686018427387904);
+ctx.miterLimit = 128;
+ctx.drawFocusRing(document.getElementById("test").appendChild(document.createElement("object")).nextElementSibling, Infinity, window.frames[2].appendChild(document.createElement("fedistantlight")).clientTop, document.querySelector(":first + :first-of-type > th:horizontal").appendChild(document.createElement("path")).ownerDocument.hasOwnProperty("secureConnectionStart"));
+ctx.lineTo(-32767, document.getElementById("webtest5").appendChild(document.createElement("textcontent")).scrollLeft);
+ctx.setLineJoin(String.fromCharCode(-16384));
+} catch(e) {
+ document.write("Errlog webtest_fn_36: " + e.name + ": " + e.message + "<br>");
+}
+}
+webtest_fn_36();
+</script>
</ins></span></pre></div>
<a id="branchessafari6008branchSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-600.8-branch/Source/WebCore/ChangeLog (186626 => 186627)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-600.8-branch/Source/WebCore/ChangeLog        2015-07-09 21:03:16 UTC (rev 186626)
+++ branches/safari-600.8-branch/Source/WebCore/ChangeLog        2015-07-09 21:03:20 UTC (rev 186627)
</span><span class="lines">@@ -1,5 +1,34 @@
</span><span class="cx"> 2015-07-09 Matthew Hanson <matthew_hanson@apple.com>
</span><span class="cx">
</span><ins>+ Merge r186560. rdar://problem/21716387
+
+ 2015-07-08 Matthew Hanson <matthew_hanson@apple.com>
+
+ Merge r184653. rdar://problem/21716528
+
+ 2015-05-20 Antti Koivisto <antti@apple.com>
+
+ Assertion failure in WebCore::BidiRun::BidiRun()
+ https://bugs.webkit.org/show_bug.cgi?id=145203
+ rdar://problem/20958973
+
+ Reviewed by Andreas Kling.
+
+ Test: fast/text/text-combine-crash.html
+
+ * rendering/line/BreakingContext.h:
+ (WebCore::BreakingContext::handleText):
+
+ Renove !isCombined() check. RenderCombineText::combineText() doesn't
+ do any work unless needed and text may become uncombined too.
+
+ * rendering/line/LineBreaker.cpp:
+ (WebCore::LineBreaker::skipLeadingWhitespace):
+
+ Same here.
+
+2015-07-09 Matthew Hanson <matthew_hanson@apple.com>
+
</ins><span class="cx"> Merge r186558. rdar://problem/21716436
</span><span class="cx">
</span><span class="cx"> 2015-07-08 Matthew Hanson <matthew_hanson@apple.com>
</span></span></pre></div>
<a id="branchessafari6008branchSourceWebCorerenderinglineBreakingContextInlineHeadersh"></a>
<div class="modfile"><h4>Modified: branches/safari-600.8-branch/Source/WebCore/rendering/line/BreakingContextInlineHeaders.h (186626 => 186627)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-600.8-branch/Source/WebCore/rendering/line/BreakingContextInlineHeaders.h        2015-07-09 21:03:16 UTC (rev 186626)
+++ branches/safari-600.8-branch/Source/WebCore/rendering/line/BreakingContextInlineHeaders.h        2015-07-09 21:03:20 UTC (rev 186627)
</span><span class="lines">@@ -598,7 +598,7 @@
</span><span class="cx"> if (m_autoWrap && !RenderStyle::autoWrap(m_lastWS) && m_ignoringSpaces)
</span><span class="cx"> commitLineBreakAtCurrentWidth(m_current.renderer());
</span><span class="cx">
</span><del>- if (renderText->style().hasTextCombine() && m_current.renderer()->isCombineText() && !toRenderCombineText(*m_current.renderer()).isCombined()) {
</del><ins>+ if (renderText->style().hasTextCombine() && m_current.renderer()->isCombineText()) {
</ins><span class="cx"> RenderCombineText& combineRenderer = toRenderCombineText(*m_current.renderer());
</span><span class="cx"> combineRenderer.combineText();
</span><span class="cx"> // The length of the renderer's text may have changed. Increment stale iterator positions
</span></span></pre></div>
<a id="branchessafari6008branchSourceWebCorerenderinglineLineBreakercpp"></a>
<div class="modfile"><h4>Modified: branches/safari-600.8-branch/Source/WebCore/rendering/line/LineBreaker.cpp (186626 => 186627)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-600.8-branch/Source/WebCore/rendering/line/LineBreaker.cpp        2015-07-09 21:03:16 UTC (rev 186626)
+++ branches/safari-600.8-branch/Source/WebCore/rendering/line/LineBreaker.cpp        2015-07-09 21:03:20 UTC (rev 186627)
</span><span class="lines">@@ -67,7 +67,7 @@
</span><span class="cx"> }
</span><span class="cx"> } else if (object.isFloating())
</span><span class="cx"> m_block.positionNewFloatOnLine(m_block.insertFloatingObject(toRenderBox(object)), lastFloatFromPreviousLine, lineInfo, width);
</span><del>- else if (object.isText() && object.style().hasTextCombine() && object.isCombineText() && !toRenderCombineText(object).isCombined()) {
</del><ins>+ else if (object.style().hasTextCombine() && object.isCombineText()) {
</ins><span class="cx"> toRenderCombineText(object).combineText();
</span><span class="cx"> if (toRenderCombineText(object).isCombined())
</span><span class="cx"> continue;
</span></span></pre>
</div>
</div>
</body>
</html>