Commit Graph

20917 Commits

Author SHA1 Message Date
Jed Davis
a2f7fe6f8f Bug 976398 - Check camera permissions directly instead of using Unix groups. r=mwu r=bent
Loosely based on the code used to check PRemoteOpenFile.
2014-03-12 15:48:15 -07:00
Ryan VanderMeulen
0aeb8adf7a Merge b2g-inbound to m-c. 2014-03-08 01:23:46 -08:00
Vicamo Yang
d3877e1b45 Bug 957917 - 2/2: test cases. r=hsinyi 2014-03-11 22:18:00 +08:00
Vicamo Yang
898a413ce3 Bug 957917 - 1/2: B2G RIL - read PDP type from APN settings. r=hsinyi 2014-03-11 22:17:57 +08:00
Ryan VanderMeulen
4f8345ef88 Merge b2g-inbound to m-c. 2014-03-10 17:03:01 -04:00
Ryan VanderMeulen
8ff41791c4 Bug 979446 - Re-disable the dom/downloads tests on emulator builds as well. r=jmaher 2014-03-10 12:53:56 -04:00
Doug Turner
65654c7712 Bug 977120 - Enable NetworkGeolocationProvider to collect cellular tower data on Firefox OS. r=jdm 2014-03-10 16:10:15 +00:00
Guillermo López
cb5a576e82 Bug 980846 - Second wakeup message does not send the port. r=nsm.nikhil 2014-03-10 11:59:28 -04:00
Cervantes Yu
dd0e40b2cc Bug 977539 - Add initialization of date cache cleaner to the chrome process. r=khuey 2014-03-10 08:36:12 -04:00
Youngwoo Jo
1181efd2f8 Bug 977494 - [Camera] Add onFocusChanged callback. r=mikeh 2014-03-10 08:35:52 -04:00
Benoit Jacob
234b97765b Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Benoit Jacob
618e69aee7 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Jed Parsons
16044c3560 Bug 947374 - Certified apps can choose arbitrary assertion audience. r=ferjm 2014-02-27 15:06:00 -08:00
Carsten "Tomcat" Book
5386c8c6e8 Merge mozilla-central to mozilla-inbound 2014-03-12 12:27:31 +01:00
Vaibhav Agarwal
07841bb6fe Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-12 06:16:12 -04:00
Nikhil Marathe
b0972f4382 Bug 967005 - Report rejected promises when worker stops running. r=bent 2014-03-11 16:10:41 -07:00
Kartikaya Gupta
dc384b0b4a Bug 981029 - Save and apply an input transform to input events from the APZ. r=botond
This accounts for the fact that in some cases we may not apply all of the
requested paint metrics from the APZ, leaving the two sides of the
GeckoContentController interface out of sync (on purpose).
2014-03-12 15:27:45 -04:00
Kartikaya Gupta
d655c3edd9 Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond 2014-03-12 15:27:45 -04:00
Kartikaya Gupta
99d5edc1c3 Bug 981029 - Make ProcessUpdateFrame behave in less magical ways. r=botond
Replace the always-true return value, with a FrameMetrics object that
reflects the final metrics put in place. Also remove the side-effect of
assigning mLastRootMetrics and put that in the call sites instead.
2014-03-12 15:27:44 -04:00
John Schoenick
308c908eac Bug 980625 - Fix more test plugin leaks found by LSAN. r=josh 2014-03-12 11:47:47 -07:00
John Schoenick
72fc62ad20 Bug 980625 - Fix minor leak in PluginModuleChild::Init found by LSAN. r=josh 2014-03-12 11:47:46 -07:00
John Schoenick
168bd00a78 Bug 980625 - Fix minor leak in nptest found by LSAN. r=josh 2014-03-12 11:47:46 -07:00
John Schoenick
3242597c56 Bug 980625 - Strip trailing whitespace plague from nptest.cpp. r=josh 2014-03-12 11:47:46 -07:00
John Schoenick
351773bccb Bug 971279 - Followup, patch folding fail. r=me 2014-03-12 11:47:46 -07:00
John Schoenick
29a84179e1 Bug 836786 - Allow mousemove events to propagate from windowless plugins. r=josh 2014-03-12 11:47:45 -07:00
Ryan VanderMeulen
4c1b59e1c4 Merge m-c to inbound. 2014-03-10 11:29:15 -04:00
Blake Kaplan
bd61b1f7a3 Bug 980586 - Remove old e10s prompt code. r=smaug 2014-03-10 08:57:07 -04:00
Richard Barnes
9c0c4d10cd Bug 978435 - Add ArgumentToJSVal overload for typed arrays. r=bz 2014-03-10 08:55:46 -04:00
Max Vujovic
38ada69883 Bug 948265 - Remove deprecated filterRes attribute from SVG filters. r=roc, r=hsivonen 2014-03-10 08:55:25 -04:00
Carsten "Tomcat" Book
5c9d79e018 Merge mozilla-central to mozilla-inbound 2014-03-10 12:34:00 +01:00
Carsten "Tomcat" Book
749fca5b88 Backed out changeset 5423f1b0599e (bug 979481) 2014-03-10 12:31:34 +01:00
Carsten "Tomcat" Book
85ea871495 merge b2g-inbound to mozilla-central 2014-03-10 12:29:49 +01:00
Brian Birtles
e40ff94f71 Bug 979658 part 4 - Rename PLayerTransaction.GetTransform to GetAnimationTransform; r=dzbarsky
PLayerTransaction.GetTransform doesn't actually return the same kind of value
when the transform on the layer is not set by animation. This is because it uses
information stored with the animation to undo various transforms. We shouldn't
pretend to return something useful/similar when we don't have that information
available.

