Граф коммитов

1192 Коммитов

Автор SHA1 Сообщение Дата
Tobias Schneider 4e7558b2c4 Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar 2012-10-29 16:54:53 +01:00
Boris Zbarsky 1ab893634e Bug 803129. Convert DOMStringMap to WebIDL. r=peterv 2012-11-05 11:58:03 -05:00
Josh Aas 8a78b3c63d Back out both patches for bug 647216 due to regression documented in bug 806244. 2012-11-01 09:19:24 -04:00
Justin Lebar 22489f7920 Backed out changeset a6a847452dbf (bug 802366) 2012-10-30 21:36:29 -04:00
Boris Zbarsky a14a96d2cf Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron 2012-10-30 17:14:06 -04:00
Justin Lebar 7b38d49f83 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar 818638f210 Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD 2012-10-30 16:13:20 -04:00
Justin Lebar af7297481d Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Chris Pearce 046c7a9a82 Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar 2012-10-30 11:02:24 +13:00
Josh Matthews fda5be2065 Bug 723002 - Determine privacy status from provided nsILoadContext in ContentPrefService. r=ehsan 2012-06-30 07:50:07 -07:00
Gabor Krizsanits 11266e6b35 Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz 2012-10-29 12:21:15 +01:00
Aryeh Gregor 024865a052 Bug 802562 - createElement(null) should work like createElement("null"); r=bz 2012-10-21 13:46:39 +02:00
Eitan Isaacson dacf45fe5c Bug 805670 - Introduce nsIDOMWindowUtils.getResolution. r=dholbert sr=smaug 2012-10-26 14:09:38 -07:00
Markus Stange 69c7d8ae0b Bug 647216: Allow testing of MozMouseHittest window dragging. r=enndeakin 2012-10-26 15:40:11 -04:00
Tim Taubert c0ec641283 merge m-c to fx-team 2012-10-25 21:23:58 +02:00
Mihai Sucan bdae941449 Bug 803964 - Cannot show window object with inspect viewer in remote web console; r=bz 2012-10-24 13:01:54 +03:00
David Dahl a1c372317d Bug 773114 - Permission UI events for apps r=sicking r=anygregor 2012-10-24 15:19:01 -05:00
Ben Turner 5e8d8d57f2 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Chuck Lee 6a13b77a08 Bug 780142 - Rewrite MozWifiConnectionInfoEvent. r=smaug 2012-10-22 18:18:26 +08:00
Chuck Lee c686d1e157 Bug 780142 - Rewrite WifiStatusChangeEvent. r=smaug 2012-10-22 17:17:18 +08:00
Carmen Jimenez Cabezas 0b04c48414 Bug 773891 - With AppsService changes 2012-10-19 12:43:17 +02:00
Boris Zbarsky b598ec354c Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv 2012-10-22 13:08:52 -04:00
Peter Van der Beken f52e02e082 Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz.
--HG--
extra : rebase_source : fe059b8ad3b98df9e611899832584cc866db0479
2012-09-26 16:17:47 +02:00
Ms2ger bf2b5f9bda Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz 2012-10-21 09:38:41 +02:00
Peter Van der Beken 9af14c557f Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
Boris Zbarsky 05fd81befd Bug 800983. Expose a getter for default computed style. r=dbaron
An alternative implementation strategy is to add "default-only"
versions of ResolveStyleFor and ResolvePseudoElementStyle and then
modify FileRules to support those, or use a cut-down custom version of
FileRules for them.  That would be faster, but more complicated on the
style set side.  We can always make that switch if we need to, I guess.
2012-10-17 17:01:56 -04:00
Kyle Huey a78a5f8920 Bug 648610: Implement <canvas>.toBlob. r=smaug
--HG--
rename : content/canvas/test/test_mozGetAsFile.html => content/canvas/test/test_toBlob.html
2012-10-15 14:15:25 -07:00
Daniel Holbert f6b7d73947 Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron 2012-10-15 12:42:43 -07:00
Ryan VanderMeulen 409f1f5ca2 Merge inbound to m-c. 2012-10-14 16:39:23 -04:00
Ms2ger b86e67f2b2 Bug 793244 - Part b: Convert Screen to WebIDL; r=bz 2012-10-14 09:40:11 +02:00
Ed Morley ee9067e40d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-12 11:59:59 +01:00
Olli Pettay 2cdba3cfd5 Bug 799592 nsDOMWindowUtils::AllowScriptsToClose to bypass dom.allow_scripts_to_close_windows, r=jst 2012-10-12 13:17:56 +03:00
Benoit Jacob ee49c790ba Bug 779611 - part 9: port WebGLActiveInfo to WebIDL bindings - r=bz 2012-10-09 14:39:49 -04:00
Benoit Jacob 70110ee62b Bug 779611 - part 12: remove old-bindings remnants in the WebGL implementation - r=bz 2012-10-11 15:23:03 -04:00
Jeff Muizelaar ddf572c122 Bug 800031. Include paint time int tab switch telemetry. r=ehsan,dao,bjcaob
This adds a new FX_TAB_SWITCH_TOTAL_MS that should more accurately represent
the user experience of tab switch time than FX_TAB_SWITCH_UPDATE_MS.
FX_TAB_SWITCH_UPDATE_MS is being kept because it gives a good indication of how
much time is being spent in the front end parts vs the painting parts.

