Commit Graph

386406 Commits

Author SHA1 Message Date
Valentin Gosu
2716c07b5f Bug 786419 - Part 11 - Address possible issues with offline notifications in nsGlobalWindow and WorkerPrivate r=bent
Part 2 of this bug adds nsGlobalWindow as an observer for the app-offline
notification. There are however a few corner cases we haven't handled.
For example: If the browser is offline, and an app is made offline,
there should be no offline event dispatched.
Also, WorkerPrivate should ignore offline events that cause no change
in its offline state.
2014-08-27 05:42:13 +03:00
Valentin Gosu
0820a97576 Bug 786419 - Part 10 - Fix app wrongly reporting an offline status r=jduell
In order for the content process to have an up-to-date table of which apps are
offline, we send that status in TabParent::LoadURL. However, the fact that
IsAppOffline returned true when the browser was offline, caused us to send
the offline status to content processes, and caused Bug 1058718.
This also updates the UUID for nsIOService.
2014-08-27 05:25:47 +03:00
Valentin Gosu
0a63941c13 Bug 786419 - Part 9 - Add better comments to nsIOService. r=jduell 2014-08-23 05:44:04 +03:00
Valentin Gosu
0db7cb932a Bug 786419 - Part 8 - Several improvements to per-app-offline behaviour r=jduell
Make GetAppId() pure-virtual and add implementation for TCPSocketParent, UDPSocketParent, and one for Necko parent that returns UNKNOWN_APP_ID
Change nsIOService to use IsNeckoChild instead of XRE_ method.
Include nsThreadUtils.h (for nsRunnable and dispatchToMainThread) and NeckoCommon for IsNeckoChild.
Make HttpChannelParent set LOAD_ONLY_FROM_CACHE, LOAD_FROM_CACHE and LOAD_NO_NETWORK_IO when offline.
2014-08-22 20:15:00 +03:00
Valentin Gosu
804753cf6d Bug 786419 - Part 7 - xpcshell test for HTTP per-app offline r=jduell 2014-08-23 05:06:44 +03:00
Valentin Gosu
d7c5acf89c Bug 786419 - Part 6 - Disable HTMLDNSPrefetches for offline apps r=jduell 2014-08-23 02:17:18 +03:00
Valentin Gosu
f60d27da08 Bug 786419 - Part 5 - Check app offline status in PeerConnection.js r=rjesup 2014-08-23 02:16:51 +03:00
Valentin Gosu
823b2f29ea Bug 786419 - Part 4 - Have UDP sockets check if the app is offline r=mcmanus 2014-08-23 02:16:31 +03:00
Valentin Gosu
d799a20c7f Bug 786419 - Part 3 - Have the JS TCP sockets check if the app is offline r=jduell 2014-08-23 02:15:36 +03:00
Valentin Gosu
a1b5100a48 Bug 786419 - Part 2 - Modify calls to NS_IsOffline to check for NS_IsAppOffline as well r=jduell,sicking 2014-08-23 06:06:56 +03:00
Valentin Gosu
087d426a86 Bug 786419 - Part 1 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Tom Schuster
f9a4630645 Bug 1044039 - Reimplement Qt widget look and feel. r=romaxa 2014-10-07 16:05:17 +02:00
Tom Schuster
4efe856074 Bug 1065716 - Move jsonparser to vm/JSONParser. r=Waldo
--HG--
rename : js/src/jsonparser.cpp => js/src/vm/JSONParser.cpp
rename : js/src/jsonparser.h => js/src/vm/JSONParser.h
2014-10-07 16:05:11 +02:00
Nicolas Silva
f26be8e3fa Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro 2014-10-07 15:58:59 +02:00
Ehsan Akhgari
15ca5186a6 Fix one bad implicit constructor in pkix, no bug, blanket-rs=bsmith 2014-10-07 09:46:59 -04:00
Ting-Yu Lin
ff1b58b09c Bug 1078991 - Add TouchCaret::GetCaretFocusFrame(). r=roc 2014-10-06 21:02:00 -04:00
Chris Manchester
d2ce264928 Bug 1075240 - Log disabled tests as skips in mochitests. r=ahal 2014-10-02 11:08:41 -04:00
Mark Hammond
b92ee119d7 Bug 1074507 - Avoid pre-filtering tests so we can have e10s-only tests. r=ted 2014-10-01 17:06:00 -04:00
Giovanni Sferro
b3db0fe277 Bug 1059030 - Do not crash when an element has the same @id as a @name of a radiogroup. r=bz 2014-10-06 21:51:00 -04:00
Stephen Pohl
982813d646 Bug 1078640: Sanitize path used to load XPCOM on OSX. r=smichaud 2014-10-07 09:33:09 -04:00
Joel Maher
e0e5857283 Bug 1076990 - [desktop only] update talos.json on tip to capture mainthreadio and other talos cleanup. r=dminor 2014-10-07 09:24:13 -04:00
Carsten "Tomcat" Book
c7129d179b Merge m-c to mozilla-inbound 2014-10-07 15:00:53 +02:00
Carsten "Tomcat" Book
ec29575e5c merge b2g-inbound to mozilla-central a=merge 2014-10-07 14:41:05 +02:00
Carsten "Tomcat" Book
9f773fa458 merge fx-team to mozilla-central a=merge 2014-10-07 14:37:32 +02:00
Peter Van der Beken
dcda2ba9bb Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Peter Van der Beken
963858ac23 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove some IsDOMBinding asserts. r=bz.
--HG--
extra : rebase_source : 74569bd08dbc0d6755ac45999cfe99725ef6bc0a
2014-10-07 11:44:49 +02:00
Peter Van der Beken
962c9a5742 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, invert the flag for dom bindings in nsWrapperCache and add SetIsNotDOMBinding. r=bz.
--HG--
extra : rebase_source : 6ca1903658d3d6fe2634409cd39fa68c6b1219bd
2014-10-07 11:44:48 +02:00
Peter Van der Beken
a0f306343e Bug 808856 - Make not overriding WrapObject fail to build. r=ehsan.
--HG--
extra : rebase_source : 4683c70c97f7eea454bc445331dbbbe7c4f2cec7
2014-10-07 11:44:48 +02:00
Benjamin Bouvier
753461cce1 Bug 1044256: SIMD: Add support for unary operators in Odin; r=luke 2014-10-07 14:10:00 +02:00
B2G Bumper Bot
91d38547d9 Bumping manifests a=b2g-bump 2014-10-06 21:06:48 -07:00
B2G Bumper Bot
efcd6470d4 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/25a5d3c030a5
Author: James Lal <james@lightsofapollo.com>
Desc: Merge pull request #24802 from lightsofapollo/bug-1076689-chunk