This patch renames GetTransform to GetAnimationTransform and makes it return
a union that has type void_t if the layer is not transformed by animation.
2014-03-10 13:47:12 +09:00
Brian Birtles
7499abbd61 Bug 979658 part 2 - Add nsDOMWindowUtils.getOMTAStyle; r=dbaron
nsDOMWindowUtils.getOMTAOrComputedStyle falls back to using getComputedStyle
when an OMTA style is not available. However, in order to be sure we are testing
OMTA, this patch adds getOMTAStyle which returns an empty string if no OMTA
style is available.

This patch also includes some minor stylistic tweaks. The method signature for
getOMTAOrComputedStyle now takes an nsIDOMElement parameter rather than
nsIDOMNode in order to simplify error-checking. (When we support OMTA of
pseudo-elements we will have to adjust the method signature but for now we only
support elements.) Also, some lines have been wrapped, ErrorResult is
declared closer to where it is used, and the return value aResult is only
truncated when returning NS_OK.
2014-03-10 13:47:12 +09:00
Brian Birtles
66100682c8 Bug 979658 part 1 - Add check that caller is chrome to GetOMTAOrComputedStyle; r=dzbarsky
Every other exposed method in nsDOMWindowUtils except getViewPortInfo and
getViewId performs this check. This patch makes getOMTAOrComputedStyle check the
caller is chrome as well.
2014-03-10 13:47:11 +09:00
Phil Ringnalda
6c5251b6a5 Merge m-c to b-i 2014-03-09 20:43:45 -07:00
Shawn Huang
e44679a57d Bug 979160 - Outgoing connection failure shall trigger OnConnect instead of OnDisconnect, r=echou 2014-03-10 10:33:32 +08:00
Andrew McCreight
b6035c87a3 Bug 977940, part 2 - Don't automatically trigger the ghost window detector during ICC. r=smaug 2014-03-08 05:38:53 -08:00
Andrew McCreight
441f162633 Bug 977940, part 1 - Don't run the ghost window detector more than every 45 seconds. r=smaug 2014-03-08 05:38:52 -08:00
Robert O'Callahan
f30bd3b5ac Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
Robert O'Callahan
3529a9aaf3 Bug 975931. Part 10: Refactor nsDOMWindowUtils to use a shared GetDocument method. r=matspal
--HG--
extra : rebase_source : 171cd80958a92efcf16ebd249c73f46dbdedb012
2014-03-08 22:22:28 +13:00
Chris Peterson
e6cb4d3e38 Bug 980810 - Part 3: Fix clang -Wstring-conversion warnings in UDPSocket and mtransport code. r=bwc 2014-03-07 22:57:15 -08:00
Masayuki Nakano
eeb474167d Bug 978023 part.4 Clean up IMEStateManager r=smaug 2014-03-08 10:20:08 +09:00
Masayuki Nakano
8bbf9836fa Bug 978023 part.3 Rename nsIMEStateManager to mozilla::IMEStateManager r=smaug
--HG--
rename : dom/events/nsIMEStateManager.cpp => dom/events/IMEStateManager.cpp
rename : dom/events/nsIMEStateManager.h => dom/events/IMEStateManager.h
2014-03-08 10:20:07 +09:00
Masayuki Nakano
ea63027a08 Bug 978023 part.2 Clean up IMEContentObserver r=smaug 2014-03-08 10:20:07 +09:00
Masayuki Nakano
6f39fee7c7 Bug 978023 part.1 nsTextStateManager should be mozilla::IMEContentObserver and separated from nsIMEStateManager.cpp r=smaug
--HG--
rename : dom/events/nsIMEStateManager.cpp => dom/events/IMEContentObserver.cpp
rename : dom/events/nsIMEStateManager.cpp => dom/events/IMEContentObserver.h
2014-03-08 10:20:07 +09:00
Jeff Gilbert
2f644d1429 Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Ryan VanderMeulen
238e2ab515 Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Ryan VanderMeulen
b06ca87617 Merge b2g-inbound to m-c. 2014-03-07 15:33:37 -05:00
Jan-Ivar Bruaroey
7ba42e310b Bug 980497 - Temporarily mute test. r=jesup 2014-03-07 14:01:13 -05:00
Benoit Jacob
e01f9a3958 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Benoit Jacob
5690c8f7e0 Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz 2014-03-07 12:14:23 -05:00
Ed Morley
6915f3f78a Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
Carsten "Tomcat" Book
d0ff930d65 merge b2g-inbound to mozilla-central 2014-03-07 12:49:50 +01:00
Mike Habicher
9d73e74bd6 Bug 980484 - make the zoom setting more robust, r=dhylands 2014-03-07 01:07:27 -05:00
Mike Habicher
6411be5b8b Bug 965425 - expose ISO setting, r=dhylands,jst 2014-03-07 01:00:43 -05:00
Matt Woodrow
887c38c308 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Wes Kocher
1a5d40416f Merge m-c to inbound 2014-03-06 18:27:43 -08:00
Ryan VanderMeulen
48db9fe113 Backed out changesets a7ea2d51414d and 901717199390 (bug 957917) for causing bug 980375. 2014-03-06 16:30:35 -05:00
Yuan Xulei
d538a5913f Bug 980136 - Fix creating test file failure issue. r=dhylands 2014-03-06 08:43:00 -05:00
Gregory Szorc
0164048676 Bug 979665 - Properly detect WebIDL type changes; r=froydnj
This patch fixes a bug in WebIDL code generation that could be triggered
if an input file changed locations but the original file remained on
disk. When computing the set of source .webidl files to perform code
generation on, we failed to prune files that were no longer part of the
active set of input files. References to files in old locations would
get pulled in to the regeneration set, leading to a cryptic KeyError
during code generation.