This works by measuring the time between beginTabSwitch() and the first call to
LayerManager::PostPresent().
2012-10-11 13:54:27 -04:00
Aryeh Gregor c24a828b17 Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz 2012-10-11 14:48:31 +02:00
Mounir Lamouri 4f484eed65 Bug 798298 - Allow chrome JS code to know if it is being called as a result of a user input event. r=smaug 2012-10-08 12:02:57 +01:00
Ms2ger 008462c582 Bug 795610 - Part f: Prepare HTMLElement.innerHTML for WebIDL bindings; r=mounir 2012-10-06 09:19:52 +02:00
Ms2ger 7053e6b5df Bug 795610 - Part e: Prepare HTMLElement.focus() for WebIDL bindings; r=mounir 2012-10-06 09:19:52 +02:00
Ms2ger d34370b699 Bug 795610 - Part d: Prepare HTMLElement.click() for WebIDL bindings; r=mounir 2012-10-06 09:19:52 +02:00
Benoit Jacob 7240725ea8 Bug 779611 - reland parts 5-8 - port WebGLTexture, WebGLBuffer, WebGLFramebuffer, WebGLRenderbuffer, WebGLShader, WebGLProgram to WebIDL bindings - r=bz 2012-10-04 16:35:54 -04:00
Benoit Jacob 0d5a123372 back out 6f3714945438, 5732dca84958, bfb93cf89612, e697a832c60b for Mac build error 2012-10-04 15:06:31 -04:00
Benoit Jacob d0d8da9931 Bug 779611 - part 8 - port WebGLShader and WebGLProgram to WebIDL bindings - r=bz 2012-10-04 14:45:35 -04:00
Benoit Jacob 19d4659685 Bug 779611 - part 7 - port WebGLFramebuffer and WebGLRenderbuffer to WebIDL bindings - r=bz 2012-10-04 14:45:33 -04:00
Benoit Jacob 61562913f0 Bug 779611 - part 6 - port WebGLBuffer to WebIDL bindings - r=bz 2012-10-04 14:45:32 -04:00
Benoit Jacob 15fe2b859a Bug 779611 - part 5 - port WebGLTexture to WebIDL bindings - r=bz 2012-10-04 14:45:25 -04:00
Daniel Holbert e3a3eec59c Bug 797022: Turn on MOZ_FLEXBOX build flag to enable CSS3 flexbox in builds. r=bz 2012-10-03 19:08:43 -07:00
Benoit Jacob 8da7053199 Bug 779611 - part 2 - drop old bindings for WebGLUniformLocation - r=bz 2012-10-03 17:13:05 -04:00
Benoit Jacob df20918e33 Bug 779611 - part 1 - port WebGLShaderPrecisionFormat to WebIDL bindings - r=bz 2012-10-03 17:13:05 -04:00
Andrea Marchesini 1724533848 Bug 794102 - checkInstalled should return an app object. r=felipc 2012-10-02 16:38:51 -04:00
Mounir Lamouri 8b69632999 Bug 795136 - 1/2 - Add events notifying the window if upload/download happen on the system. r=smaug sr=sicking 2012-09-30 14:47:48 +01:00
Jonathan Kew 7c72bd5ca4 bug 674373 pt 5 - provide a fullZoom API in nsIDOMWindowUtils, and use this rather than inferring zoom from CSS to device pixel ratio. r=roc 2012-09-29 12:35:19 +01:00
Inder Kumar ext:(%20and%20Mike%20Habicher%20%3Cmhabicher%40mozilla.com%3E) 6d9d08d1fd Bug 776062: Add support for recording video on gonk. r=cjones,double,ikumar,mikeh sr=sicking 2012-09-28 22:30:52 -07:00
Ryan VanderMeulen 5330540831 Merge the last PGO-green inbound changeset to m-c. 2012-09-27 20:52:01 -04:00
Ben Turner 77826d02c6 Bug 794973 - 'Make mozIApplicationClearPrivateDataParams inherit nsISupports'. r=khuey. 2012-09-27 08:59:31 -07:00
Blake Kaplan 85e8f9d1fd Bug 787552 - Expose the IP address and MAC address to content. r=vchang f=kaze 2012-09-27 14:14:06 -04:00
Fabrice Desré 65188dbcca Bug 790870 - Implement install/update API during installation of hosted apps - Part 1 : IDL changes [sr=sicking] 2012-09-26 18:01:18 -07:00
Ben Turner 14095de251 Bug 784378 - 'Apps API - Clear Private Data'. Add missing file. r=jlebar. 2012-09-26 15:16:41 -07:00
Ben Turner 76576b59c1 Bug 784378 - 'Apps API - Clear Private Data'. r=jlebar. 2012-09-26 15:03:25 -07:00
Andrea Marchesini 3d78e7416e Bug 779982 - Change behaviour of getSelf and add amInstalled function. r=sicking 2012-09-25 11:04:24 -04:00
Benoit Jacob 64b67de1c3 Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert 2012-09-25 08:49:28 -04:00
Benoit Jacob faf08d911a Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert 2012-09-25 08:49:28 -04:00
Robert O'Callahan f876b8f52e Bug 792665. Stop allowing HTMLMediaElement.src = mediaStream, and support HTMLMediaElement.mozSrcObject = mediaStream instead. r=cpearce,jesup
--HG--
extra : rebase_source : 1986b88dc293939055b12ec7065c37dae394af8c
2012-09-24 15:47:30 +12:00
Jim Mathies 88ccb13216 Bug 726615 - Implement w3c touch events for Windows. Original patch by Makoto Kato. r=wesj, smaug, mbrubeck 2012-09-22 14:28:35 -05:00
Jim Mathies 063a9840ee Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Matt Brubeck 7cd25b03d4 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Nathan Froyd 94f915135f Bug 793258 - convert PR_FALSE to false in defined-in-idl-files functions; r=ehsan 2012-09-21 14:40:14 -04:00
Gregor Wagner 344500c5f6 Bug 792604 - Permission Settings followup fixes. r=sicking 2012-09-20 08:56:55 -07:00
Ms2ger abf742d34d Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger 451f5737e1 Bug 776243 - Unpref WebGL context bindings; r=peterv 2012-09-20 09:55:36 +02:00
Andrew McCreight 5cb3a7f8fc Bug 790034 - Remove nsIDOMWindowUtils.goOnline. r=smaug 2012-09-18 23:11:31 -07:00
Gregor Wagner f86a19dece Backout bug 770731 2012-09-18 16:19:56 -07:00
Gregor Wagner 12da45ca6f Bug 770731 - Expose JS API for modifying app permissions. r=sicking 2012-09-18 14:52:39 -07:00
Matt Brubeck 0e175dfa7d Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red 2012-09-17 11:11:30 -07:00
Matt Brubeck a50face047 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
--HG--
extra : rebase_source : be8a0dca63bb11418dfe9adf08c4717f8059146b
2012-08-22 13:17:20 -07:00
Peter Van der Beken 6f38d2708d Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Peter Van der Beken 28cd2bd9a0 Fix for bug 788532 (Add the new DOM bindings API to DOM lists) - Rename nsIDOMHTMLCollection::GetNodeAt to GetElementAt. r=bz.
--HG--
extra : rebase_source : 9bd26842a548580b7ea90a29d2fdba8629a70ef7
2012-09-05 17:42:58 +02:00
Jonas Sicking cc6a6e2f76 Bug 776416 - Remove exceptions to 5MB quota rule in localStorage. r=honzab 2012-09-13 20:46:50 +02:00
Myk Melez d7947a3d5a bug 777400 - disable mozApps.installPackage API in Firefox for Desktop and Android; r=fabrice, sr=sicking 2012-09-11 13:53:42 -07:00
Steven Lee b8261d4904 Bug 714358: Time manager interface. f=mounir, sr=mounir 2012-09-10 07:14:00 -04:00
Mounir Lamouri 37e88bfeb1 Bug 784549 - lockOrientation() should accept an Array of DOMString's in addition of a DOMString. r=jlebar,khuey 2012-09-11 11:55:08 +01:00
Nathan Froyd 96439647c2 Bug 786703 - fix dom/ build failures from introducing PARALLEL_DIRS; r=glandium 2012-09-11 07:47:42 -04:00
Gabor Krizsanits 281bb59626 Bug 737003 - Offer a way to apply user agent stylesheet on a given document; r=bz 2012-09-11 13:51:10 +02:00
Dave Hylands c2faa7ed89 Bug 784805 - Add a name field to mozIApplication and set it from the manifest r=fabrice 2012-09-10 21:30:10 -07:00
Phil Ringnalda 6881ce7451 Backout 38052fd23aec, 910406b62ebc, 7b15c079564c, d7c1d26f8bc9 (bug 716575) for probable reftest and certain talos bustage on Android 2012-09-10 20:57:31 -07:00
Matt Brubeck 7fee52908e Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Jim Mathies bf296876b6 Bug 783531 - Implement a 'select word at point' text selection routine in nsIDOMWindowUtils. r=roc 2012-09-10 16:02:23 -05:00
Gregor Wagner 9c9eb3a586 Bug 770731 - Expose JS API for modifying app permissions. r=sicking 2012-09-19 11:19:00 -07:00
Gregor Wagner 63dca591ca Bug 791799 - Settings: Remove mozSettings.getLock. r=fabrice 2012-09-19 10:21:30 -07:00
Boris Zbarsky 942cc93041 Bug 601912. Implement <ol reversed>. r=dholbert 2012-09-07 22:30:24 -04:00
Matt Brubeck 8d90032145 Bug 564815 - Implement window.devicePixelRatio [r=jst, sr=sicking]
--HG--
extra : rebase_source : 392c6636fabe2a3ec519abd03ef1b1cf44ba464e
2012-08-22 13:17:26 -07:00
Ed Morley 52ba5e1f2e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-06 10:19:16 +01:00
Ms2ger 36d93492da Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug 2012-09-06 09:14:49 +02:00
Gregor Wagner aa2e534506 Bug 788561 - SettingsAPI: Use createLock instead of getLock. r=bent 2012-09-05 17:33:03 -07:00
Brendan Dahl c8fe46d4c6 Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug 2012-08-31 10:45:45 -07:00
Masayuki Nakano 36a101bd0d Bug 786898 part.2 Add overflow delta value tests r=smaug, sr=smaug 2012-09-04 17:39:28 +09:00
Gene Lian bf14dd20ba Bug 785298 - Settings API: set() can carry a customized message to notify "mozsettings-changed" observers. r=gwagner 2012-08-31 15:37:43 +08:00
Mounir Lamouri 2d431e023d Bug 786296 - Remove permissions when an app is uninstalled. r=jlebar,fabrice 2012-08-31 11:34:28 -03:00
Fabrice Desré ae7cf1a4f0 Bug 778079 - Support loading app packages from multiple locations [r=vingtetun] 2012-08-29 14:20:03 -07:00
Kyle Huey 3b42fbfcd1 Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00