Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / url-selected-user-gesture.html
blobbf04fdb48f7bbc90251cb3964ca8aa7aedae16a4
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <a href='about:blank' target='_blank'></a>
4 <script>
5 description('Check that a javascript generated mouse click is not enough to open a new tab.');
6 if (window.testRunner) {
7 testRunner.setCanOpenWindows();
8 testRunner.setPopupBlockingEnabled(true);
11 document.querySelector('a').dispatchEvent(new MouseEvent('click', {ctrlKey: true, metaKey: true}));
13 if (window.testRunner)
14 shouldBe("testRunner.windowCount()", "1");
15 </script>