Commit Graph

7351 Commits

Author SHA1 Message Date
Jeff Walden
93beeaefd8 Bug 757908 - Remove JSRESOLVE_DECLARING. r=dmandelin 2012-05-23 10:22:46 -07:00
Jeff Walden
cd54d35db2 Bug 769040 - Remove JSACC_PARENT. r=dmandelin 2012-06-27 14:03:49 -07:00
David Rajchenbach-Teller
11454a7abd Bug 763848 - Companion test suite. r=khuey 2012-06-28 21:56:53 -04:00
David Rajchenbach-Teller
869bb024d2 Bug 763848 - Expose the path to libxul at OS.Constants.Sys. r=khuey 2012-06-28 21:56:30 -04:00
Ryan VanderMeulen
a0705f936c Backout b97cdd8008a0, bc305a9ac000, and 03549c72043d due to Android browser-chrome orange. 2012-06-30 11:09:26 -04:00
Ms2ger
9f56b60843 Merge m-c to m-i. 2012-06-30 14:50:23 +02:00
Kyle Machulis
d07c185846 Bug 769785 - Settings API breaks due to IndexedDB Prefix change; r=khuey 2012-06-29 13:53:41 -07:00
Kyle Huey
aa7956cecf Bug 726378: Followup to fix orange make check. r=me 2012-06-29 11:49:29 -07:00
Kyle Huey
3b3b755501 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -07:00
Jonas Sicking
2e7cb24268 Bug 755514: Cursor.update support for keypath arrays. r=khuey 2012-06-29 09:48:34 -07:00
Kyle Huey
8495031c2a Bug 769356: Calling transaction.abort() should leave transaction.error as null, but throwing exceptions should set transaction.error. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
c3a2cee696 Bug 769537: Actually use QuotaExceededError for database creation. r=bent 2012-06-29 09:48:34 -07:00
Kyle Huey
be8af1d20d Bug 758497: Mimic [EnforceRange] for cursor.advance until we get new WebIDL bindings. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
dac92e82a6 Bug 762206: Fire an nsScriptErrorEvent at the window to get the proper window.onerror behavior. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
90e0774f10 Bug 755511: Revert all in-memory data when reverting versionchange transactions. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
4d13cb8930 Bug 755507: Sort objectStoreNames/indexNames. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
f45badab78 Bug 755515: Catch exceptions in error handlers. r=sicking 2012-06-29 09:48:34 -07:00
Blake Kaplan
3c5cfa25dc Bug 766497 - Dispatch events for wifi going up and down and handle multiple requests to bring it up and down at the same time. r=gal DONTBUILD (missed this review comment in the original checkin) 2012-06-29 12:32:25 +02:00
Blake Kaplan
044a52fa5b Bug 769227 - Wait a little bit before starting wpa_supplicant on the otoro. r=gal DONTBUILD 2012-06-28 14:36:13 +02:00
Blake Kaplan
92c9ebc5b7 Bug 766497 - Dispatch events for wifi going up and down and handle multiple requests to bring it up and down at the same time. r=gal 2012-06-28 12:01:51 +02:00
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
Peter Van der Beken
eac55f89be Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz. 2012-05-21 23:30:07 +02:00
Boris Zbarsky
7d734037c4 Bug 768190. Don't allow [TreatNullAs] or [TreatUndefinedAs] on dictionary members. r=jlebar 2012-06-30 01:53:32 -04:00
Boris Zbarsky
7f6400efa5 Bug 767546. Make the WebIDLError constructor take a list of locations. r=jlebar 2012-06-30 01:53:28 -04:00
Jeff Walden
eca45b8933 Bug 757908 - Remove JSRESOLVE_DECLARING. r=dmandelin
--HG--
extra : rebase_source : 0aa62ffa45751a55708f904079d901347e6dc9ea
2012-05-23 10:22:46 -07:00
Jeff Walden
4759734498 Bug 769040 - Remove JSACC_PARENT. r=dmandelin
--HG--
extra : rebase_source : 2890ae28d325fb2d280f7d781e536e264cb30530
2012-06-27 14:03:49 -07:00
Matt Woodrow
c96dc0e2ed Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Matt Woodrow
cbd39105d9 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Felipe Gomes
8b0f937d6d Bug 768276. Part 5 - Set allAppsLaunchable = true on API tests that skip native installation. r=ctalbert 2012-06-29 13:46:21 -07:00
Felipe Gomes
4be4f50178 Bug 768276. Part 3 - Implement mozApps.getNotInstalled. r=jst 2012-06-29 13:46:21 -07:00
Felipe Gomes
480edeec88 Bug 768276. Part 2 - Use isLaunchable in existing mozApps calls to only return launchable apps. r=jst 2012-06-29 13:46:21 -07:00
Felipe Gomes
effc578374 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
f519b18aac 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
2d6a797659 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz. 2012-06-13 17:14:15 +02:00
Andrew McCreight
4103260478 Bug 754495 - fix assertion. rs=Ms2ger 2012-06-29 09:09:17 -07:00
Bonnie Surender
e360fa128a Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Justin Lebar
971e412f9e No bug - Remove two .orig files. DONTBUILD rs=jst 2012-06-29 09:44:49 +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
Chris Pearce
5b73534832 Bug 758357 - Backout 2d295ed03d7f for causing bug 770085. r=backout 2012-07-02 16:49:38 +12:00
Chris Pearce
0ecfc439b7 Bug 758357 - Backout 6763477075a4 for causing bug 770085. r=backout 2012-07-02 16:49:07 +12:00
Chris Pearce
ed6718553a Bug 758357 - Backout 540cd3aabdd4 for causing bug 770085. r=backout 2012-07-02 16:48:06 +12: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
Ryan VanderMeulen
e7144325c9 Merge m-c to inbound. 2012-06-24 22:59:07 -04:00
Landry Breuil
f8997d9810 Bug 765834 - remove extra UTF BOM that breaks builds r=khuey 2012-06-24 15:29:47 +02:00
Ryan VanderMeulen
e6fbdb9860 Merge m-c to inbound. 2012-06-23 22:22:42 -04:00
Gregory Szorc
91b6cd65d3 Bug 767023 - Change "deleted" to "hidden" per spec change; r=rnewman 2012-06-23 10:22:53 -07:00
Olli Pettay
abe79ac8bf Bug 766694 - Add a test to check existence of each interface in the window scope, r=bz
--HG--
extra : rebase_source : 02e03c441c2c4ed3cbd1ce2981c84cfb350c70a1
2012-06-23 15:42:32 +03:00
Kyle Huey
b7fb5db81c Bug 766462: Followup to fix typo. 2012-06-23 08:00:06 -07:00
Kyle Huey
7d77ab25de Bug 766462: Make some tests wait for all their events. r=me 2012-06-23 07:02:52 -07:00
Ms2ger
37dad68af9 Merge m-c to m-i. 2012-06-23 10:03:22 +02:00
Chris Jones
d40f38e211 Bug 761927: Fix focus for <iframe mozbrowser remote>. r=jlebar,Enn 2012-06-22 18:27:30 -07:00
Chris Jones
d17e510433 Bug 761927, part 0: Add casting helpers and clean house a little. r=jlebar 2012-06-22 18:27:30 -07:00
Mats Palmgren
5d7cefba71 Bug 575294, bug 760946. part=1/5 r=enndeakin,smaug 2012-06-23 03:13:56 +02:00