Commit Graph

895 Commits

Author SHA1 Message Date
Justin Lebar
dc6edd57bf 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
9b540124cd 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
fe5f9c5405 No bug - Remove two .orig files. DONTBUILD rs=jst 2012-06-29 09:44:49 +02:00
Dale Harvey
087be3ebe6 Bug 756371 - Add ability to parent of mozbrowser to handle contextmenu. r=jlebar 2012-06-25 16:09:41 +02:00
Justin Lebar
a62fff4fa2 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
c05e5dfd92 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
06a92f0310 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
413ce8b682 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
7689b7c5cf Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures 2012-06-22 11:04:47 +01:00
Justin Lebar
5d563674c9 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
41afb9dce4 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
b5919daf01 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
7079a51003 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
79a2f77c3f Bug 741755 - Part 3: Add goBack/goForward to <iframe mozbrowser>. r=smaug 2012-06-21 14:23:48 -04:00
Justin Lebar
918aeb6421 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
bcd932aaed Bug 741755 - Part 1: Add getCanGoBack, getCanGoForward methods to <iframe mozbrowser>. r=mounir 2012-06-21 14:23:48 -04:00
Ed Morley
9c21bf543b Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures 2012-06-21 18:18:40 +01:00
Justin Lebar
a39a8108c0 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
8c698df741 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
dcea9bd78d 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
cd543a0474 Bug 763694 - Part 1: Implement securityChange event in <iframe mozbrowser>. r=smaug 2012-06-20 12:15:39 -04:00
Ed Morley
aced655f6a Backout 453c74176a35 & 19ae28cad1da (bug 763694) for native Android test_browserElement_*_SecurityChange.html failures 2012-06-20 10:28:33 +01:00
Justin Lebar
f3de6f8577 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
ed4acfea02 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
2c204b06b4 Bug 764248 - Create one BrowserElementParent object for each <iframe mozbrowser>. r=vingtetun 2012-06-15 11:01:44 -04:00
Justin Lebar
5304ed44a0 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
7fde138bc2 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
8d7f4a897e 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
607aa1bcd1 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
44629df657 Bug 762349 - Allow Sleep button to bubble from browser frames. r=jlebar 2012-06-11 12:58:46 -07:00
Justin Lebar
31954f2dce Bug 762049 - Part 5: Disable OOP tests on Windows. r=mounir 2012-06-09 12:05:31 -04:00
Justin Lebar
7b6656d5f8 Bug 762049 - Part 4: Add CC0 license to all test JS files. r=mounir 2012-06-09 12:05:31 -04:00
Justin Lebar
5c8a78fdac 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
984477f5c3 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
76346bf211 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
ac697976de 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
968baa3e66 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
a457400b0b 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
b9b7df8568 Backed out changeset dd157a5da52f (bug 762049) 2012-06-07 20:04:27 -04:00
Justin Lebar
b2edbb08df Bug 762049 - Part 4: Add CC0 license to all test JS files. r=mounir 2012-06-07 14:18:20 -04:00
Justin Lebar
cac615e32a 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
c289a5287f 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
5db15923dd 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
76450a141c 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
a8b9e291d0 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