Commit Graph

294 Commits

Author SHA1 Message Date
Justin Lebar
2c3fe53c17 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
0a2a8a714d No bug - Remove two .orig files. DONTBUILD rs=jst 2012-06-29 09:44:49 +02:00
Dale Harvey
b8ff117d37 Bug 756371 - Add ability to parent of mozbrowser to handle contextmenu. r=jlebar 2012-06-25 16:09:41 +02:00
Justin Lebar
c26da70420 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
bbca3c71aa 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
e1816923a3 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
f5e43bc11a 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
91815d3c91 Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures 2012-06-22 11:04:47 +01:00
Justin Lebar
0b5533f5ca 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
f7781081e2 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
2bfa9751db 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
ea6598a30a 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
049ecf65de Bug 741755 - Part 3: Add goBack/goForward to <iframe mozbrowser>. r=smaug 2012-06-21 14:23:48 -04:00
Justin Lebar
fa1ef7e1e5 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
cec886e488 Bug 741755 - Part 1: Add getCanGoBack, getCanGoForward methods to <iframe mozbrowser>. r=mounir 2012-06-21 14:23:48 -04:00
Ed Morley
76aca6769f Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures 2012-06-21 18:18:40 +01:00
Justin Lebar
50bda7c90e 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
968f7d047e 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
4b6c62bb8d 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
c53c43d5c2 Bug 763694 - Part 1: Implement securityChange event in <iframe mozbrowser>. r=smaug 2012-06-20 12:15:39 -04:00
Ed Morley
852163b8c7 Backout 453c74176a35 & 19ae28cad1da (bug 763694) for native Android test_browserElement_*_SecurityChange.html failures 2012-06-20 10:28:33 +01:00
Justin Lebar
6c9e2c43bf 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
8c6426fba1 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
fd8b5ae981 Bug 764248 - Create one BrowserElementParent object for each <iframe mozbrowser>. r=vingtetun 2012-06-15 11:01:44 -04:00
Justin Lebar
b8756ec8b0 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
565722e27e 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
13518ec124 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
0f61c4ab5d 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
f29bd73fe9 Bug 762349 - Allow Sleep button to bubble from browser frames. r=jlebar 2012-06-11 12:58:46 -07:00
Justin Lebar
29ad75849a Bug 762049 - Part 5: Disable OOP tests on Windows. r=mounir 2012-06-09 12:05:31 -04:00
Justin Lebar
801884ba56 Bug 762049 - Part 4: Add CC0 license to all test JS files. r=mounir 2012-06-09 12:05:31 -04:00
Justin Lebar
3fd4247e97 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
351c97f71f 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
9088a2b890 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
698e4853c7 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
d0a34930dd 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
37752b9854 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
909ad48e1d Backed out changeset dd157a5da52f (bug 762049) 2012-06-07 20:04:27 -04:00
Justin Lebar
23fcff4075 Bug 762049 - Part 4: Add CC0 license to all test JS files. r=mounir 2012-06-07 14:18:20 -04:00
Justin Lebar
b334a46430 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
a1e0b47b55 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
3bd22e53cc 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
c65d2f9352 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
55a0e62d94 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