Commit Graph

477971 Commits

Author SHA1 Message Date
Julian Descottes
fc46d5012b Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN

--HG--
extra : rebase_source : 908ba5c1cab86018116271402c90992c1fca6d62
extra : histedit_source : f0083b1e4c54cde0fdce12e1d139baa41e7d6cda
2016-06-02 10:41:49 +02:00
Eddy Bruel
b33a96b184 Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-06-02 13:10:41 +02:00
Carsten "Tomcat" Book
91c45dd470 Merge mozilla-central to fx-team 2016-06-02 12:00:53 +02:00
Bob Silverberg
1a2e1cbc77 Bug 1276338 - chrome.runtime.id is undefined in content scripts, r=kmag
MozReview-Commit-ID: BXqB1rW9DzB

--HG--
extra : transplant_source : %A1%94%B0%E9%19%B6%BC%04%84dd%EA%E9%9B%80%CD%FD%83%D5%B3
2016-05-31 11:55:30 -04:00
Kit Cambridge
7500315560 Bug 1275436 - Remove push subscriptions from the server after clearing permissions and site data. r=mt
Previously, we removed records locally, but didn't notify the server.
We can be nice and avoid making the server buffer messages for
subscriptions that the client will never use again.

MozReview-Commit-ID: 5iohGQPHXuz

--HG--
extra : rebase_source : 00639fe1016ffd241c18643049f4b061740025f1
2016-05-20 09:38:26 -07:00
Kit Cambridge
8f4367fa09 Bug 1275434 - Add remote push observer tests. r=dragana
MozReview-Commit-ID: 4BVWwEbI2FX

--HG--
extra : rebase_source : 1ecd69b74a0329b14aa9ce8b3d4172bbf6278397
2016-05-19 21:41:15 -07:00
Kit Cambridge
a5dc7d0ed9 Bug 1275434 - Notify "push-subscription-modified" observers in the child. r=dragana
MozReview-Commit-ID: H3DGrhEm3fn

--HG--
extra : rebase_source : 37d9a07d2a852cdccb9e6c339cf9bcbe01fb6c88
2016-05-14 16:54:51 -07:00
Kit Cambridge
21fdc3d97d Bug 1275434 - Refactor PushNotifier to clarify remoting logic. r=dragana
Previously, all `PushNotifier` methods checked the process type, and
either called `Notify*{Workers, Observers}` or sent an IPDL message.
The message handlers then called back in to `PushNotifier` from the
remote process.

This was clearer when we only sent worker event notifications to the
content process, and fired all observer notifications in the parent.
It became more complicated once we started notifying observers for all
subscriptions in both processes (bug 1266433). This makes it harder to
see omissions; for example, "push-subscription-modified" isn't
currently forwarded to the child, but "push-subscription-change" and
"push-message" are.

This patch moves the remoting code into `PushNotifier::Dispatch`, and
adds a base `PushDispatcher` class. Each notification type subclasses
this class and implements logic for sending messages and firing
observers and worker events. It's more code, but a bit easier to see
which methods are called where.

MozReview-Commit-ID: 7Q0eD7qXOrW

