Commit Graph

288 Commits

Author SHA1 Message Date
Justin Lebar
3d534a6c2d Bug 852847 - Part 5: Fix assertions caused by part 4. r=me 2013-04-29 18:12:11 -04:00
Justin Lebar
6987a54cba Bug 844323 - Follow-up: Fix typo in BrowserElementChildPreload that was breaking bg --> fg transitions in childVisibilityChanged. r=khuey
Also modify the test so it catches this mistake.
2013-04-29 14:56:53 -04:00
Justin Lebar
10ac151c5a Bug 852847 - Part 4: Fix a child-process shutdown leak around nested event loops. r=smaug
This also fixes a non-shutdown leak which occurs if you remove an
<iframe mozbrowser> from the DOM while it's processing an alert().
2013-04-29 14:19:19 -04:00
Jinho Hwang
aa3c4b0176 Bug 864684 - Prevent two way scrolling if it is not neccessary. r=vingtetun 2013-04-26 16:50:12 -04:00
Justin Lebar
7291a2f7f9 Bug 860799 - Part 2: Test that we give frames expecting a system message priority above vanilla BACKGROUND. r=khuey 2013-04-25 20:53:26 -04:00
Justin Lebar
9a39e4d0c4 Bug 844323 - Part 3: ProcessPriorityManager tests. r=nsm,khuey 2013-04-25 20:53:26 -04:00
Justin Lebar
7908e05f22 Bug 844323 - Part 2 (The Main Event): Move ProcesPriorityManager to the main process. r=bent,khuey 2013-04-25 20:53:26 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Justin Lebar
95adf0041a 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
3c5cb6ee2a 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
Dale Harvey
4579139c8d Bug 826058 - Hosted app install/update tests. r=fabrice, r=ted 2013-04-04 17:58:44 -07:00
Tanvi Vyas
d150b68f15 Bug 834836 - Disable mixed content blocking when running tests that rely on mixed active content loads to test security state. r=smaug 2013-04-04 14:52:52 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Justin Lebar
423155109e 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
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Justin Lebar
0ea4498953 Bug 852847 - Part 3: Re-enable some browser-element tests. r=kk1ff
--HG--
extra : rebase_source : be2c103555342f53eb8e5550058daed73153f47f
2013-03-28 15:51:10 -04:00
Justin Lebar
d80ce304b7 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
d56c8de00f 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
Jonathan Watt
4f321e3a7a Bug 854133 - Stop the page from scrolling when the user tries to drag an <input type=range>'s thumb in the B2G browser app. r=smaug 2013-03-24 21:21:17 +00:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Mike Shal
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Olli Pettay
8f72caeb73 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Justin Lebar
be25447c4e Back out bug 844630 (7cdeee48963c) for being completely busted (and causing bug 848302). r=me 2013-03-06 12:40:23 -05:00
Ed Morley
2ddcaf5fed Bug 779753 - Disable test_browserElement_oop_SendEvent.html on Linux for too many intermittent failures 2013-03-05 15:21:42 +00:00
Ms2ger
c6832bb745 Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
27c42e83c6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Ms2ger
2801c25ab8 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
16f0413b0c Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Ehsan Akhgari
621cb2d14d Bug 844169 - Part 1: Rename nsHTMLIFrameElement to mozilla::dom::HTMLIFrameElement; r=bzbarsky
--HG--
rename : content/html/content/src/nsHTMLIFrameElement.cpp => content/html/content/src/HTMLIFrameElement.cpp
rename : content/html/content/src/nsHTMLIFrameElement.h => content/html/content/src/HTMLIFrameElement.h
extra : rebase_source : 67c393954a0c46f80b8729277504e9ced5c64d33
2013-02-22 19:59:26 -05:00
L. David Baron
9ab7dce58d Bug 842476: Work around leak resulting from exception that happens during unload by propagating only the prompts we expect and not the later ones. r=jlebar
Make this test less sensitive to the timing of its own unloading by
passing on only the expected messages and not any messages that occur
during unloading.  Such messages might cause exceptions (e.g.,
"'TypeError: can't access dead object' when calling method:
[nsIPrompt::alert]"), and those exceptions might in turn trigger leaks
in nsXPConnect that last until shutdown because we store the most recent
exception from a call to an XPCWrappedJS on the XPCJSRuntime through
shutdown (rather than reporting it, as we probably should, and then
freeing it), leaking the window.
2013-02-24 23:42:38 -08:00
Ryan VanderMeulen
83ca08fb0b Backed out changeset b7473553fea1 (bug 844530) for B2G test bustage on a CLOSED TREE. 2013-02-27 15:40:15 -05:00
Justin Lebar
1cf7242b64 Bug 844530 - Paper over error in BrowserElementPromptService.jsm on B2G. r=khuey
The error we're fixing is

  E/GeckoConsole(  397): [JavaScript Error: "NS_ERROR_FACTORY_NOT_REGISTERED: Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)
  [nsIComponentManager.getClassObject]" {file: "resource://gre/modules/BrowserElementPromptService.jsm" line: 572}]

For some reason, we're running code before the vanilla prompt service is
instantiated.  We don't know why this is happening, but this patch works
around the problem on B2G, which is the only place where we ship this
code.
2013-02-27 14:39:57 -05:00
Ehsan Akhgari
c3a8b72e50 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
076b7bfcfa Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Justin Lebar
ca956bb118 Bug 844530 - Paper over error in BrowserElementPromptService.jsm on B2G. r=khuey
The error we're fixing is

  E/GeckoConsole(  397): [JavaScript Error: "NS_ERROR_FACTORY_NOT_REGISTERED: Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)
  [nsIComponentManager.getClassObject]" {file: "resource://gre/modules/BrowserElementPromptService.jsm" line: 572}]

For some reason, we're running code before the vanilla prompt service is
instantiated.  We don't know why this is happening, but this patch works
around the problem on B2G, which is the only place where we ship this
code.
2013-02-27 16:13:42 -05:00
Ryan VanderMeulen
0f69c82137 Backed out changeset c6c6535fb6c2 (bug 844530) for Marionette failures on a CLOSED TREE. 2013-02-27 17:32:56 -05:00
Shih-Chiang Chien
4e23be6c04 Bug 844326 - Use addSystemEventListener to receive all mouse/touch events. r=vingtetun 2013-02-27 16:48:32 -05:00
Justin Lebar
bc4e0f618d Bug 844530 - Paper over error in BrowserElementPromptService.jsm on B2G. r=khuey
The error we're fixing is

  E/GeckoConsole(  397): [JavaScript Error: "NS_ERROR_FACTORY_NOT_REGISTERED: Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)
  [nsIComponentManager.getClassObject]" {file: "resource://gre/modules/BrowserElementPromptService.jsm" line: 572}]

For some reason, we're running code before the vanilla prompt service is
instantiated.  We don't know why this is happening, but this patch works
around the problem on B2G, which is the only place where we ship this
code.
2013-02-27 16:13:42 -05:00
L. David Baron
4f4296979b Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Chris Jones
63f195022b Bug 841830: Allow scrolling while tap/pan gesture is still ambiguous, for perceived responsiveness. r=vingtetun
--HG--
extra : rebase_source : efb68d082921d1a41120c5b447b72637ea72ab73
2013-02-15 11:41:23 -08:00
Justin Lebar
f4358d3449 Bug 835563 - When an iframe mozbrowser's embedder calls setVisible(false), immediately send the relevant process into the background (if none of its other frames are in the foreground). r=cjones 2013-02-14 15:41:29 -05:00
Boris Zbarsky
4402bd383b Bug 840614. Fix the browserelement auth tests to not throw exceptions and actually test what they mean to test. r=jdm 2013-02-13 10:11:53 -05:00
Vivien Nicolas ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
4c3f66fadd Bug 835809: Preload more things for faster page loads. r=fabrice,jlebar
--HG--
rename : dom/browser-element/BrowserElementChild.js => dom/browser-element/BrowserElementChildPreload.js
rename : dom/browser-element/BrowserElementScrolling.js => dom/browser-element/BrowserElementPanning.js
2013-02-07 21:10:01 -08:00
Fabrice Desré
c435681dd1 Bug 837282 - Page title "[object Object]" when reloading after network error r=daleharvey 2013-02-07 13:43:57 -08:00
Fabrice Desré
546f39a08a Bug 837317 - [video] "[object Object] is now full screen" shows when playing a video r=daleharvey 2013-02-07 13:43:57 -08:00
Chris Jones
e55fdbc5d1 Bug 833983: Don't preventDefault() drags that aren't quite pans. r=schien a=blocking-b2g 2013-02-06 22:59:39 -08:00
Vivien Nicolas
13ef244c0c Bug 804320 - Provide more inertia when the user does little gestures. r=schien 2013-02-05 13:05:56 -05:00