Commit Graph

230305 Commits

Author SHA1 Message Date
Wes Kocher
da9cbeca9c Backed out changeset 42269ccaf982 (bug 1107695) for bc1 orange 2015-02-23 15:20:45 -08:00
Richard Newman
8a8eb85e80 Bug 1135900 - Add ReadingListItems.ALL_FIELDS.
And fix REQUIRED_FIELDS, too.
2015-02-23 15:07:55 -08:00
Gijs Kruitbosch
1fde6b1197 Bug 1131758 - indicate 64-bit windows or OSX/Linux incompatibilities for Adobe's CDM, r=dolske 2015-02-23 11:51:48 +00:00
Gijs Kruitbosch
b64b73b27d Bug 1129597 - hide search engine keyword editor on blur, r=florian 2015-02-23 12:22:15 +00:00
Gijs Kruitbosch
d9a551016f Bug 1107695 - make one-off buttons accessible, r=florian,f=MarcoZ 2015-02-16 14:23:47 +00:00
Richard Newman
057fd98875 Bug 1134454 - Extract common resource code out of Sync. r=nalexander 2015-02-23 13:33:05 -08:00
Mike Conley
3e118befc1 Bug 1077168 - Cancel in-flight Webapp install jobs from windows that change location. r=myk.
Installing a Webapp is an asynchronous job, and there is a pocket of time
between when web content requests to install an app and before the browser
displays an installation prompt that the outer window of the content can
browse away. This pocket of time is typically used by XHR to request the
web app resources and verify their contents.

This pocket of time is, essentially, bug 771294, and is a bit of a security
problem.

This problem was originally patched over on Desktop by checking in the parent
process that the outer window was still at the same URI as it had been when it
made the request. I'm not entirely sure if Android / B2G made similar checks.

With separated content processes, however, the browser front-end can no longer
performantly check to ensure that the outer window is at the same URI.

We solve this problem by sending up a message in the content process when
the location of an outer window making use of navigator.mozApps changes.
We hold a Map of "actions" mapping to in-flight installs mapped by the
outer window ID of the requesting content. When we notice a location
change, we mark those actions as cancelled. When the XHR returns, we have
it check the state of its actions, and if they're cancelled, it aborts
further action.

Normally, this wouldn't be necessary, since any XHR initiated by the
content window would be cancelled once the location changed, but in
this case, the XHR is occurring in Webapps.jsm, and is not influenced
by the outer window of the content.
2015-02-10 13:18:47 -05:00
Mike Conley
86cf179c70 Bug 1077168 - Notice when any content requesting Webapp permissions browses away, and remove the notification. r=felipe.
PopupNotifications are great at noticing when the top outer frame changes
location, and clears any pending notifications accordingly. It is, however,
not so great at noticing when subframes that have caused notifications
change location.

Now, when prompting for install / uninstall permissions, we add an
nsIWebProgressListener to the gBrowser that will remove the
notification if we hear that the requesting content has browsed
away.
2015-02-11 11:46:50 -05:00
Mike Conley
c581bf3ecf Bug 1077168 - Have RemoteWebProgress dispatch DOMWindowID's to nsIWebProgressListener's. r=felipe. 2015-02-10 12:28:31 -05:00
Mike Conley
6c2d1d1823 Bug 1077168 - Make WebappManager.jsm use the top window id to select which browser to show notifications in. r=felipe. 2015-01-27 18:32:40 -05:00
Mike Conley
3a981f348e Bug 1077168 - Have Webapps.js pass up the outerWindowID of the top window with each message. r=felipe. 2015-02-11 12:03:12 -05:00
Richard Newman
5e64b87dff Bug 1130461 - Part 3: disable ReadingListHelper's background fetch triggers to avoid test problems. r=margaret 2015-02-23 10:35:11 -08:00
Richard Newman
735d809d90 Bug 1130461 - Part 2: correct value setting in AddToReadingList. r=margaret
It turns out we were using bookmark columns here, which was wrong. We also need to specify ADDED_ON etc.
2015-02-23 10:35:11 -08:00
Richard Newman
425b522635 Bug 1130461 - Part 1: change schema for reading list. r=margaret
This patch does several things, all in one commit because of a schema update:

