Commit Graph

10387 Commits

Author SHA1 Message Date
Felipe Gomes
3d20cc82db Bug 768276. Part 1 - Implement Webapps._isLaunchable on desktop platforms to verify if a webapp is launchable. r=myk
Original patches for Windows by Tim in bug 756306, for Mac by Dan in bug 762698, and for Linux by Marco in bug 756307
2012-06-29 13:46:21 -07:00
Mark Goodwin
e2b1cff4af Bug 766569 - add l10n support to existing CSP errors and warnings. (r=bz) 2012-06-29 12:51:24 -07:00
Peter Van der Beken
209dc3f233 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz. 2012-06-13 17:14:15 +02:00
Andrew McCreight
ba92c971ed Bug 754495 - fix assertion. rs=Ms2ger 2012-06-29 09:09:17 -07:00
Bonnie Surender
2b42bacc22 Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Justin Lebar
fe5f9c5405 No bug - Remove two .orig files. DONTBUILD rs=jst 2012-06-29 09:44:49 +02:00
Bobby Holley
446f38447d Bug 754202 - Use the safe JSContext rather than the current JSContext in IndexedDBDatabaseParent::HandleDatabaseEvent. r=bent
It's not used for anything substantial, and it can be (or always is?) called with no JS on the stack.
2012-06-28 23:47:56 +02:00
Bobby Holley
6b573f8ee1 Bug 754202 - Scope the push of the safe js context such that it doesn't include the call to XHR::Send. r=mrbkap,bent 2012-06-28 23:47:56 +02:00
Bobby Holley
83245872f0 Bug 754202 - Remove context pushing/popping API. r=mrbkap Each one of these uses grabs the principal off of an object for pushing, but also enters the compartment of that object. So we shouldn't need this anymore.
Can I get a 'hell yeah'?
2012-06-28 23:47:55 +02:00
Bobby Holley
ebec529f3b Bug 754202 - Disallow calling EvaluateString{,WithValue} with a principal that doesn't match the global. r=mrbkap 2012-06-28 23:47:55 +02:00
Bobby Holley
5fd32a8647 Bug 754202 - Fix content->chrome postMessage mochitest. r=bz This isn't something we actually support, and were using enablePrivilege to do it before. When we switch this to SpecialPowers wrapping, the sender origin becomes a chrome URL (not very interesting) and the source window becomes null (which we do explicitly in nsGlobalWindow for chrome callers). So those tests stop being useful. 2012-06-28 23:47:55 +02:00
Blake Kaplan
44659b1a8f Bug 769265 - Fix these calls. r=bent 2012-06-28 16:14:11 +02:00
Blake Kaplan
fce23dd7f2 Bug 769248 - Don't overwrite a good BSSID with a bad one. r=gal 2012-06-28 15:40:05 +02:00
Vivien Nicolas
72c90c5473 Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce 2012-06-28 20:54:37 +12:00
Trevor Saunders
b3d3815263 bug 683855 implement width and height attributes for html inputs r=bz 2012-06-27 01:17:31 -04:00
David Rajchenbach-Teller
84a851cf34 Bug 768381 - OS.Constants.Sys.Version should be OS.Constants.Sys.Name. r=yoric 2012-06-27 20:15:33 -04:00
David Rajchenbach-Teller
9372215e1d Bug 768381 - Size of type mode_t depends on the platform. r=yoric 2012-06-27 20:15:33 -04:00
Martin Stransky
ac4d102d0d Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Matt Brubeck
aa0f6555db Back out 438c192e561b and d6f341e77b68 (bug 762652, bug 762654) on suspicion of breaking Windows PGO tests 2012-06-27 16:24:53 -07:00
Doug Turner
2055147352 Bug 767894 - Device Storage - Move test from dom/tests/mochitest/devicestorage to dom/devicestorage. rs=bent
--HG--
rename : dom/tests/mochitest/devicestorage/Makefile.in => dom/devicestorage/test/Makefile.in
rename : dom/tests/mochitest/devicestorage/devicestorage_common.js => dom/devicestorage/test/devicestorage_common.js
rename : dom/tests/mochitest/devicestorage/test_basic.html => dom/devicestorage/test/test_basic.html
rename : dom/tests/mochitest/devicestorage/test_dotdot.html => dom/devicestorage/test/test_dotdot.html
rename : dom/tests/mochitest/devicestorage/test_enumerate.html => dom/devicestorage/test/test_enumerate.html
rename : dom/tests/mochitest/devicestorage/test_enumerateMultipleContinue.html => dom/devicestorage/test/test_enumerateMultipleContinue.html
rename : dom/tests/mochitest/devicestorage/test_enumerateNoParam.html => dom/devicestorage/test/test_enumerateNoParam.html
rename : dom/tests/mochitest/devicestorage/test_enumerateOptions.html => dom/devicestorage/test/test_enumerateOptions.html
rename : dom/tests/mochitest/devicestorage/test_lastModificationFilter.html => dom/devicestorage/test/test_lastModificationFilter.html
rename : dom/tests/mochitest/devicestorage/test_overwrite.html => dom/devicestorage/test/test_overwrite.html
rename : dom/tests/mochitest/devicestorage/test_sanity.html => dom/devicestorage/test/test_sanity.html
2012-06-27 13:47:36 -07:00
Doug Turner
bc260dfa43 Bug 767905 - Device Storage - Move editable flag into DeviceStorageFile. r=bent 2012-06-27 13:47:35 -07:00
Blake Kaplan
8902ae6e1f Bug 768905 - Don't react to 'connecting' events when we're already connected. r=gal DONTBUILD
--HG--
extra : rebase_source : b285eb7d2d09721dc72031ae4ee3137e8d0e1f72
2012-06-27 17:09:16 +02:00
Andrew McCreight
38b491d028 Bug 754495, part 9 - Don't merge too much. r=smaug 2012-06-27 08:10:43 -07:00
Andrew McCreight
3d40e25f4b Bug 754495, part 8 - do merging CCs when there's a gray global. r=smaug,mrbkap 2012-06-27 08:10:32 -07:00
Andrew McCreight
fd586ea5d8 Bug 754495, part 7 - indicate if CycleCollectNow is forced. r=smaug 2012-06-27 08:10:20 -07:00
Andrew McCreight
1928ad71fe Bug 754495, part 6 - indicate in error console if we do a merged CC. r=smaug 2012-06-27 08:10:09 -07:00
Andrew McCreight
ffbaa85872 Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug 2012-06-27 08:09:56 -07:00
Ehsan Akhgari
f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Peter Van der Beken
60fb9fe77c Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz.
--HG--
extra : rebase_source : 04c68533b85dca434e3ab086d8ff5081a323785c
2012-05-21 23:30:07 +02:00
Peter Van der Beken
be3b0761b1 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz.
--HG--
extra : rebase_source : 8e7a2722aa1fb089baa6c1aa8604dcd0e91c1ff2
2012-06-13 17:14:15 +02:00
Peter Van der Beken
b46e1cd08a Fix for bug 768669 (Move remaining DOM list proxy bindings from behind the pref). r=bz.
--HG--
extra : rebase_source : 738cd6df3aa353b682f931beaabde74de8c1a2bd
2012-06-22 12:34:26 +02:00
Peter Van der Beken
d6b52c8e2a Fix for bug 768533 (Make mozilla::dom::Uint8ClampedArray::Create call JS_NewUint8ClampedArray). r=bz.
--HG--
extra : rebase_source : baaf7494f64a91a9315a6e1bed3f75239f8eab81
2012-06-27 11:24:46 +02:00
Peter Van der Beken
9731887958 Fix for bug 768050 (Make TypedArray::Create take a wrapper cache and create JS objects in the compartment of the cache's wrapper). r=bz.
--HG--
extra : rebase_source : 3ec03b33913e14a113bf9283566a68fe3be5fe02
2012-06-25 18:37:46 +02:00
Ed Morley
8915790e6f Merge mozilla-central to mozilla-inbound 2012-06-27 11:35:03 +01:00
Yoshi Huang
7fbbb58e57 Bug 768428 - B2G RIL: REQUEST_GET_IMSI doesn't have response on Akami. r=philikon 2012-06-26 17:34:15 +02:00
Ed Morley
94d1f66301 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-27 11:29:26 +01:00
Jan Varga
6565546c36 Bug 767193 - FileHandles do not get GCed/removed when overwritten in indexeddb. r=bent 2012-06-27 05:14:53 +02:00
Masayuki Nakano
a16ae57d35 Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Richard Newman
e3b670c130 Merge m-c to s-c. 2012-06-26 13:00:09 -07:00
Ed Morley
de2bdfdc19 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-26 17:22:49 +01:00
Yoshi Huang
5cb463f396 Bug 768428 - B2G RIL: REQUEST_GET_IMSI doesn't have response on Akami. r=philikon 2012-06-26 17:34:15 +02:00
Kartikaya Gupta
f99dd9dfe3 Bug 766937 - Add scrollLeftMax/scrollTopMax properties to DOM elements. r=roc 2012-06-26 22:30:14 -07:00
Kyle Huey
ce05d78426 Bug 755510: db.transaction should work inside a versionchange transaction's oncomplete handler. r=bent 2012-06-26 08:09:25 -07:00
Ed Morley
ec0a32e7e2 Merge mozilla-central to mozilla-inbound 2012-06-26 12:12:52 +01:00
Ed Morley
67022caa2d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-26 09:52:55 +01:00
Nicholas Nethercote
50cc826df5 Bug 711130 (part 1) - Fix "window-objects" measurement inconsistency. r=nfroyd.
--HG--
extra : rebase_source : d58788d8d47eeac7d4ecac85eb016c5fd6c4b739
2012-06-25 17:06:50 -07:00
Kan-Ru Chen
16cfb01461 Bug 766866 - Save data call information in data call object. r=philikon
--HG--
extra : rebase_source : b4500466d39f94b8c5168afbf81a07246d4e1d07
2012-06-26 14:49:52 +08:00
Kan-Ru Chen
104357528c Bug 766891 - Remove nsIRadioInterfaceLayer.DATACALL_STATE_* r=philikon
--HG--
extra : rebase_source : ffecde9ccdeed162f6fa7faf48215a251e996e0f
2012-06-26 14:43:22 +08:00
Jonathan Watt
970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Kyle Huey
3eb633f947 Bug 767999: Actually use QuotaExceededErr. r=bent 2012-06-25 12:15:18 -07:00