mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset a3e1f186d06a (bug 811747)
This commit is contained in:
parent
cbb200d9a8
commit
d7292e66b4
@ -2,7 +2,7 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
from marionette_test import MarionetteTestCase, skip_if_b2g
|
||||
from marionette_test import MarionetteTestCase
|
||||
|
||||
class TestPageSource(MarionetteTestCase):
|
||||
def testShouldReturnTheSourceOfAPage(self):
|
||||
@ -12,12 +12,6 @@ class TestPageSource(MarionetteTestCase):
|
||||
self.assertTrue("<html" in source)
|
||||
self.assertTrue("PageSource" in source)
|
||||
|
||||
def testShouldReturnTheSourceOfAPageWhenThereAreUnicodeChars(self):
|
||||
test_html = self.marionette.absolute_url("testPageSourceWithUnicodeChars.html")
|
||||
self.marionette.navigate(test_html)
|
||||
# if we don't throw on the next line we are good!
|
||||
self.marionette.page_source
|
||||
|
||||
def testShouldReturnAXMLDocumentSource(self):
|
||||
test_xml = self.marionette.absolute_url("testPageSource.xml")
|
||||
self.marionette.navigate(test_xml)
|
||||
@ -25,7 +19,6 @@ class TestPageSource(MarionetteTestCase):
|
||||
import re
|
||||
self.assertEqual(re.sub("\s", "", source), "<xml><foo><bar>baz</bar></foo></xml>")
|
||||
|
||||
|
||||
class TestPageSourceChrome(MarionetteTestCase):
|
||||
def setUp(self):
|
||||
MarionetteTestCase.setUp(self)
|
||||
|
@ -87,7 +87,7 @@ browser = false
|
||||
[test_switch_remote_frame.py]
|
||||
browser = false
|
||||
[test_pagesource.py]
|
||||
b2g = false
|
||||
|
||||
[test_visibility.py]
|
||||
[test_window_switching.py]
|
||||
b2g = false
|
||||
|
@ -1,11 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta http-equiv="pragma" content="no-cache"/>
|
||||
<!--
|
||||
- the « section[id^="wifi-"] » selector.
|
||||
-->
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user