--HG--
extra : rebase_source : 23f1b973133960cfa954d44b20175fc7a369169a
2014-03-05 23:21:02 -08:00
Nikhil Marathe
e000a04c10 Bug 978062 - Fix SimplePush UDP port debug message. r=khuey 2014-03-05 16:23:03 -08:00
Shawn Ku
364226feb9 Bug 976491 - Add test case. r=Yoshi 2014-03-06 09:53:40 +08:00
Shawn Ku
cc43b23419 Bug 976491 - B2G RIL: Don't throw exception when running readICCID for some CMCC cards. r=Yoshi 2014-03-06 09:52:44 +08:00
Carsten "Tomcat" Book
5e640e8a54 Merge mozilla-central to b2g-inbound 2014-03-06 13:41:09 +01:00
Hsin-Yi Tsai
f081607e4f Bug 980236 - [B2G] [RIL] test_ril_worker_icc.js fails with DEBUG = true. r=allstars.chh 2014-03-06 18:05:38 +08:00
Thomas Zimmermann
4e48226bf0 Bug 978809: Send ToggleBtAck after finishing BlueZ connection setup, r=echou
With this patch, ToggleBtAck is sent by the BlueZ backend of
Bluetooth after the connection has been set up completely.
2014-03-06 12:45:16 +01:00
Thomas Zimmermann
99747bb5a9 Bug 978809: Remove sToggleBtMonitor from Bluedroid backend, r=echou
When enabling or disabling Bluetooth, the Bluedroid backend waits
on sToggleBtMonitor until a BT adapter has been activated. Once
the monitor gets notified, the backend sends a ToggleBtAck runnable
to the main thread.