Bug 1076689 - chunk build tests on taskcluster r=@RickyChien

========

https://hg.mozilla.org/integration/gaia-central/rev/190b90c0b46a
Author: James Lal <james@lightsofapollo.com>
Desc: Bug 1076689 - Split up build integration tests + add chunking for TC to GBI.

========

https://hg.mozilla.org/integration/gaia-central/rev/b9aee32e107a
Author: Diego Marcos <diego.marcos@gmail.com>
Desc: Merge pull request #24720 from dmarcos/bug1055270

[Bug 1055270] [KK Only][Flame][Camera] Face detection coordinates are in...

========

https://hg.mozilla.org/integration/gaia-central/rev/974f6cfc8cfb
Author: Diego Marcos <diego.marcos@gmail.com>
Desc: [Bug 1055270] [KK Only][Flame][Camera] Face detection coordinates are inverted
2014-10-06 21:06:33 -07:00
Wes Kocher
9a744908c9 Merge m-c to fx-team a=merge CLOSED TREE 2014-10-06 21:06:10 -07:00
Wes Kocher
edf25cc0b9 Merge m-c to b2g-inbound a=merge CLOSED TREE 2014-10-06 21:04:59 -07:00
Wes Kocher
aec31f5f75 Merge m-c to inbound a=merge CLOSED TREE 2014-10-06 20:59:17 -07:00
Wes Kocher
745dcf1bff Merge fx-team to m-c a=merge CLOSED TREE 2014-10-06 19:29:41 -07:00
Wes Kocher
03d235fb07 Backed out changeset 645d5e930e23 (bug 1067305) for inadvertently disabling all media tests on some platforms CLOSED TREE 2014-10-06 19:11:39 -07:00
B2G Bumper Bot
2209532376 Bumping manifests a=b2g-bump 2014-10-06 16:47:01 -07:00
Michael Comella
fbd44795ae Bug 1077730 - Implement new tablet url bar navigation button colors (with temporary focused state). r=lucasr 2014-10-06 16:45:54 -07:00
B2G Bumper Bot
ab09652dd0 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/19f84d481f82
Author: Greg Weng <snowmantw@gmail.com>
Desc: Merge pull request #24822 from snowmantw/bug1078221

