Closed Bug 781700 Opened 12 years ago Closed 12 years ago

GCd databases do not unblock additional databases.

Categories

(Core :: Storage: IndexedDB, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: khuey, Assigned: khuey)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Discovered this while grovelling around in Bug 775206.  Most of the patch is test code.
Attachment #650740 - Flags: review?(bent.mozilla)
Comment on attachment 650740 [details] [diff] [review]
Patch

Review of attachment 650740 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/indexedDB/TransactionThreadPool.cpp
@@ +449,5 @@
>  }
>  
>  bool
>  TransactionThreadPool::WaitForAllDatabasesToComplete(
> +                                   nsTArray<IDBDatabase*>& aDatabases,

Nit: Can you reformat these?

::: js/xpconnect/src/nsXPConnect.cpp
@@ +2971,5 @@
>          printf("No idea what this value is.\n");
>      }
>  }
> +
> +JS_EXPORT_API(void) DumpCompleteHeap()

Let's be safe and nullcheck these things so we don't accidentally crash from gdb.
Attachment #650740 - Flags: review?(bent.mozilla) → review+
Blocks: 522245
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: