Commit Graph

486 Commits

Author SHA1 Message Date
Kartikaya Gupta
0cfd020f95 Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-09-03 13:04:21 -04:00
Ed Morley
cf9819b5d1 Merge mozilla-central and inbound 2013-08-28 16:21:25 +01:00
Kan-Ru Chen (陳侃如)
a7e64cb3fe Bug 891763 - Browser API: mozbrowserresize event. r=jlebar
--HG--
extra : rebase_source : ba426c66e1fb6f108107c44c64fd170ea384a6db
2013-08-16 19:16:20 +08:00
David Zbarsky
b35165ce9e Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz 2013-08-24 10:08:55 -04:00
Phil Ringnalda
e8dd2ef338 Back out 27eb88629c56:a26582e3c44d (bug 906901)
CLOSED TREE
2013-08-23 19:33:29 -07:00
David Zbarsky
f26a570cba Bug 906901: Address review nit 2013-08-23 21:16:37 -04:00
David Zbarsky
9ab8e39be1 Bug 906901 - Use webIDL dictionaries for BrowerElementParent's event details r=bz 2013-08-23 21:11:47 -04:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Ms2ger
ced3dd8b1c Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Brian O'Keefe
3a92f0ae7c Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Bobby Holley
81026a6fdf Bug 901364 - Remove a bunch of now-unused modal state tracking machinery. r=mrbkap 2013-08-12 12:54:51 -07:00
Mark Hammond
ac7c070103 Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin 2013-08-08 09:52:01 +10:00
Mark Hammond
337fcff3ff Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin 2013-08-07 11:10:58 +10:00
Wes Kocher
c48e316ed8 Merge m-c to birch 2013-07-31 17:39:43 -07:00
Justin Lebar
31d63b06ee Bug 899354 - Only ever add one visibilitychange listener to BrowserElementParent's owner window. r=khuey
This prevents a leak when we run tests that create thousands of BrowserElementParents without ever turning the screen off.
2013-07-31 14:14:12 -07:00
Justin Lebar
2e43be6b4f Bug 899801 - Don't keep more than five "momentums" values in BrowserElementPanning.js. r=vingtetun
--HG--
extra : rebase_source : f9285a4208b307713d707e5750f39eb43c2b126c
2013-07-31 09:22:57 -07:00
Kartikaya Gupta
b04b843247 Bug 866232 - Disable BrowserElementPanning.js from panning subframes and interfering with multi-apzc. r=BenWa, vingtetun 2013-07-30 14:03:42 -04:00
Kyle Huey
70066995e2 Bug 897701: Don't entrain the target of the pan longer than necessary. r=jlebar 2013-07-24 16:27:45 -07:00
David Zbarsky
040dbd4c2b Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Justin Lebar
2c7d68e8fb Bug 874900 - Add a null-check in BrowserElementChild's observe() function. r=ehsan
This fixes benign JS exceptions thrown here.
2013-07-23 08:17:02 -07:00
Fabrice Desré
a874005733 Bug 883002 - Add opensearch support to the mozbrowser API r=jlebar 2013-07-20 09:47:47 -07:00
Justin Lebar
1bbad94c00 Bug 894147 - Follow-up: Remove leaky debugging code from BrowserElementParent.jsm. r=me.
The second version of bug 894147 to land on b2g18 (after it was backed out once) already incorporates this fix.

