Commit Graph

155 Commits

Author SHA1 Message Date
Mounir Lamouri
8cfd0a9baa Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Dale Harvey
31b13cb98d Bug 709759 - Add stop() to mozbrowser API. r=jlebar 2012-07-18 10:45:28 -04:00
Chris Jones
3c441a8d9c Bug 774939: Disable OOP browser-element tests for native-fennec. irc-r=jlebar 2012-07-17 16:59:44 -07:00
Dale Harvey
cc016d5def Bug 741717 - Add a reload method to browser elements. r=jlebar 2012-07-17 12:55:46 -04:00
Justin Lebar
e699d9487f Bug 772077 - Fix randomorange caused by test_browserElement_inproc_ContextmenuEvents.html calling SimpleTest.finish() twice. r=daleharvey 2012-07-09 23:32:48 -04:00
Justin Lebar
1e58697e57 Bug 770239 - Tests for X-Frame-Options behavior inside <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : 100a084ba36f396f9f5a9d7c0695724da39592d1
2012-07-09 16:42:18 -04:00
Justin Lebar
8375890353 Bug 764718 - Part 2: Test for calling window.close() on a window opened by window.open from <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : 09dfadbbe539ab0b3c65db6a8a5495f4810c3a34
2012-07-09 15:50:05 -04:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Justin Lebar
2164d9fef3 Bug 771829 - Add a python script to create new browser element tests. r=mounir DONTBUILD 2012-07-09 11:54:51 -04:00
Matt Brubeck
cb4ba1a61f Back out 8e47e74e3578 and 82f24178d2cb (bug 764718) because of test failure 2012-07-06 16:27:58 -07:00
Justin Lebar
160c3a742e Bug 764718 - Part 2: Test for calling window.close() on a window opened by window.open from <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : ee8f4d2e8ca577bde1342078a5550a3c1c484e92
2012-07-06 13:35:38 -04:00
Justin Lebar
e54430a95e Bug 768842 - Inform the <iframe mozbrowser> embedder when Gecko displays an error page. r=mounir 2012-07-02 08:21:58 -04:00
Justin Lebar
971e412f9e No bug - Remove two .orig files. DONTBUILD rs=jst 2012-06-29 09:44:49 +02:00
Dale Harvey
f21fa9345a Bug 756371 - Add ability to parent of mozbrowser to handle contextmenu. r=jlebar 2012-06-25 16:09:41 +02:00
Justin Lebar
e5e6efbaf3 Bug 766871 - Part 2: Tests for window.open from <iframe> inside <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : 2c5f56098a9351f255c2fff07335c0de524a29f8
2012-06-23 11:05:12 -04:00
Justin Lebar
f61b31d544 Bug 766871 - Part 1: window.open in <iframe> in in-process <iframe mozbrowser> should work. r=bz
--HG--
extra : rebase_source : 527c8bace08774f44bb5bace92fefad5341dab16
2012-06-23 11:05:12 -04:00
Justin Lebar
029c276d1a Bug 766481 - Part 2: Tests for alert() from inside an <iframe> inside an <iframe mozbrowser>. r=mounir
--HG--
extra : rebase_source : b306e57989ce18be78a1e44a49d32556d62a08e2
2012-06-23 11:05:12 -04:00
Justin Lebar
432c1f8e15 Bug 766481 - Part 1: Make alert work from <iframe>s within <iframe mozbrowser>. r=mounir
--HG--
rename : content/base/src/nsINode.cpp => content/base/src/nsGenericElement.cpp
extra : rebase_source : 0ec4647ab93c4be23967d234d48f63102444fb9c
2012-06-23 11:05:12 -04:00
Ed Morley
0ba9aa86c4 Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures 2012-06-22 11:04:47 +01:00
Justin Lebar
692948f25a Bug 764718 - Part 3: Test for calling window.close() on a window opened by window.open from <iframe mozbrowser>. r=bz 2012-06-21 21:17:52 -04:00
Justin Lebar
471d7dec38 Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 21:17:52 -04:00
Justin Lebar
da1784ba64 Bug 765075 - Load BrowserElementChild.js before returning the result of window.open from <iframe mozbrowser> to the opener. r=smaug 2012-06-21 21:17:52 -04:00
Justin Lebar
af76eb8442 Bug 741755 - Part 4: Tests for goBack / goForward on <iframe mozbrowser>. r=smaug
--HG--
rename : dom/browser-element/mochitest/browserElement_CanGoBack.js => dom/browser-element/mochitest/browserElement_BackForward.js
rename : dom/browser-element/mochitest/test_browserElement_oop_CanGoBack.html => dom/browser-element/mochitest/test_browserElement_oop_BackForward.html
2012-06-21 14:23:48 -04:00
Justin Lebar
852c5a4aae Bug 741755 - Part 3: Add goBack/goForward to <iframe mozbrowser>. r=smaug 2012-06-21 14:23:48 -04:00
Justin Lebar
6cfdbf28e7 Bug 741755 - Part 2: Add tests for getCanGo{Back,Forward} methods on <iframe mozbrowser>. r=mounir 2012-06-21 14:23:48 -04:00
Justin Lebar
2446be9d6a Bug 741755 - Part 1: Add getCanGoBack, getCanGoForward methods to <iframe mozbrowser>. r=mounir 2012-06-21 14:23:48 -04:00
Ed Morley
40934fb818 Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures 2012-06-21 18:18:40 +01:00
Justin Lebar
1249207356 Bug 764718 - Part 3: Test for calling window.close() on a window opened by window.open from <iframe mozbrowser>. r=bz 2012-06-21 11:58:49 -04:00
Justin Lebar
5773d8495d Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 11:58:49 -04:00
Justin Lebar
c0b6231145 Bug 763694 - Part 2: Tests for securityChange event on <iframe mozbrowser>. (Disabled on native Android.) r=smaug 2012-06-20 12:15:39 -04:00
Justin Lebar
d032f7a09d Bug 763694 - Part 1: Implement securityChange event in <iframe mozbrowser>. r=smaug 2012-06-20 12:15:39 -04:00
Ed Morley
9c18bc1914 Backout 453c74176a35 & 19ae28cad1da (bug 763694) for native Android test_browserElement_*_SecurityChange.html failures 2012-06-20 10:28:33 +01:00
Justin Lebar
04a993301a Bug 763694 - Part 2: Tests for securityChange event on <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : a3b967e3e5b1d73bef86dbb36757cab10d5725ce
2012-06-20 01:08:56 -04:00
Justin Lebar
bf882f8739 Bug 763694 - Part 1: Implement securityChange event in <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 4798e499ff668d1831246dc3807121fc026ed357
2012-06-20 01:08:56 -04:00
Justin Lebar
945c4353ff Bug 764248 - Create one BrowserElementParent object for each <iframe mozbrowser>. r=vingtetun 2012-06-15 11:01:44 -04:00
Justin Lebar
7c8b40b734 Bug 764232 - Disable oop browser element tests on Windows using the build system. r=vingtetun
This lets us have true "oop-only" tests.
2012-06-13 17:26:10 -04:00
Justin Lebar
0f70c4cb90 Bug 742944 - Part 5: Tests for window.open in <iframe mozbrowser>. r=bz
--HG--
extra : rebase_source : 8419648607fbf9f7acd672cb0f94ce7a05a32d88
2012-06-12 18:01:25 -04:00
Justin Lebar
d19ebc4677 Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones
--HG--
extra : rebase_source : 4c16c86c5be230af22eea89dfb5f893b7c6091dd
2012-06-12 18:01:25 -04:00
Justin Lebar
cc43cd9859 Bug 742944 - Part 1: Always set nsDocShell::isBrowserFrame to true, for in- and out-of-process iframes. r=bz
--HG--
extra : rebase_source : ab7e051cf7c2038ec362376277a1d97c69c5717c
2012-06-12 18:01:24 -04:00
Vivien Nicolas
ef21b0a6bd Bug 762349 - Allow Sleep button to bubble from browser frames. r=jlebar 2012-06-11 12:58:46 -07:00
Justin Lebar
2b4f1fcfbe Bug 762049 - Part 5: Disable OOP tests on Windows. r=mounir 2012-06-09 12:05:31 -04:00
Justin Lebar
2922e0059d Bug 762049 - Part 4: Add CC0 license to all test JS files. r=mounir 2012-06-09 12:05:31 -04:00
Justin Lebar
9ee3d6f16c Bug 762049 - Part 3: Rename browserFrameHelpers to browserElementTestHelpers. r=mounir
--HG--
rename : dom/browser-element/mochitest/browserFrameHelpers.js => dom/browser-element/mochitest/browserElementTestHelpers.js
2012-06-09 12:05:31 -04:00
Justin Lebar
edaeec9a7f Bug 762049 - Part 2: Make remaining tests both in-process and OOP. r=mounir
--HG--
rename : dom/browser-element/mochitest/test_browserFrameAlert.html => dom/browser-element/mochitest/browserElement_Alert.js
rename : dom/browser-element/mochitest/test_browserFrame5.html => dom/browser-element/mochitest/browserElement_DataURI.js
rename : dom/browser-element/mochitest/test_browserFrame9.html => dom/browser-element/mochitest/browserElement_GetScreenshot.js
rename : dom/browser-element/mochitest/test_browserFrame8.html => dom/browser-element/mochitest/browserElement_Iconchange.js
rename : dom/browser-element/mochitest/test_browserFrame_keyEvents.html => dom/browser-element/mochitest/browserElement_KeyEvents.js
rename : dom/browser-element/mochitest/test_browserFrame4.html => dom/browser-element/mochitest/browserElement_LoadEvents.js
rename : dom/browser-element/mochitest/test_browserFramePromptCheck.html => dom/browser-element/mochitest/browserElement_PromptCheck.js
rename : dom/browser-element/mochitest/test_browserFramePromptConfirm.html => dom/browser-element/mochitest/browserElement_PromptConfirm.js
rename : dom/browser-element/mochitest/test_browserFrame10.html => dom/browser-element/mochitest/browserElement_SetVisible.js
rename : dom/browser-element/mochitest/test_browserFrame6.html => dom/browser-element/mochitest/browserElement_Titlechange.js
rename : dom/browser-element/mochitest/test_browserFrame7.html => dom/browser-element/mochitest/browserElement_TopBarrier.js
2012-06-09 12:05:31 -04:00
Justin Lebar
9c8a19356c Bug 762049 - Part 1: Rename test_browserFrame{1,2,3}.html. r=mounir
--HG--
rename : dom/browser-element/mochitest/test_browserFrame1.html => dom/browser-element/mochitest/test_browserElement_NoAttr.html
rename : dom/browser-element/mochitest/test_browserFrame2.html => dom/browser-element/mochitest/test_browserElement_NoPref.html
rename : dom/browser-element/mochitest/test_browserFrame3.html => dom/browser-element/mochitest/test_browserElement_NoWhitelist.html
2012-06-09 12:05:31 -04:00
Justin Lebar
b081595203 Backed out changeset 840a820e589c (bug 762049)
--HG--
rename : dom/browser-element/mochitest/test_browserElement_NoAttr.html => dom/browser-element/mochitest/test_browserFrame1.html
rename : dom/browser-element/mochitest/test_browserElement_NoPref.html => dom/browser-element/mochitest/test_browserFrame2.html
rename : dom/browser-element/mochitest/test_browserElement_NoWhitelist.html => dom/browser-element/mochitest/test_browserFrame3.html
2012-06-07 20:04:31 -04:00
Justin Lebar
46ceac56bc Backed out changeset b40369a421bd (bug 762049)
--HG--
rename : dom/browser-element/mochitest/browserElement_SetVisible.js => dom/browser-element/mochitest/test_browserFrame10.html
rename : dom/browser-element/mochitest/browserElement_LoadEvents.js => dom/browser-element/mochitest/test_browserFrame4.html
rename : dom/browser-element/mochitest/browserElement_DataURI.js => dom/browser-element/mochitest/test_browserFrame5.html
rename : dom/browser-element/mochitest/browserElement_Titlechange.js => dom/browser-element/mochitest/test_browserFrame6.html
rename : dom/browser-element/mochitest/browserElement_TopBarrier.js => dom/browser-element/mochitest/test_browserFrame7.html
rename : dom/browser-element/mochitest/browserElement_Iconchange.js => dom/browser-element/mochitest/test_browserFrame8.html
rename : dom/browser-element/mochitest/browserElement_GetScreenshot.js => dom/browser-element/mochitest/test_browserFrame9.html
rename : dom/browser-element/mochitest/browserElement_Alert.js => dom/browser-element/mochitest/test_browserFrameAlert.html
rename : dom/browser-element/mochitest/browserElement_PromptCheck.js => dom/browser-element/mochitest/test_browserFramePromptCheck.html
rename : dom/browser-element/mochitest/browserElement_PromptConfirm.js => dom/browser-element/mochitest/test_browserFramePromptConfirm.html
rename : dom/browser-element/mochitest/browserElement_KeyEvents.js => dom/browser-element/mochitest/test_browserFrame_keyEvents.html
2012-06-07 20:04:30 -04:00
Justin Lebar
e3dd06e45e Backed out changeset e129ca091029 (bug 762049)
--HG--
rename : dom/browser-element/mochitest/browserElementTestHelpers.js => dom/browser-element/mochitest/browserFrameHelpers.js
2012-06-07 20:04:28 -04:00
Justin Lebar
6004bdb077 Backed out changeset dd157a5da52f (bug 762049) 2012-06-07 20:04:27 -04:00
Justin Lebar
a74fe2c240 Bug 762049 - Part 4: Add CC0 license to all test JS files. r=mounir 2012-06-07 14:18:20 -04:00
Justin Lebar
1df9a24c3c Bug 762049 - Part 3: Rename browserFrameHelpers to browserElementTestHelpers. r=mounir
--HG--
rename : dom/browser-element/mochitest/browserFrameHelpers.js => dom/browser-element/mochitest/browserElementTestHelpers.js
rename : dom/browser-element/mochitest/test_browserFrameAlert.html => dom/browser-element/mochitest/browserElement_Alert.js
rename : dom/browser-element/mochitest/test_browserFrame5.html => dom/browser-element/mochitest/browserElement_DataURI.js
rename : dom/browser-element/mochitest/test_browserFrame9.html => dom/browser-element/mochitest/browserElement_GetScreenshot.js
rename : dom/browser-element/mochitest/test_browserFrame8.html => dom/browser-element/mochitest/browserElement_Iconchange.js
rename : dom/browser-element/mochitest/test_browserFrame_keyEvents.html => dom/browser-element/mochitest/browserElement_KeyEvents.js
rename : dom/browser-element/mochitest/test_browserFrame4.html => dom/browser-element/mochitest/browserElement_LoadEvents.js
rename : dom/browser-element/mochitest/test_browserFramePromptCheck.html => dom/browser-element/mochitest/browserElement_PromptCheck.js
rename : dom/browser-element/mochitest/test_browserFramePromptConfirm.html => dom/browser-element/mochitest/browserElement_PromptConfirm.js
rename : dom/browser-element/mochitest/test_browserFrame10.html => dom/browser-element/mochitest/browserElement_SetVisible.js
rename : dom/browser-element/mochitest/test_browserFrame6.html => dom/browser-element/mochitest/browserElement_Titlechange.js
rename : dom/browser-element/mochitest/test_browserFrame7.html => dom/browser-element/mochitest/browserElement_TopBarrier.js
rename : dom/browser-element/mochitest/test_browserFrame1.html => dom/browser-element/mochitest/test_browserElement_NoAttr.html
rename : dom/browser-element/mochitest/test_browserFrame2.html => dom/browser-element/mochitest/test_browserElement_NoPref.html
rename : dom/browser-element/mochitest/test_browserFrame3.html => dom/browser-element/mochitest/test_browserElement_NoWhitelist.html
extra : rebase_source : 5fe45225fa772c9bf2a6a2b3f9fcd85bf3e555d7
2012-06-07 14:18:02 -04:00
Justin Lebar
50a8cd5b10 Bug 762049 - Part 2: Make remaining tests both in-process and OOP. r=mounir
--HG--
rename : dom/browser-element/mochitest/test_browserFrameAlert.html => dom/browser-element/mochitest/browserElement_Alert.js
rename : dom/browser-element/mochitest/test_browserFrame5.html => dom/browser-element/mochitest/browserElement_DataURI.js
rename : dom/browser-element/mochitest/test_browserFrame9.html => dom/browser-element/mochitest/browserElement_GetScreenshot.js
rename : dom/browser-element/mochitest/test_browserFrame8.html => dom/browser-element/mochitest/browserElement_Iconchange.js
rename : dom/browser-element/mochitest/test_browserFrame_keyEvents.html => dom/browser-element/mochitest/browserElement_KeyEvents.js
rename : dom/browser-element/mochitest/test_browserFrame4.html => dom/browser-element/mochitest/browserElement_LoadEvents.js
rename : dom/browser-element/mochitest/test_browserFramePromptCheck.html => dom/browser-element/mochitest/browserElement_PromptCheck.js
rename : dom/browser-element/mochitest/test_browserFramePromptConfirm.html => dom/browser-element/mochitest/browserElement_PromptConfirm.js
rename : dom/browser-element/mochitest/test_browserFrame10.html => dom/browser-element/mochitest/browserElement_SetVisible.js
rename : dom/browser-element/mochitest/test_browserFrame6.html => dom/browser-element/mochitest/browserElement_Titlechange.js
rename : dom/browser-element/mochitest/test_browserFrame7.html => dom/browser-element/mochitest/browserElement_TopBarrier.js
extra : rebase_source : 75bc5b99f8d2327da4c7b7d7ade058dace7e77b3
2012-06-07 14:18:02 -04:00
Justin Lebar
a44f53ccfb Bug 762049 - Part 1: Rename test_browserFrame{1,2,3}.html. r=mounir
--HG--
rename : dom/browser-element/mochitest/test_browserFrame1.html => dom/browser-element/mochitest/test_browserElement_NoAttr.html
rename : dom/browser-element/mochitest/test_browserFrame2.html => dom/browser-element/mochitest/test_browserElement_NoPref.html
rename : dom/browser-element/mochitest/test_browserFrame3.html => dom/browser-element/mochitest/test_browserElement_NoWhitelist.html
extra : rebase_source : a3fcd7714144a1817611e6af3b869013a08e7e6e
2012-06-07 14:18:02 -04:00
Justin Lebar
36e9d9804d Bug 757182 - Handle window.close in <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : e2c4038f36338af70fa6842d0146a63335002a9b
2012-06-07 13:26:34 -04:00
Justin Lebar
138cc1865b Bug 758297 - Move <iframe mozbrowser> code to dom/browser-element. r=mounir
--HG--
rename : dom/base/BrowserElementChild.js => dom/browser-element/BrowserElementChild.js
rename : dom/base/BrowserElementParent.js => dom/browser-element/BrowserElementParent.js
rename : dom/base/BrowserElementParent.manifest => dom/browser-element/BrowserElementParent.manifest
rename : dom/base/BrowserElementPromptService.jsm => dom/browser-element/BrowserElementPromptService.jsm
rename : dom/tests/mochitest/browser-frame/Makefile.in => dom/browser-element/mochitest/Makefile.in
rename : dom/tests/mochitest/browser-frame/browserFrameHelpers.js => dom/browser-element/mochitest/browserFrameHelpers.js
rename : dom/tests/mochitest/browser-frame/file_empty.html => dom/browser-element/mochitest/file_empty.html
rename : dom/tests/mochitest/browser-frame/file_focus.html => dom/browser-element/mochitest/file_focus.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame1.html => dom/browser-element/mochitest/test_browserFrame1.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame10.html => dom/browser-element/mochitest/test_browserFrame10.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame2.html => dom/browser-element/mochitest/test_browserFrame2.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame3.html => dom/browser-element/mochitest/test_browserFrame3.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame4.html => dom/browser-element/mochitest/test_browserFrame4.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame5.html => dom/browser-element/mochitest/test_browserFrame5.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame6.html => dom/browser-element/mochitest/test_browserFrame6.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame7.html => dom/browser-element/mochitest/test_browserFrame7.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame8.html => dom/browser-element/mochitest/test_browserFrame8.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame9.html => dom/browser-element/mochitest/test_browserFrame9.html
rename : dom/tests/mochitest/browser-frame/test_browserFrameAlert.html => dom/browser-element/mochitest/test_browserFrameAlert.html
rename : dom/tests/mochitest/browser-frame/test_browserFramePromptCheck.html => dom/browser-element/mochitest/test_browserFramePromptCheck.html
rename : dom/tests/mochitest/browser-frame/test_browserFramePromptConfirm.html => dom/browser-element/mochitest/test_browserFramePromptConfirm.html
rename : dom/tests/mochitest/browser-frame/test_browserFrame_keyEvents.html => dom/browser-element/mochitest/test_browserFrame_keyEvents.html
2012-06-07 10:49:48 -04:00