Lines Matching refs:html
179 m_view->setHtml(QString("<html><body><form name='tstform' action='data:text/html,foo'method='get'>"
180 "<input type='text'><input type='submit'></form></body></html>"), QUrl());
212 m_view->setHtml(QString("<html><bodytest</body></html>"), QUrl());
223 m_view->setHtml(QString("data:text/html,<frameset cols=\"25%,75%\"><frame src=\"data:text/html,"
225 "<frame src=\"data:text/html,bar\"></frameset>"), QUrl());
233 m_view->setHtml(QString("data:text/html,<frameset cols=\"25%,75%\"><frame src=\"data:text/html,"
234 "foo \"><frame src=\"data:text/html,bar\"></frameset>"), QUrl());
301 m_view->setUrl(QString("data:text/html,<a href=\"data:text/html,Reached\" target=\"_blank\">Click me</a>"));
316 QCOMPARE(n.request.url().toString(), QString("data:text/html,Reached"));
355 m_page->mainFrame()->setUrl(QUrl("data:text/html,<body>blub"));
358 m_page->mainFrame()->setUrl(QUrl("data:text/html,<body id=foo contenteditable>blah"));
400 m_page->mainFrame()->setUrl(QUrl("data:text/html,<body>This is second page"));
401 m_page->mainFrame()->setUrl(QUrl("data:text/html,<body>This is third page"));
403 m_page->mainFrame()->setUrl(QUrl("data:text/html,<body>This is fourth page"));
405 m_page->mainFrame()->setUrl(QUrl("data:text/html,<body>This is fifth page"));
443 m_view->setHtml(QString("<html><head><script>var db; db=openDatabase('testdb', '1.0', 'test database API', 50000); </script></head><body><div></div></body></html>"), QUrl("http://www.myexample.com"));
449 m_view->setHtml(QString("<html><body id='b'>text</body></html>"), QUrl("http://www.myexample.com"));
455 m_view->setHtml(QString("<html><body id='b'>text</body></html>"), QUrl("http://www.myexample.com"));
459 m_view->setHtml(QString("<html><head></head><body><div></div></body></html>"), QUrl("http://www.myexample.com"));
526 m_view->setHtml(QString("<html><body><object type='application/x-qt-plugin' classid='pushbutton' id='mybutton'/></body></html>"));
533 m_view->setHtml(QString("<html><body><object type='application/x-foobarbaz' classid='pushbutton' id='mybutton'/></body></html>"));
537 m_view->setHtml(QString("<html><body><object type='application/x-qt-plugin' classid='pushbutton' id='mybutton'/></body></html>"));
569 m_view->setHtml(QString("<html><body><table>"
572 "</table></body></html>"), QUrl("http://foo.bar.baz"));
608 m_view->setHtml(QString("<html><body><object type='application/x-qt-plugin' classid='pushbutton' id='mybutton'/></body></html>"));
695 QString content("<html><body><object type=\"application/x-qt-plugin\" classid=\"QProgressBar\"></object></body></html>");
701 m_view->setHtml("<html><body>Hi</body></html>");
715 QString content("<html><body><object type=\"application/x-qt-plugin\" classid=\"QProgressBar\"></object></body></html>");
748 view1.setHtml(QString("<html><body> </body></html>"), QUrl("http://www.myexample.com"));
749 view2.setHtml(QString("<html><body> </body></html>"), QUrl("http://www.myexample.com"));
754 view1.setHtml(QString("<html><body> </body></html>"), QUrl("http://www.myexample.com"));
755 view2.setHtml(QString("<html><body> </body></html>"), QUrl("http://www.myexample.com"));
800 QString content("<html><body<p id=one>The quick brown fox</p><p id=two>jumps over the lazy dog</p><p>May the source<br/>be with you!</p></body></html>");
992 QString content("<html><body<p id=one>The quick brown fox</p>" \
994 "<p>May the source<br/>be with you!</p></body></html>");
1080 QString content("<html><body<p id=one>The quick brown fox</p>" \
1082 "<p>May the source<br/>be with you!</p></body></html>");
1201 page.mainFrame()->setUrl(QString("data:text/html,<a href=\"data:text/html
1205 page.mainFrame()->setUrl(QString("data:text/html,<a href=\"data:text/html,Reached\" target=\"_blank\">Click me2</a>"));
1230 QUrl url = QUrl("qrc:///resources/index.html");
1261 QUrl url = QUrl("qrc:///resources/iframe.html");
1329 page->mainFrame()->setHtml("<html><body>" \
1332 "</body></html>");
1444 page->mainFrame()->setHtml("<html><body><p>nothing to input here");
1474 m_view->setHtml(QString("<html><body><object type='application/x-qt-plugin' classid='lineedit' id='mylineedit'/></body></html>"));
1527 webPage1.currentFrame()->setHtml(QString("<html><body>test</body></html>"), QUrl());
1528 webPage2.currentFrame()->setHtml(QString("<html><body>test</body></html>"), QUrl());
1606 errorPage->content = "data:text/html,error";
1618 m_view->setUrl(QUrl("data:text/html,foo"));
1623 QCOMPARE(page->mainFrame()->toPlainText(), QString("data:text/html,error"));
1640 QTRY_COMPARE(page->history()->currentItem().url(), QUrl("data:text/html,foo"));
1650 m_view->setHtml(QString("data:text/html,"
1652 "<iframe src='data:text/html,<p/>p'></iframe>"
1653 "<iframe src='non-existent.html'></iframe>"));
1657 QCOMPARE(page->mainFrame()->childFrames()[1]->toPlainText(), QString("data:text/html,error"));
1667 m_view->load(QUrl("qrc:///resources/index.html"));
1671 QCOMPARE(page->mainFrame()->childFrames()[1]->toPlainText(), QString("data:text/html,error"));
1708 QTest::addColumn<QString>("html");
1709 QTest::newRow("WithoutPlugin") << "<html><body id='b'>text</body></html>";
1710 QTest::newRow("WindowedPlugin") << QString("<html><body id='b'>text<embed src='resources/test.swf'></embed></body></html>");
1711 QTest::newRow("WindowlessPlugin") << QString("<html><body id='b'>text<embed src='resources/test.swf' wmode='transparent'></embed></body></html>");
1721 QFETCH(QString, html);
1725 mainFrame->setHtml(html, QUrl::fromLocalFile(TESTS_SOURCE_DIR));
1749 m_view->setHtml(QString("data:text/html,<frameset cols=\"25%,75%\"><frame src=\"data:text/html,"
1751 "<frame src=\"data:text/html,bar\"></frameset>"), QUrl());
1848 page.mainFrame()->setHtml(QString("<html></html>"));