--HG--
extra : rebase_source : c69acb95a0cb5470cf1c804639971be41b976cc2
2016-05-19 19:01:34 -07:00
Andrew McCreight
858cf1d807 Bug 1275707, part 3 - Rename MESSAGE_MANAGER_MESSAGE_SIZE. r=baku
Now that digits have been filtered out of the message manager message
names to avoid creating thousands of similar keys, we can reenable the
telemetry by renaming it. Also, update the description to address
bsmedberg's comments, and add me to the list of alert emails.
2016-06-01 15:11:06 -07:00
Andrew McCreight
fdd63bef5d Bug 1275707, part 2 - Remove numbers from the message manager message names. r=billm
There are a huge number of different message manager messages with
names of the form "ublock0:sb:{N}", where {N} is some number from 1 to
over 1000. Having so many different keys seems to cause problems for
telemetry and makes it harder to tell how many messages of each type
there really are, so this patch combines them by eliminating any
digits. It will also help for the webdev tools that use channels with
names like "debug:server1.conn5.child1:packet". This will create some
ambiguity (eg there are some messages of the form "ublock:sb:{N}"),
but that should be a minor issue.
2016-06-01 15:11:06 -07:00
Andrew McCreight
263493a069 Bug 1275707, part 1 - Factor out a common method for message manager size telemetry. r=billm 2016-06-01 15:11:06 -07:00
Andrew McCreight
11d50b03e2 Bug 1277052 - Remove the unused xpcomThreadsShutdown. r=Yoric
This should be xpcom-shutdown-threads, not xpcom-threads-shutdown, but
it is unused so I just removed it.
2016-06-01 15:05:54 -07:00
Andrew McCreight
305c7e214e Bug 1277067 - Remove nsIAsyncShutdown.contentChildShutdown. r=Yoric 2016-06-01 15:05:54 -07:00
Andrew McCreight
d6a6610b75 Bug 1270308 - Remove content-child-shutdown observer for OS.file. r=Yoric 2016-06-01 15:05:54 -07:00
Andrew McCreight
9b9bcbfa17 Bug 1276383 - Add nsIAsyncShutdown.xpcomWillShutdown and use it in WebRTC. r=Yoric,jib 2016-06-01 15:05:53 -07:00
Christoph Kerschbaumer
8ca38235c0 Bug 1267754 - Replace WARNING about missing triggeringPrincipal with LOG() r=mcmanus
MozReview-Commit-ID: ESHG6geGqAD

--HG--
extra : rebase_source : 0c2ead7341d796f9d2bb129752f2093038ea7972
2016-05-11 10:58:06 +02:00
Honza Bambas
601acdd087 Bug 1275898 - Proper about:cache asyncOpen implementation + kill the disk entries loop hard on shutdown, r=michal
MozReview-Commit-ID: 3Tmvy45Iayu

--HG--
extra : histedit_source : 736f2ff12fb097bf2776cc900750010a00c4cf2a
2016-05-31 22:20:17 -07:00
Jonathan Hao
525c086187 Bug 1259871 - Replace getSimpleCodebasePrincipal with createCodebasePrincipal. r=sicking
MozReview-Commit-ID: Frx0CjBzuve

--HG--
extra : histedit_source : 036eb321d9ccb20e0e071ba588b0a1249eb34bdd
2016-05-24 18:01:34 +08:00
Dragana Damjanovic dd.mozilla@gmail.com
d53c07485b Bug 1271987 - After on-***-request observers and loadGroup::AddRequest are called, on a failure AsyncOpen() must return async.r=mcmanus, r=mayhemer
MozReview-Commit-ID: AAi6R0pb6It

--HG--
extra : histedit_source : 8c7f0f46745958c7d3aa7e8a5521bb5a38e6e10e
2016-05-31 22:13:23 -07:00
Kit Cambridge
4dfcfb9ee7 Bug 1275436 - Simplify firing push subscription change events. r=mt
Even if the event handler calls `subscribe()` or `getSubscription()`,
the "readwrite" IDB transactions in `clearIf` and `forEachOrigin`
should execute first.

MozReview-Commit-ID: ETYGmnOIuag

--HG--
extra : rebase_source : 8f8847a825d1fcdb09a421b852e86b81431f7e8e
2016-05-05 09:12:35 -07:00
Mike Conley
517fc049cf Bug 1276738 - Test that newly opened dialogs can receive arguments. r=Gijs
MozReview-Commit-ID: jF3Port57I

--HG--
extra : rebase_source : 896d0eddbb10ae8f501e5ac83a9335b800047f42
extra : histedit_source : 53940c3dfcba85e9431a4eb2dfbf379ab3e136a4
2016-05-03 14:14:09 -04:00
Mike Conley
d478afc2c8 Bug 1276738 - Test that modal windows can be opened from the parent process. r=Gijs
MozReview-Commit-ID: 8PWxf9E6ZMv

--HG--
extra : rebase_source : 67ef95bf26ab2b905bd38c002d10c73bdd04b23f
extra : histedit_source : 2c9a51d9016514cd883584565960c49fca67dbdd
2016-05-03 11:42:34 -04:00
Mike Conley
19cfe905f4 Bug 1276738 - Add a test to ensure that we clone sessionStorage when opening new windows. r=gabor
MozReview-Commit-ID: B2rLxdpWKOu

