Justin Lebar
8176f06a9f
Bug 856006 - Attempt no. 3: Switch mozbrowserloadstart to mozbrowserloadend in the hopes that this will resolve an intermittent orange. r=me
2013-04-06 15:21:36 -04:00
Justin Lebar
9c74d3f6cd
Bug 856006 - Attempt no. 2 to fix orange in browserElement_KeyEvents.js. r=kk1ff
...
It looks like we're sending events to the mozbrowser iframe before it's fully loaded.
2013-04-05 10:18:02 -04:00
Justin Lebar
a9c817aae8
Bug 856006 - Try to fix intermittent failures in KeyEvents browser-element test. r=kk1ff
...
The intermittent failures are coming from events with keyCodes 34, 93,
and 95, corresponding to ", ], and _. The test doesn't send any of
these keys; I don't know where they're coming from. But at the very
least, we can not turn the test orange when we receive these events.
This change also removes some comments in the test about keypresses
being preventDefault'ed that, as far as I can tell, are incorrect.
2013-03-30 08:42:52 -04:00
Justin Lebar
4ca15feade
Bug 852847 - Part 2: Do things later in our browser-element tests, thus avoiding doing things before the browser-element machinery has loaded. r=kk1ff
...
Also set network.disable.ipc.security to true and leave it that way. This prevents security errors in the tests which happen when we pop the pref.
--HG--
extra : rebase_source : 95f7ca7c3b71cdc0e3e6fd1cfb663a5653f3ab6f
2013-03-28 15:51:10 -04:00
Justin Lebar
1c2ded82d8
Bug 852847 - Part 1: Disable browserElement_oop_KeyEvents.html. r=kk1ff
...
In fact this test was already disabled; the OOP version was the same as
the in-process version because the test explicitly disabled OOP tabs.
--HG--
extra : rebase_source : 7bcfb88e7368f72d1df863c0c026c7b0549caa77
2013-03-28 15:51:10 -04:00
Ehsan Akhgari
d54e129c53
Bug 844169 - Part 3: Make sure that all callers of HTMLIFrameElement.mozbrowser have chrome privileges; r=bzbarsky
2013-02-26 21:26:10 -05:00
Bobby Holley
a25701a3f7
Bug 792036 - Automated fixups. r=mccr8
...
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components | xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Gregor Wagner
4b599bd464
Bug 781355 - Hook up mozBrowser to Permission Manager. r=jlebar
2012-08-15 10:22:30 -07: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
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
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