This patch removes sToggleBtMonitor from the Bluetooth Bluedroid
backend. Instead of signalling the monitor's notification, the
Bluedroid handler function sends the ToggleBtAck directly.
2014-03-06 12:43:35 +01:00
Eric Chou
73b0511a00 Bug 976943 - Replace OnConnect/OnDisconnect with one function, f=btian, r=gyeh
In BluetoothProfileController, it's meaningless to separate OnConnect
and OnDisconnect since the following steps would be the same for both
cases. Therefore I introduced a function called NotifyCompletion() for
each profile manager to report the completion of connecting/disconnecting
operations.
2014-03-06 19:26:28 +08:00
Eric Chou
54e43ece14 Bug 976943 - Add error handing for connect/disconnect process, f=btian, r=gyeh 2014-03-06 19:26:22 +08:00
Carsten "Tomcat" Book
f7378c3ae7 Backed out changeset 4fb349c12a63 (bug 977372) for b2g ics emulator debug m8 test failure 2014-03-06 09:16:43 +01:00
Nathan Froyd
48dafcbc9b Bug 968836 - fix a few already_AddRefed members in MediaManager.cpp; r=jesup 2014-03-05 17:58:13 -08:00
Kyle Huey
012493c82a Bug 979951: Always preserve the worker wrapper to ensure that we have something to tell us what compartment to enter. r=bent 2014-03-05 17:58:03 -08:00
Boris Zbarsky
00d926a354 Bug 874788. Allow WebIDL HTMLAllCollection to emulate undefined. r=peterv 2014-03-05 22:48:04 -05:00
Boris Zbarsky
847fc61450 Bug 874787. Add support for legacycaller on proxy bindings. r=efaust,peterv 2014-03-05 22:48:03 -05:00
Doug Turner
75fdc9f480 Bug 978593 - refactor and cleanup NetworkLocationProvider. Prep work to enable celluar support. r=jdm 2014-03-01 23:46:02 -08:00
Dave Hylands
af805b2e9a Bug 977372 - Close IPC'd filedescriptor from device descriptor when finished with it. r=mikeh 2014-02-28 12:02:55 -08:00
Wes Kocher
b2616208a1 Merge fxteam to m-c 2014-03-05 18:20:17 -08:00
Ryan VanderMeulen
4de3678a20 Merge m-c to inbound on a CLOSED TREE. 2014-03-05 16:08:02 -05:00
Ryan VanderMeulen
24057b1ac1 Merge b2g-inbound to m-c. 2014-03-05 16:01:53 -05:00
Boris Zbarsky
8e3650ebfc Bug 978618. Fix error reporting for unintended XPConnect exceptions thrown by JS-implemented webidl to actually work correctly. r=bholley 2014-03-05 08:32:27 -05:00
Olli Pettay
d333322868 Bug 978862, make sure to use the right event type atom throughout CompileEventHandlerInternal, r=jst 2014-03-05 15:16:42 +02:00
Olli Pettay
c407e32e40 Backout the previous landing (15229e2a01b1) for Bug 978862, since it had wrong bug number, r=backout 2014-03-05 15:16:04 +02:00
Carsten "Tomcat" Book
6969a9f3be merge b2g-inbound to mozilla-central 2014-03-05 13:24:51 +01:00
Carsten "Tomcat" Book
1096a4e1d3 merge mozilla-inbound to mozilla-central 2014-03-05 13:04:39 +01:00
L. David Baron
ef278311e1 Bug 621618 patch 4: Make conditions in Element::RemoveFromIdTable match those in AddToIdTable, to avoid asymmetric calls to the document's functions. r=bzbarsky 2014-03-04 20:13:20 -08:00
L. David Baron
dfeaacc718 Bug 976777: Truncate long source lines in script errors before sending them to the parent process. r=bent
This fixes an out-of-memory foreground-tab crash that I could reliably
reproduce on a 256MB Firefox OS phone, and I think also significantly
reduces the number of background tabs I'm seeing killed due to low
memory.
2014-03-04 20:13:19 -08:00
L. David Baron
ee3d9471bc Fix merge error between bug 872273 (changeset 46df3fd9b0dc) and bug 946065 (changeset 243259fda9ab) and move this test to the directory where it's listed in mochitest.ini so it will actually be run. No review.
Bug 979640 is filed on making this mistake harder.