--HG--
extra : rebase_source : 55f1778a74b1fe37f1932e3f8168abde203d907c
extra : histedit_source : c7c862fcbecefd8cab37c9c891415a99209ab177
2016-05-02 17:36:41 -04:00
Mike Conley
19f105324d Bug 1276738 - Ensure that .open() on web content called with chrome privileges results in a new window with the appropriate principal. r=Gijs
MozReview-Commit-ID: IG9ioQLTI78

--HG--
extra : rebase_source : 908314589379b93b91b2d2a93a25b33f2e6ddb03
extra : histedit_source : 0af5d232e5dea98218ab838641e8d8a2acbd3c8e
2016-05-02 17:36:12 -04:00
Mike Conley
0f6888ce40 Bug 1276738 - Add a test for the size of newly opened window from content. r=gabor
This notably fails for me on Windows, for which I've filed bug 1276802. Until that's
figured out, this test is disabled on Windows.

MozReview-Commit-ID: Hx24driJ80w

--HG--
extra : rebase_source : 509454294eb3bc4babeba4dc7992b13dd7f175d5
extra : histedit_source : 405bf4126a767c3718e1511392edfb45bfee7433
2016-05-30 15:23:01 -04:00
Mike Conley
2cad77e79a Bug 1276738 - Test _blank name usage in new windows. r=Gijs
MozReview-Commit-ID: Gqh04VTzOuC

--HG--
extra : rebase_source : 011e95ed22e3a3609293fef07d6626858f88622e
extra : histedit_source : beee65370d7c2db9323ddfe8dbab35858e4f8999
2016-04-29 17:39:18 -04:00
Mike Conley
89bbf2fce9 Bug 1276738 - Test that named windows work properly. r=gabor
MozReview-Commit-ID: 80uzqBvPmOA

--HG--
extra : rebase_source : 974580cae940818b2e89db66dc0d5e44687bd01a
extra : histedit_source : 2fcf014e0b8076b0cd54980526cb8faad27ae830
2016-05-30 17:26:52 -04:00
Mike Conley
ec3ba9084a Bug 1276738 - Test that new windows opened from remote content get the right flags. r=gabor
MozReview-Commit-ID: 3zgJrU0LeUV

--HG--
extra : rebase_source : 5faeae85dcfd38426112baac0cc0374fcff84a33
extra : histedit_source : 3bbfbe167f9402fe9f8c84afe64adf9aa75875ee
2016-04-29 15:28:29 -04:00
Mike Conley
0d5fa55d26 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 0c92084914ffe44a781f034b2416e17905656607
2016-04-29 14:29:03 -04:00
Kartikaya Gupta
c384832c0f Bug 1101628 - Follow-up to fix crash in some gtest scenarios. r=me
MozReview-Commit-ID: 9qRNiaMnLd
2016-06-01 17:17:06 -04:00
Markus Stange
a6a64cb408 Bug 1088763 - Preload yosemite tab images. r=mconley
We need to preload both the inactive and the active images. All our image loads
need to be kicked off before the window document's load event fires. While the
window is hidden, it is inactive. So we need the preloading hack to kick off
the loads for the active images.

MozReview-Commit-ID: 2dPdJNORwhw

--HG--
extra : rebase_source : f7e86186440b10d170ed4c27e3e138457d945089
extra : amend_source : aaf196756c4b8250916942ecc99aca46a19484ae
2016-06-01 16:57:27 -04:00
Gijs Kruitbosch
8dbb94dc77 Bug 1088763 - Fix yosemite inactive window style, r=mconley, ui-r=shorlander
MozReview-Commit-ID: GjEN1nQmpz4