--HG--
extra : transplant_source : %24i%997Po%92%0F%A5%10%97%94%5E%91%05X%F2%B7%15%20
2013-07-18 15:04:45 -07:00
Justin Lebar
fc178272d6 Bug 894147 - Don't leak BrowserElementParent due to an event listener on the window which contains it. r=khuey 2013-07-17 14:31:11 -07:00
Brian O'Keefe
a2b1403eb0 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Dale Harvey
ba3190e328 Bug 885349 - Add flag to context menu to detect audio being played in video elements. r=jlebar 2013-07-10 09:58:16 -04:00
Joey Armstrong
e44d529d0e bug 870370: EXTRA_COMPONENTS cleanup for conversion patches #1 & #2. 2013-07-03 12:01:06 -04:00
Mike Shal
2eff1a24b8 Bug 880245 - Move EXTRA_JS_MODULES to moz.build (conversion part 1); r=joey
From 69c3338a3287ff8cc97533e06069fc4d4cb7c5f6 Mon Sep 17 00:00:00 2001
2013-06-10 12:08:47 -04:00
Michael Wu
99b17b86b1 Bug 869903 - Report background color on mozbrowserloadend, r=jlebar 2013-06-06 17:40:49 -04:00
Joey Armstrong
fbe62ceada bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #1). r=mshal 2013-06-10 11:30:03 -04:00
Kartikaya Gupta
8eed7300fd Bug 879004 - Convert the async scroll offset fields in APZC.h to CSSPoints. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Alfredo Yang
312055cc88 Bug 829862 - Recalculate scroll direction when traversing to the outer frame. r=vivien 2013-06-05 08:02:51 -04:00
Bobby Holley
2efb065754 Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Justin Lebar
6d89cf4bd0 Bug 762329 - Add an extra check to browserElement_LoadEvents.js. r=vingtetun
A long time ago this check failed in-process, but it seems to work now.

--HG--
extra : rebase_source : 5eea1b1d16a616d32be6ad61a8e661645cdec959
2013-05-31 00:14:16 -04:00
Justin Lebar
60e1e3ca62 Bug 870675 - Add a test for bug 870480. r=vingtetun
We now run test_HighPriority while holding the CPU and high-priority wake locks.  This tests exactly the problem caused by bug 870480.
2013-05-30 12:59:24 -04:00
Kartikaya Gupta
8d97eb65cb Bug 865735 - Add a units template parameter to the gfx Point, Size, and Rect classes. r=bas,roc 2013-05-29 09:32:30 -04:00
Justin Lebar
778c6f351b Bug 857412 - Try to fix intermittent orange in browserElement_SendEvent.js by unregistering our test event listener after we're done testing. r=vingtetun 2013-05-27 16:33:57 -04:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Vivien Nicolas
e0efa610de Bug 868816 - Remove the notifications for the displayed app when we go out of the lock screen. r=jlebar 2013-05-24 11:33:46 +02:00
Vivien Nicolas
29284d0091 Bug 864382 - Send a click event after a contextmenu event if the later has not been caught. f=amarchesini,r=jlebar,a=tef 2013-05-23 17:52:06 +02:00
Vivien Nicolas
97ccd34a21 Bug 855543 - Opening app content that generates a certificate error results in the 'app not loading properly' modal dialog on top of the cert error handling page, making it impossible to provide a cert exception to the web content. r=jlebar 2013-05-23 17:52:05 +02:00
Vivien Nicolas
f311bc4fb2 Bug 864892 - dom/browser-element/BrowserElementPanning.js kinetic panning does not work with hand made touch events. r=fabrice 2013-05-23 17:52:04 +02:00
Shih-Chiang Chien
cab6163b26 Bug 868271 - Don't ignore touchend even if event is preventDefaulted. r=vingtetun 2013-05-14 08:30:37 -04:00
Justin Lebar
02bf79aec4 Bug 870181 - Part 3: Test that we downgrade processes' CPU priorities when appropriate. r=bent 2013-05-09 16:27:06 -04:00
Brian O'Keefe
4c98f61956 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Trevor Saunders
b61d74dae0 Backed out changeset 99b17c404db2 and e40a964458f8 for landing stuff that shouldn't have and then backing out stuff that should have stayed on a CLOSED TREE
--HG--
extra : amend_source : 54312955270ea4098a3add3cd0708866de2e40bb
2013-10-21 18:58:14 -04:00
Trevor Saunders
4898a4f035 bug 922566 - kill dom-config.mk r=gps 2013-10-11 12:02:41 -04:00
Justin Lebar
1d7f5c22bc Bug 852847 - Part 5: Fix assertions caused by part 4. r=me 2013-04-29 18:12:11 -04:00
Justin Lebar
b95888c47f 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
3894d095f8 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
5249447d5e Bug 864684 - Prevent two way scrolling if it is not neccessary. r=vingtetun 2013-04-26 16:50:12 -04:00
Justin Lebar
6ffe38e746 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
391908c4a1 Bug 844323 - Part 3: ProcessPriorityManager tests. r=nsm,khuey 2013-04-25 20:53:26 -04:00
Justin Lebar
9ea52325ff 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
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Justin Lebar
90b876afff 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
11ef855b20 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
7a815d332e Bug 826058 - Hosted app install/update tests. r=fabrice, r=ted 2013-04-04 17:58:44 -07:00
Tanvi Vyas
4f96b13dc2 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
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Justin Lebar
69f6142812 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
c79ccc0693 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
a59d40f143 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
2bca721def 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
f9c87527fa 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
12569342da 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
8b2683e59e 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
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b 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
e5921ddec1 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Justin Lebar
302ef26560 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
bd6e0b7037 Bug 779753 - Disable test_browserElement_oop_SendEvent.html on Linux for too many intermittent failures 2013-03-05 15:21:42 +00:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
89d297a677 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
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
faf262c4ee 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
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Ehsan Akhgari
87b07b2898 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
bd3e5c86b6 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
edea8d77e7 Backed out changeset b7473553fea1 (bug 844530) for B2G test bustage on a CLOSED TREE. 2013-02-27 15:40:15 -05:00
Justin Lebar
642ac8b6e8 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
63a702bcac 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
440bea3fd7 Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Justin Lebar
5e246f610c 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
4907d39632 Backed out changeset c6c6535fb6c2 (bug 844530) for Marionette failures on a CLOSED TREE. 2013-02-27 17:32:56 -05:00
Shih-Chiang Chien
ea9834981a Bug 844326 - Use addSystemEventListener to receive all mouse/touch events. r=vingtetun 2013-02-27 16:48:32 -05:00
Justin Lebar
a2a46343bf 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
57d19fbb86 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Chris Jones
9ca8273e40 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
4009c9f33e 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
79b00ac815 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)
8256807f98 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é
5cedb2b826 Bug 837282 - Page title "[object Object]" when reloading after network error r=daleharvey 2013-02-07 13:43:57 -08:00
Fabrice Desré
1dabe6cc32 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
61e4134335 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
3a54730a18 Bug 804320 - Provide more inertia when the user does little gestures. r=schien 2013-02-05 13:05:56 -05:00
Vivien Nicolas ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
a321a9bd0c Rollup of bug 819000: Preload about:blank. r=cjones, r=jlebar
Includes the following patches