--HG--
rename : content/xbl/test/test_bug872273.xhtml => dom/xbl/test/test_bug872273.xhtml
2014-03-04 20:13:19 -08:00
Andrea Marchesini
aae5561a7c Bug 966054 - MessagePort should use StructuredCloneBuffer as internal member, r=smaug 2014-03-05 03:28:20 +00:00
Andrea Marchesini
66a700605d Bug 979109 - termination string check in Console.cpp, r=smaug 2014-03-05 03:22:32 +00:00
Jed Davis
906a754859 Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Gregory Szorc
800b9acdc1 Bug 979640 - Make build system error on missing test files; r=ted
Previously, the build system may silently missing test files defined in
manifests. This patch makes missing test files a fatal error, detected
when reading test manifests.

The test_bug872273.html XBL test appeared to be orphaned in
content/xbl/test. It has been reunited with its family.

dom/tests/mochitest/notification referenced a single test file which was
recently deleted. That manifest has been removed.

Missing test files related to the Python unit tests for the build system
have been added. (They are a bunch of empty files.)

--HG--
extra : amend_source : cb6b9bf91e57569c8be312d3c16fef69b2b0b950
2014-03-04 17:48:50 -08:00
Ryan VanderMeulen
2dc1e91c77 Backed out changeset 593206fbd97e (bug 979640) for mochitest-other failures.
CLOSED TREE
2014-03-05 13:52:02 -05:00
Gregory Szorc
73017e8d17 Bug 979640 - Make build system error on missing test files; r=ted
Previously, the build system may silently missing test files defined in
manifests. This patch makes missing test files a fatal error, detected
when reading test manifests.

The test_bug872273.html XBL test appeared to be orphaned in
content/xbl/test. It has been reunited with its family.

dom/tests/mochitest/notification referenced a single test file which was
recently deleted. That manifest has been removed.

Missing test files related to the Python unit tests for the build system
have been added. (They are a bunch of empty files.)

--HG--
extra : rebase_source : 8c64986169064401951585c07deadada8c905550
2014-03-04 17:48:50 -08:00
Botond Ballo
390740c5a5 Bug 978840 - Calculate displayport based on up-to-date scrollable rect on first paint. r=tn
--HG--
extra : rebase_source : b370dd7d139f41d6da41c464fa700c9ecfd212c4
2014-03-04 19:02:37 -05:00
Ryan VanderMeulen
230ec65231 Merge m-c to fx-team. 2014-03-04 17:24:28 -05:00
Ryan VanderMeulen
991cf68d46 Merge inbound to m-c. 2014-03-04 17:12:58 -05:00
Nils Ohlmeier [:drno]
3d1400270b Bug 976182 - Handle initial ICE connection state failed in tests properly. r=bwc 2014-03-04 13:51:37 -05:00
Eitan Isaacson
ef189991a4 Bug 978075 - Screen reader turn on and off announce. r=yzen
This patch does several other things:
 1. When a PrefCache with no default setting available is created, or cleared, set value to null.
 2. Removed weird margin change in announce box.
 3. Add announce method to speech presenter.
 4. Don't start and stop AccessFu implicitly in AccessFuTest.
 5. Change tests to two start/stop pairs where in one pair we activate via pref, and
     the other one via settings (TODO).
2014-03-04 10:10:38 -08:00
Bobby Holley
56ee83c9ae Bug 916644 - Disable invoking WebIDL constructors without |new| unless you have the system principal. r=bz 2014-03-04 10:05:08 -08:00