* Uses _id instead of guid when referring to reading list items, allowing the guid column to be null.
* Reworks schema upgrading.
* Completely revises the reading list schema itself.
* Fixes the tests.
* Cleans up how we do deletion: if an item hasn't yet been synced, it's simply deleted immediately. We can do this because the server allocates GUIDs.
* Adds columns to manage sync-related metadata.
2015-02-23 10:35:11 -08:00
Jared Wein
1e723d7e02 Bug 1047040 - Add browser-specific graphic of GUM prompt to the media-wait message. r=dmose
--HG--
extra : rebase_source : 53512e75b501e3e486e48828c41d7a2ea492d9b4
2015-02-23 13:00:03 -05:00
Michael Comella
6326026ea8 Bug 1133770 - Use Refreshable interface instead of TabStrip in BrowserApp to allow builds on API 9. r=mhaigh
--HG--
extra : rebase_source : 7cec65006014787f1b614ec36acf4d0cec23cd1a
2015-02-20 09:05:22 -08:00
Michael Comella
408233f816 Bug 1133770 - Display the selected tab in the tab strip on device rotation. r=mhaigh
This does not always work in the case that one of the last few tabs (to the
right) are selected and the device is rotated from landscape to portrait.
Filed bug 1134408 to track this.

--HG--
extra : rebase_source : 60d64fbea4e8e32e14f1e8120a32d8c6db76b30f
extra : source : e755879c138c1a3ca96ba9da9f9244cb5bfd755f
2015-02-18 14:23:19 -08:00
YFdyh000
da78cb9823 Bug 1135007 - "Sync Now" button is not translated. r=nalexander
========

dcc6025053
Author: YFdyh000 <yfdyh000@gmail.com>
    Bug 1135007 - "Sync Now" button is not translated