Bug 819000: Bail out of PresShell::Paint if not active. r=roc
Bug 819000: Make sure preloaded docshells are reset to active. r=jlebar
Bug 819000: Preload about:blank. r=cjones a=cjones
2013-01-24 10:39:18 -08:00
Fabrice Desré
844b879c5f Bug 835548 - Refactor BrowserElementParent.js into a .js and .jsm, and speed up message registration. r=jlebar
--HG--
rename : dom/browser-element/BrowserElementParent.js => dom/browser-element/BrowserElementParent.jsm
2013-01-30 14:22:54 -08:00
Ryan VanderMeulen
5965597c28 Backed out changeset bd0fc79d7a8b (bug 835548), changeset b8d1949eeb05 (bug 834999), changeset 3d90fdbf38a4 (bug 835596), and changeset ba7ffb02dc3f (bug 834371) for mochitest-4 failures on a CLOSED TREE. 2013-01-30 18:20:40 -05:00
Fabrice Desré
e8245457cd Bug 835548 - Refactor BrowserElementParent.js into a .js and .jsm, and speed up message registration. r=jlebar
--HG--
rename : dom/browser-element/BrowserElementParent.js => dom/browser-element/BrowserElementParent.jsm
2013-01-30 14:22:54 -08:00
Patrick Wang
58975ea2ce Bug 829486 - Fire documentfirstpaint every time a window created. r=jlebar 2013-01-28 15:44:38 +08:00
Josh Matthews
d9e184597f Bug 824472 - Traverse containing frames when looking for scrollable content for browser elements. r=schien 2013-01-14 18:03:32 +01:00
Shih-Chiang Chien
a87cb5f80a Bug 828367 - APZC should not perform scrolling if BES detects panning distance is too small. r=cjones. 2013-01-11 11:02:02 +01:00
Justin Lebar
86e78894b9 Bug 828969 - Dispatch the mozbrowserasyncscroll event asynchronously, thus preventing deadlocks (and probably other problems). r=bz 2013-01-10 18:48:29 +01:00
Etienne Segonzac
978e162ce9 Bug 826023 - Expose a getVisible method on mozbrowser iframes r=jlebar a=bb+ 2013-01-07 17:46:23 +01:00
Chris Peterson ext:(%2C%20Shih-Chiang%20Chien%20%3Cschien%40mozilla.com%3E%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
3309ddaa45 Gecko work for bug 823619: Dispatch spec-compliant mouse events when touch events are available. r=cjones,jlebar,schien,vingtetun a=blocking-basecamp
This is a rollowup of the following patches
Bug 823619, part 1: Make TabChild dispatch spec-compliant compat mouse events. r=mwu
Bug 823619, part 2: Use touch event for scrolling if available. r=cjones,schien,vingtetun a=blocking-basecamp
2013-01-05 15:53:16 +01:00
Josh Matthews
c4823bbdfb Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-29 04:02:16 -05:00
Josh Matthews
a2029f145a Backed out changeset 6cd44513d285 (bug 782542) 2012-12-28 19:18:38 -05:00
Josh Matthews
9260666d38 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-12 10:40:33 -05:00
Benjamin Chen
9bb6871b30 Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones 2012-12-25 14:09:34 +08:00
Daniel Holbert
a8b5158916 Bug 797411: Disallow root-viewport scrolling in BrowserElementScrolling.js if <body> or <html> nodes are overflow:hidden. r=vingtetun 2012-12-26 10:24:43 -08:00
Chris Jones
5b1bde7442 Back out bug 782542 for regressions. 2012-12-21 18:23:13 -08:00
Josh Matthews
4e4a7167e0 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer 2012-12-05 02:33:20 -05:00
Josh Matthews
b441d6b728 Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-12 10:40:33 -05:00
Ed Morley
b823df0685 Backout 3bcd9a5a33a2 (bug 814247), d9546d42054c & 8b6edf9f6b87 (bug 814638) for failures in test_bug814638.xul and also crashes on a CLOSED TREE 2012-12-19 23:46:07 +00:00
Josh Matthews
36ed4c8e79 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Ed Morley
0c632ab2fc Backout 4faa85ebbbf7 (bug 814247) for build bustage on a CLOSED TREE 2012-12-19 20:20:30 +00:00
Josh Matthews
f27802d4e8 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Chris Jones
2e3484e3be Back out bug 814252. 2012-12-18 16:19:54 -08:00
Jim Mathies
afacf1fa39 Bug 820200 - Enable browser-element oop tests on Windows. r=justin.lebar 2012-12-18 10:25:44 -06:00
Ed Morley
62d0b8a7bc Bug 779753 - Disable test_browserElement_oop_SetVisibleFrames.html & test_browserElement_oop_SetVisibleFrames2.html on Linux as well 2012-12-18 09:42:26 +00:00
Ed Morley
afb7b73ba2 Bug 779753 - Disable test_browserElement_oop_SetVisible.html on Linux for too many intermittent failures 2012-12-17 13:21:19 +00:00
Ed Morley
62e46aa794 Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews
b5a5e3ef75 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Shih-Chiang Chien
7e9adbd060 Bug 814252 - use touch event for scrolling if available. r=cjones. 2012-11-28 13:51:50 +08:00
Tim Taubert
0c4f22e11f Bug 808231 - Implement add/removeNextPaintListener() methods for mozbrowsers r=jlebar a=blocking-basecamp 2012-12-06 18:03:27 +01:00
Patrick Wang
5bb508742a Bug 816452 - Don't fire mozbrowsererror when loading page is stopped. r=jlebar 2012-12-05 16:10:19 +08:00
Benjamin Chen
4bc6260040 Bug 804985 - [browser] don't try to zoom out wider than the page width r=cjones
1. bring the zoom factor into BrowserElementScrollng.js
2. fix the zoom ratio in AsyncPanZoomController::ZoomToRect
3. fix the relation between _isRectZoomedIn and AsyncPanZoomController::ZoomToRect
4. zoom it out if the rect reach the device maximal zoom ratio
2012-11-28 17:18:12 +08:00
Shih-Chiang Chien
585436962e Bug 805638 - Find parent node while the inner scrollable region reaches the end. r=vingtetun 2012-11-01 15:48:45 +08:00
Boris Zbarsky
2d87c88a68 Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug 2012-11-16 14:22:56 -08:00
Boris Zbarsky
24669bbc88 Bug 812086 part 2. Convert internal consumers of mozvisibilitychange events to the unprefixed version. r=smaug 2012-11-16 14:22:56 -08:00
Justin Lebar
a3d840eb68 Bug 806127 - Test that cookies from pages inside <iframe mozbrowser> are not considered third-party. r=bz
The test for the other change in bug 806127 (which affects IndexedDB) is in bug 806168.
2012-11-10 10:32:37 -08:00
Justin Lebar
5fc1f70e94 Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz 2012-11-10 10:32:35 -08:00
Ryan VanderMeulen
f774dcd8ba Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
f2125bbc72 Bug 806127 - Test that cookies from pages inside <iframe mozbrowser> are not considered third-party. r=bz
The test for the other change in bug 806127 (which affects IndexedDB) is in bug 806168.
2012-11-09 16:37:40 -08:00
Justin Lebar
6a364c5f37 Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz 2012-11-09 16:37:38 -08:00
Andrea Marchesini
de1a8c19b0 Bug 807056 - BrowserElement* purgeHistory(). r=jlebar 2012-11-02 19:50:54 -04:00
Justin Lebar
3ef37ad3a3 Bug 802647 - Send browser screenshots as blobs, not base-64 strings. r=khuey,daleharvey 2012-10-31 19:28:11 -04:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Justin Lebar
6f958d371d Backed out changeset 86d8067fa9e5 (bug 802366) on a CLOSED TREE 2012-10-30 21:36:32 -04:00
Justin Lebar
14dffb1cbe Backed out changeset a844765fb5d9 (bug 806127) 2012-10-30 21:35:46 -04:00
Justin Lebar
1c32e4bcb8 Bug 806127 - Test that cookies from pages inside <iframe mozbrowser> are not considered third-party. r=bz
The test for the other change in bug 806127 (which affects IndexedDB) is in bug 806168.

--HG--
extra : rebase_source : e1adb7af745953b019d80b8a8c086aba24e8408c
2012-10-30 15:55:05 -04:00
Justin Lebar
4c333b07a9 Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz
--HG--
extra : rebase_source : 683e1facc5a6356a4cce0546fd2593a701fe69c0
2012-10-30 15:55:05 -04:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Chris Pearce
818603ae1d Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar 2012-10-30 11:02:24 +13:00
Patrick Wang
4d65265854 Bug 793644 - Test case r=jlebar 2012-10-19 18:39:22 +08:00
Patrick Wang
5e25ff0126 Bug 793644 - Implement confirmEx prompt for <iframe mozbrowser/mozapp>. r=jlebar 2012-10-19 18:35:59 +08:00
Andrea Marchesini
1e998bca39 Bug 804446 - Disable the javascript: protocol when it is entered in the location bar of browser in Firefox OS, r=bz 2012-10-26 10:46:27 +02:00
Justin Lebar
9cc8a76bf7 Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones 2012-10-25 11:36:24 -04:00
Jim Mathies
ae9b1663ef Bug 798821 - On Windows, restrict enabling of W3C touch interfaces to devices that support touch input. Also convert touch pref to 3-state value. r=bsmedberg 2012-10-25 09:57:51 -05:00
Justin Lebar
ecccf41734 Bug 800170 - Modify mozbrowser's getScreenshot() so it takes max-width, max-height parameters. r=smaug 2012-10-17 00:23:08 -04:00
Gabriele Svelto
8b56d72f43 Bug 801676 - Follow-up: Add comment explaining why we use JPEG instead of PNG in getScreenshot(). r=jlebar DONTBUILD 2012-10-16 18:02:53 +02:00
Patrick Wang
a8702b2545 Bug 795317: Use exposable uri when updating mozbrowser's location r=jlebar 2012-10-16 18:24:35 +08:00
Patrick Wang
a0de7d3984 Bug 795317: Test case r=jlebar 2012-10-16 19:59:04 +08:00
Gabriele Svelto
2bfd626185 Bug 801676 - [Browser API] Make getScreenshot() use JPEG instead of PNG. r=jlebar 2012-10-15 21:54:57 +02:00
Dale Harvey
9c4818d275 Bug 797297 - Remove hasAttribute check from outer loop of BrowserElementChild::_contextMenuHandler. r=jlebar 2012-10-13 20:27:00 -04:00
Chris Jones
c310927390 Bug 795657: Integrate native viewport configuration better into async pan-zoom code. r=jwir3,roc
This is a rollup of the following patches
 - Change the interpretation of FrameMetrics.mZoom to a "resolution-indepedent zoom", instead of a resolution-depedent scale factor. r=roc
 - Remove mention of "meta" from TabChild. r=roc
 - Remove some useless logging. r=roc
 - Tag FrameMetrics with its composition bounds at paint time. r=roc
 - Add a helper to calculate the render resolution for a FrameMetrics. r=roc
 - Add a helper to compute the approximate CSS dimensions a FrameMetrics will cover during composition. r=roc
 - BrowserElementScrolling doesn't actually care about zoom or resolution. r=roc
 - Accept the viewport that content has calculated, when it's received the latest widget geometry update. r=roc
 - Mechanically separate uses of zoom/resolution based on new definitions. r=roc
 - Convert GetViewportInfo()'s resolution-dependent scale into resolution-indepedent zoom. r=roc
 - Reinterpret defaultZoom == 0.0 as "intrinsic scale". r=jwir3,roc
2012-10-11 22:46:24 -07:00
Chris Pearce
223b7d2f32 Bug 795184 - Make iframe.mozallowfullscreen percolate across process boundaries. r=jlebar 2012-10-08 10:12:50 +13:00
Justin Lebar
851ff7842d Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-04 00:44:50 -04:00
Ryan VanderMeulen
b3a7522e9a Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange. 2012-10-03 21:59:41 -04:00
Justin Lebar
30b2ea29e8 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-03 20:45:40 -04:00
Patrick Wang
253d71a38a Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Justin Lebar
0763b41739 Back out bbf94917f0ec (bug 789392) on strong suspicion of causing assertions in debug mochitest-2 on a CLOSED TREE.
The assertion encountered is:

Assertion failure: !gAppContentParents || !gAppContentParents->Get(mAppManifestURL), at ../../../dom/ipc/ContentParent.cpp:774
TEST-UNEXPECTED-FAIL | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | Exited with code 11 during test run
PROCESS-CRASH | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | application crashed (minidump found)
Thread 0 (crashed)
2012-10-02 18:20:20 -04:00
Justin Lebar
774351fff4 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Benoit Girard
c8f1bc0779 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Doug Sherk
6e7d4f9757 Bug 746502: Add support for <meta name=viewport> on B2G/async panning and zooming r=cjones,smaug 2012-09-28 22:18:18 -04:00
Doug Sherk
c0e08ee726 Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc 2012-09-28 22:16:34 -04:00
Phil Ringnalda
3bf447ccd6 Back out 95d3bf1b070b (bug 789392) for mochitest failure on a CLOSED TREE 2012-09-27 21:26:59 -07:00
Justin Lebar
7032cf24b5 Bug 789392 - window.close() failed to trigger mozbrowserclose event on the parent frame if the child frame is not created with window.open. r=bz 2012-09-27 23:06:01 -04:00
Ben Turner
484cefec2c Bug 784378 - 'Apps API - Clear Private Data'. r=jlebar. 2012-09-26 15:03:25 -07:00
Bobby Holley
9f03f90fb7 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
Bobby Holley
7f912ddc79 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Ms2ger
1e7015f897 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
ee0af53baa Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (first batch); r=mounir 2012-09-20 09:55:36 +02:00
Patrick Wang
7a1bf993f1 Bug 787517: Test case for reproducing bug r=jlebar 2012-09-12 14:12:09 +08:00
Patrick Wang
9cb2eeac19 Bug 787517: Prevent failure in BrowserElementParent when MessageManager is not available for sending message r=jlebar 2012-09-12 14:12:12 +08:00
Patrick Wang
6173c353bb Bug 787519 - Test case r=jlebar 2012-09-19 18:28:26 +08:00
Patrick Wang
3cc77910cf Bug 787519 - Make message manager throw when there's no target to send asynchronous message to r=jlebar 2012-09-19 19:08:36 +08:00
Patrick Wang
b53c726882 Bug 789721: Check dom.mozBrowserFramesEnabled before BrowserElementPromptService initialized r=jlebar 2012-09-09 10:55:18 +08:00
Patrick Wang
c5dab9e8b0 Bug 775464 - Test case r=jlebar
--HG--
extra : rebase_source : ca2f34980d2bbdbbd34a6d389d766ec948a6b273
2012-09-03 19:02:16 +08:00
Patrick Wang
ce316face6 Bug 775464 - Part 2: Fire event to mozbrowser embedder from parent on receiving HTTP auth request. r=jlebar
--HG--
extra : rebase_source : 52ea850574a4858fb45d4241b4e61248d9bc2385
2012-09-03 18:59:55 +08:00
Justin Lebar
6aeb00a617 Bug 787378 - Part 2: Tests for mozbrowserfirstpaint event. 2012-09-05 10:34:06 -04:00
Justin Lebar
50e0732239 Bug 787378 - Part 1: Fire a "firstpaint" event in iframe mozbrowser. 2012-09-05 10:34:06 -04:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Phil Ames
cd2459e50f Bug 690168. Implement the 'Allow-From' directive for X-Frame-Options. r=bzbarsky 2012-08-27 15:46:24 -04:00
Cervantes Yu
558d235914 Bug 779358 - Change click handler back to use capture. r=cjones 2012-08-27 14:27:41 +08:00
Eric Chou
6dbbbbfe3c Backed out changeset 8f79f5a6b073 because the author name was missing in original patch 2012-08-27 11:23:48 +08:00
Eric Chou
2870d394c2 Bug 779358 - Change click handler back to use capture. r=cjones 2012-08-27 11:18:14 +08:00
Mounir Lamouri
2b28512edc Bug 777072 - 3/7 - Update nsHostTable and nsHostEntry to make them aware of new security model. r=sicking,jlebar 2012-08-23 11:47:55 -07:00
Chris Jones
5a380bfddb No bug: Merge backout on a CLOSED TREE r=bustage 2012-08-23 22:33:04 -07:00
Chris Jones
05b904ebae Back out bug 777072, bug 619236, and bug 784878 2012-08-23 22:00:14 -07:00
Ryan VanderMeulen
5fbfaa489f Merge the last PGO-green inbound changeset to m-c. 2012-08-23 22:06:49 -04:00
Ben Turner
0727b7098c Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Mounir Lamouri
ede8f880d1 Bug 777072 - 3/7 - Update nsHostTable and nsHostEntry to make them aware of new security model. r=sicking,jlebar 2012-08-23 11:47:55 -07:00
Cervantes Yu
d54cede57f Bug 779358 - Fix mousemove event handled twice in content panning, r=cjones 2012-08-21 20:30:34 +08:00