Commit Graph

7262 Commits

Author SHA1 Message Date
Bobby Holley
2b7bbfa00d 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
d0d18c9d87 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
22171babc1 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
21f7b2dc0e 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
3da2fdb7fa 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
71e3941c1e Bug 769265 - Fix these calls. r=bent 2012-06-28 16:14:11 +02:00
Blake Kaplan
977c0791bb Bug 769248 - Don't overwrite a good BSSID with a bad one. r=gal 2012-06-28 15:40:05 +02:00
Vivien Nicolas
714578e283 Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce 2012-06-28 20:54:37 +12:00
Trevor Saunders
829d31a16c bug 683855 implement width and height attributes for html inputs r=bz 2012-06-27 01:17:31 -04:00
David Rajchenbach-Teller
6602b73b11 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
44b7a7150b Bug 768381 - Size of type mode_t depends on the platform. r=yoric 2012-06-27 20:15:33 -04:00
Martin Stransky
7930265fe3 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Matt Brubeck
ae0a175ce7 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
ac832ab236 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
4326c74162 Bug 767905 - Device Storage - Move editable flag into DeviceStorageFile. r=bent 2012-06-27 13:47:35 -07:00
Blake Kaplan
40cfc0e9e2 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
698402b193 Bug 754495, part 9 - Don't merge too much. r=smaug 2012-06-27 08:10:43 -07:00
Andrew McCreight
73c741383d 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
bb0d8b761d Bug 754495, part 7 - indicate if CycleCollectNow is forced. r=smaug 2012-06-27 08:10:20 -07:00
Andrew McCreight
eb68cfb7c0 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
379571f73a Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug 2012-06-27 08:09:56 -07:00
Ehsan Akhgari
45fe6d3ae2 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
465ca15eec 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
74a0543703 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
c523f2d06a 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
ac35c66b60 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
e18ac6a285 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
97ccea1f07 Merge mozilla-central to mozilla-inbound 2012-06-27 11:35:03 +01:00
Yoshi Huang
5ad40fa4ad 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
95c1dd9e55 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-27 11:29:26 +01:00
Jan Varga
1fddd6b475 Bug 767193 - FileHandles do not get GCed/removed when overwritten in indexeddb. r=bent 2012-06-27 05:14:53 +02:00
Masayuki Nakano
a9a8364195 Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Richard Newman
0f0318013f Merge m-c to s-c. 2012-06-26 13:00:09 -07:00
Ed Morley
a51b95e90e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-26 17:22:49 +01:00
Yoshi Huang
0b4f49d521 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
ea072063d2 Bug 766937 - Add scrollLeftMax/scrollTopMax properties to DOM elements. r=roc 2012-06-26 22:30:14 -07:00
Kyle Huey
26dca770d0 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
4eeae4769b Merge mozilla-central to mozilla-inbound 2012-06-26 12:12:52 +01:00
Ed Morley
fb876e555d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-26 09:52:55 +01:00
Nicholas Nethercote
49bddc8a6e 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
ce3f5c5596 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
8fcb4b1ca6 Bug 766891 - Remove nsIRadioInterfaceLayer.DATACALL_STATE_* r=philikon
--HG--
extra : rebase_source : ffecde9ccdeed162f6fa7faf48215a251e996e0f
2012-06-26 14:43:22 +08:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Kyle Huey
0b74028492 Bug 767999: Actually use QuotaExceededErr. r=bent 2012-06-25 12:15:18 -07:00
Kyle Huey
3a5962a388 Bug 748630: Support IDBTransaction.error. r=bent 2012-06-25 12:15:17 -07:00
Boris Zbarsky
7bb590846a Bug 766796 followup to deal with lack of WebGL on Mac OS 10.5. No review. 2012-06-26 01:09:31 -04:00
Boris Zbarsky
ae835cd014 Bug 766796. Make IDL conversions to 64-bit ints treat NaN and Infinity as 0 instead of whatever the compiler decides to do in that undefined-behavior case. r=peterv 2012-06-25 23:37:47 -04:00
Boris Zbarsky
6ced091cef Bug 768085. Speed up WebIDL tests and make them more usable by pickling the datastructures Yacc produces for the grammar and shutting up the logging it does in the debug mode we force it into. r=khuey 2012-06-25 23:35:42 -04:00
Yoshi Huang
a805ad960b Bug 768367 - B2G RIL: send/received SMS failed on Otoro 2012-06-27 00:04:42 +02:00
Bill McCloskey
6128b18f04 Bug 762199 - Don't use tinyids in indexeddbg (r=Waldo) 2012-06-26 13:35:34 -07:00