--HG--
extra : rebase_source : 9bf522a2f841132d517d55050a8f6826c9242fae
2016-06-01 16:46:24 -04:00
Jonas Sicking
c706b7f059 Bug 1275714 - Changes in preparation for FlyWeb landing. Add ability to pin using a cert fingerprint, in addition to using a cert. r=dkeeler
--HG--
extra : amend_source : 41336f6eeaf5e26b91e177dd60a91ad9ed3a064c
2016-06-01 17:02:34 -04:00
Jonas Sicking
32162d33c2 Bug 1273279 - Changes in preparation for FlyWeb landing. Change InternalResponse handling to track body size. r=baku f=bkelly
--HG--
extra : amend_source : 257331b8f4b86d6e1c7608ca6866526ce6aa645a
2016-06-01 17:02:29 -04:00
Brad Lassey
68359e5cd1 bug 1269998 - Prompt users with pending crash reports to submit them r=mconley ui-r=shorlander 2016-05-10 23:50:55 -07:00
Justin D'Arcangelo ext:(%2C%20Kannan%20Vijayan%20%3Ckvijayan%40mozilla.com%3E)
8b9a8dc107 Bug 1272101 - Changes in preparation for FlyWeb landing. Add JS implementation of nsDNSServiceDiscovery. r=hurley
--HG--
extra : amend_source : d532c156e75de8525cdb25e3a883dbb865354ec9
2016-06-01 16:22:27 -04:00
Jeff Muizelaar
60421f01e1 Bug 1276923. Actually disable ssse3 scaler until it's fixed. r=mstange 2016-06-01 16:17:35 -04:00
Kannan Vijayan
e4d6db6820 Bug 1272101 - Changes in preparation for FlyWeb landing. Add nsINetworkInfoService and implementation for various platforms. r=hurley 2016-06-01 16:16:40 -04:00
Kartikaya Gupta
2bccdc112b Bug 1101628 - Add a test to ensure that APZ doesn't need to wait for content to provide event region information. r=botond
MozReview-Commit-ID: JCpX0Qh5mC5
2016-06-01 15:48:05 -04:00
Kartikaya Gupta
e0de7153a9 Bug 1101628 - Refactor snapshotting code to allow reusing it across tests. r=botond
MozReview-Commit-ID: BRSUNn5gxSX
2016-06-01 15:48:05 -04:00
Kartikaya Gupta
7f2fcbb03b Bug 1101628 - Fix function name and documentation to reflect reality. r=botond
MozReview-Commit-ID: 4DN8owPZH65
2016-06-01 15:48:05 -04:00
Kartikaya Gupta
f1063f9326 Bug 1101628 - Have the APZCTM tell the input queue what the allowed touch behaviours are, if it has the information. r=botond
MozReview-Commit-ID: CUgJm5ObVFV
2016-06-01 15:48:05 -04:00
Kartikaya Gupta
f8cf1bc2e1 Bug 1101628 - Add additional HitResult types to reflect the different event regions. r=botond
MozReview-Commit-ID: DxZjv1eCWLU
2016-06-01 15:48:05 -04:00
Haik Aftandilian
91677b958d Bug 1274074 - console.log()ging too much data can crash e10s via IPC call from mozilla::dom::ProcessGlobal::SendAsyncMessage; r=mconley
MozReview-Commit-ID: 6ICgsnNHFpq

--HG--
extra : transplant_source : %95%98%12%20n%AEl%E1%86%C8%8A%FF%A8%25%0D%8B%5B%C0%2A0
2016-05-28 01:15:14 -07:00
Jarda Snajdr
fd72aae3ac Bug 1274556 - Add a channelId attribute to nsIHttpChannel (unit test) r=hurley 2016-06-01 12:30:27 -07:00
Jarda Snajdr
4948ad52d6 Bug 1274556 - Add a channelId attribute to nsIHttpChannel r=hurley 2016-06-01 12:29:21 -07:00
James Andreou
e6f48c55a7 Bug 1274687 - change test to use ContentTask.spawn r=ehsan 2016-06-01 12:26:43 -07:00
James Andreou
5680e11169 Bug 1274690 - added missing support files r=ehsan 2016-06-01 12:26:23 -07:00
Haik Aftandilian
7c418a5f4a Bug 1276420 - Widevine plugin crashing on OS X due to -stdlib=libc++ and sandboxing interaction; r=gcp 2016-06-01 12:26:04 -07:00
Honza Bambas
4218070bbb Bug 1276673 - Adjust |doomOnFailure| argument when calling CloseCacheEntry properly, r=michal 2016-06-01 12:25:43 -07:00