Bug 1078221 - [LockScreen][FTU] LockScreen would overlap on FTU app

========

https://hg.mozilla.org/integration/gaia-central/rev/cc067a6cfef0
Author: Greg Weng <snowmantw@gmail.com>
Desc: Bug 1078221 - [LockScreen][FTU] LockScreen would overlap on FTU app
2014-10-06 16:40:48 -07:00
Wes Kocher
445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Andrew McCreight
9d6136ff7b Bug 1073597, part 3 - Lazify creation of the CPOW manager in CpowIdHolder. r=billm 2014-10-06 15:45:42 -07:00
Andrew McCreight
6ca7943f17 Bug 1073597, part 2 - Factor out common base class for GetCPOWManager. r=smaug 2014-10-06 15:45:42 -07:00
Andrew McCreight
2c600e06ee Bug 1073597, part 1 - Don't get a CPOW manager to wrap unless there are CPOWs. r=smaug 2014-10-06 15:45:42 -07:00
Sotaro Ikeda
bae6e432e4 Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical 2014-10-06 15:45:03 -07:00
Mike Hommey
464da0f9c2 Bug 1077384 - Make libmozglue a pseudo-LD_PRELOAD on android. r=nfroyd
In order to avoid adding more dlsym overhead than there already is, resolve
symbols directly in the library containing the linker. (GetSymbolPtr is
essentially free ; dlsym makes the system linker compule a ElfHash itself,
and that's quite expensive to do on all symbols)

This also paves the way for direct symbol resolution in all system libraries.
2014-10-07 07:42:18 +09:00
Mike Hommey
417a2977b3 Bug 1076649 - Remove the '+' prefixing from mach commands with allow_all_arguments=True. r=gps
The reason to use '+' prefixing was to distinguish between options to the
mach command itself, and options that are passed down to whatever the
command does (like mach run passing down args to the built application).
That makes things unnecessarily awkward, and quite non-standard.

Instead, use standard '-' prefixing, and pass all the unknown arguments
down. If there is overlap between the known arguments and arguments supported
by the underlying tool (like -remote when using mach run), it is possible to
use '--' to mark all following arguments as being targetted at the underlying
tool.

For instance:
    mach run -- -remote something
would run
    firefox -remote something
while
    mach run -remote something
would run
    firefox something

As allow_all_arguments is redundant with the presence of a argparse.REMAINDER
CommandArgument, allow_all_arguments is removed. The only mach command with a
argparse.REMAINDER CommandArgument without allow_all_arguments was "mach dmd",
and it did so because it didn't want to use '+' prefixes.
2014-10-07 07:36:27 +09:00
B2G Bumper Bot
0275c868d7 Bumping manifests a=b2g-bump 2014-10-06 15:17:04 -07:00
B2G Bumper Bot
9a600b7a19 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/bcd768a618a1
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #24780 from KevinGrandon/bug_1077579_shb_permission_prompt_sizing

Bug 1077579 - [SoftwareHome] Add integration tests for permission dialog, coverage for bug 1074608

========

https://hg.mozilla.org/integration/gaia-central/rev/60364d413c2f
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1077579 - [SoftwareHome] Add integration tests for permission dialog, coverage for bug 1074608 r=mhenretty
2014-10-06 15:10:47 -07:00
Ryan VanderMeulen
6626c53c1a Merge m-c to fx-team. a=merge 2014-10-06 17:40:55 -04:00
Adam Roach [:abr]
0e53fbc62d Backed out changeset b56f9bccea92 (bug 1017257) 2014-10-06 16:36:49 -05:00