Bug 1048752. Part 38: Adjust test annotation for fixed assertion. r=tn
authorRobert O'Callahan <robert@ocallahan.org>
Wed, 06 Aug 2014 17:19:32 +1200
changeset 199975 0f357d9f3cdd40b02bac7524ab22e31051ec2e73
parent 199974 9ebca84edc238335818194baf802d0102647f1f6
child 199976 f016da18b8990d8b051d7338e2e9282755d1130e
push id9784
push userryanvm@gmail.com
push dateSat, 16 Aug 2014 21:45:40 +0000
treeherderb2g-inbound@94ba78a42305 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstn
bugs1048752
milestone34.0a1
Bug 1048752. Part 38: Adjust test annotation for fixed assertion. r=tn This test used to assert because we tried to get frame geometry during a caret update while the frame was dirty. That no longer happens since now we only try to get frame geometry during a paint. During a paint, frames can still be dirty so this assertion could still be triggered, and we should probably fix that eventually, but it would only happen during an interrupted layout which is quite rare.
editor/libeditor/html/tests/test_bug599322.html
--- a/editor/libeditor/html/tests/test_bug599322.html
+++ b/editor/libeditor/html/tests/test_bug599322.html
@@ -16,18 +16,16 @@ https://bugzilla.mozilla.org/show_bug.cg
 <div id="src">src<img src="/tests/editor/libeditor/html/tests/green.png"></div>
 <iframe id="dst" src="javascript:;"></iframe>
 </div>
 <pre id="test">
 <script type="application/javascript">
 
 /** Test for Bug 599322.patch **/
 
-SimpleTest.expectAssertions(1);
-
 SimpleTest.waitForExplicitFinish();
 addLoadEvent(function() {
   var src = document.getElementById("src");
   var dst = document.getElementById("dst");
   var doc = dst.contentDocument;
   doc.open();
   doc.write("<html><head><base href='http://mochi.test:8888/'></head><body></body></html>");
   doc.close();