2015-02-23 10:56:08 +08:00
Eddy Bruël
a847a04826 Bug 1129834 - Store BreakpointActors by original location;r=jlong 2015-02-23 16:14:57 +01:00
Florian Quèze
9b1b75d2fd Bug 1124400 - [ReadingList] Add section to bookmarks popup for reading list items and actions, r=Unfocussed. 2015-02-23 13:58:36 +01:00
Carsten "Tomcat" Book
ecb8e9ce4d Merge mozilla-central to fx-team 2015-02-23 13:41:24 +01:00
Carsten "Tomcat" Book
a3fe60c346 merge mozilla-inbound to mozilla-central a=merge 2015-02-23 13:30:28 +01:00
Carsten "Tomcat" Book
e1132308a8 merge fx-team to mozilla-central a=merge 2015-02-23 13:19:15 +01:00
Carsten "Tomcat" Book
951b4e9a4a merge b2g-inbound to mozilla-central a=merge 2015-02-23 13:12:12 +01:00
Blair McBride
b6aa6b7a6d Bug 1133673 - Fix PluralForm string in ReadingList string pre-landing. rs=flod a=tomcat 2015-02-24 00:03:54 +13:00
Blair McBride
9cf168eb97 Bug 1133673 - Pre-land strings for ReadingList v1. r=markh a=Tomcat 2015-02-23 22:45:40 +13:00
B2G Bumper Bot
29f5b7c1f8 Bumping manifests a=b2g-bump 2015-02-23 01:01:28 -08:00
B2G Bumper Bot
922f4f830c Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/8f31030bb6d1
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1131509 - merge pull request #28207 from mancas:bug1131509 to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/6be5169d1ed4
Author: Manuel <manuel.casasbarrado@telefonica.com>
Desc: Bug 1131509 - [Flame][First Time Experience]SIM 2 PIN page's "<" button can't be used in FTU. r=fcampo
2015-02-23 00:59:05 -08:00
Eddy Bruël
53146fc449 Backed out changeset 19757b673ffc;r=me 2015-02-23 09:45:39 +01:00
Eddy Bruël
00ae934099 Bug 1129834 - Store BreakpointActors by original location;r=jlong 2015-02-23 09:43:08 +01:00
Eddy Bruël
7ec5901572 Bug 1131643 - Implement a Location object;r=jlong 2015-02-23 09:36:58 +01:00
Phil Ringnalda
9a96d1f8e6 Back out 66cf24f275b7 (bug 1124011) for frequent ASan crashes in test_memoryReporters.xul 2015-02-22 22:00:56 -08:00
Giovanny Andres Gongora Granada
b4d90c70f2 Bug 974435 - Remove inline scripts and styles usage via JavaScript for shell.html and shell.js r=fabrice 2015-02-22 18:17:31 -08:00
Randell Jesup
99d02c92e9 Bug 1128116: Fix decoding H264 in webrtc where SPS & PPS aren't in a STAP-A packet r=ehugg
FF 37 and before didn't encode SPS/PPS into a STAP-A packet, and the
webrtc.org in branch 40 code doesn't handle that (common) case.
2015-02-22 19:10:59 -05:00
Phil Ringnalda
ed560de68f Back out 21e812742b52 (bug 1134598) for unexpected assertions 2015-02-22 15:56:44 -08:00
Phil Ringnalda
517dded51c Merge m-c to f-t 2015-02-22 15:18:41 -08:00
Phil Ringnalda
af3d786890 Merge m-c to m-i 2015-02-22 15:17:42 -08:00
Bas Schouten
57b791bfb8 Bug 1135408: Report device resets and their reasons through telemetry. r=vladan 2015-02-22 22:53:32 +00:00
Bas Schouten
a5991e6be7 Bug 1131370: Give content side more time to finish its copy. r=jrmuizel 2015-02-22 22:52:47 +00:00
Jan de Mooij
d78988bc94 Bug 1135001 - Get rid of slow GetTopJitJSScript calls in Ion ICs. r=bhackett 2015-02-22 23:37:58 +01:00
Mark Finkle
8aefefbd4f Bug 1131438 - SearchEngineManager doesn't scan the distro searchplugins locale folders or fallback to a distro locale r=margaret 2015-02-22 16:59:33 -05:00
Mark Finkle
bc8438abf7 Bug 1135406 - Remove unused browser.history preferences r=mcomella 2015-02-22 16:56:12 -05:00
Xidorn Quan
f584039622 Bug 1135432 - Suppress line break after text run which ends in ruby. r=jfkthame
--HG--
extra : source : 31da0b2e765e139be3c7fc69b77929323f53000e
2015-02-23 08:55:04 +11:00
Jonathan Kew
59c34f47de Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-22 21:51:05 +00:00
Jonathan Kew
c9deb00381 Bug 1134534 - Reftest for fieldset legend with opposing directionality. r=smontagu 2015-02-22 21:48:53 +00:00
Jonathan Kew
6fdbd5bef9 Bug 1134534 - Convert writing mode if necessary before applying positioning to fieldset legend. r=smontagu 2015-02-22 21:48:28 +00:00
Ryan VanderMeulen
c8f49b8748 Backed out changeset b413c3707a12 (bug 983469) for browser_dbg_server-conditional-bp-01.js timeouts. 2015-02-22 16:02:40 -05:00
Jonathan Kew
906d349b7a Bug 1134216 - Reftest for automatic hyphenation with text-transform. r=smontagu 2015-02-22 19:39:38 +00:00
Jonathan Kew
07faf61412 Bug 1134216 - Preserve line-break flags properly when applying text-transform conversions. r=smontagu 2015-02-22 19:39:36 +00:00
Phil Ringnalda
3a53d120d0 Merge f-t to m-c, a=merge 2015-02-22 10:43:56 -08:00