gecko-dev/dom
Andrew Sutherland 13e936cdab Bug 1345421 - Part 2: Ensure mOriginsHavingData is up-to-date via flushing. r=baku
The intermittent failure appears to have been due to mOriginsHavingData
only being updated when the db thread flushes.  The db thread has a
hard-coded 5 second flush interval.  It's likely that e10s startup was
previously so slow that we were assured of having a flush happen by the
time our fresh process created its parent actor.

We correct this by reliably ensuring a flush before spinning up the
process to check preload state.  We also ensure a flush at the start of
the test for our check that there was no preload in the initial cases.
We were actually more vulnerable in that case, I believe, but as a
browser chrome test, there were no other tests that would have used
content localStorage.

We additionally ensure that the content process has received and
populated mOriginsHavingData by having the tab opening process wait for
about:blank to load in the process before actually opening our origin.
Prior to this change we were depending on orderings that aren't
guaranteed.

--HG--
extra : rebase_source : 92d3c675cee82ffe8b562e83860601e0c6dc1a9b
2017-06-12 04:52:21 -04:00
..
animation Bug 1353987 - Clear ready promise when animation is canceled. r=birtles 2017-06-12 10:45:48 +09:00
asmjscache Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
audiochannel Bug 1367075 - Get rid of AudioChannelService::IsParentProcess, r=me - CLOSED TREE 2017-05-24 09:49:35 +02:00
base Bug 1372042 - Add telemetry about running collectors during idle time, r=mccr8 2017-06-14 23:41:22 +03:00
battery
bindings Bug 1372371. Fix enumerability handling in the window resolve hook. r=qdot 2017-06-12 22:17:03 -04:00
broadcastchannel Bug 1372265 - Use LookupForAdd instead of Get+Put, and LookupRemoveIf instead of Get+Remove, to avoid unnecessary hashtable lookups. r=froydnj 2017-06-14 16:11:21 +02:00
browser-element Bug 1368712 - Get rid of nsIBrowserElementAPI.{set,get}Visible, r=kanru 2017-05-31 21:15:23 +02:00
cache Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
canvas Bug 1365099 - Convert NS_GetCurrentThread uses in gfx (r=dvander) 2017-06-12 20:20:08 -07:00
commandhandler Bug 1372268 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj 2017-06-14 16:11:22 +02:00
console Bug 1372323 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj 2017-06-14 17:27:25 +02:00
credentialmanagement bug 1332681 - part 4/4 - convert authentication.getAssertion to credentials.get r=jcj,qdot 2017-05-23 14:55:10 -07:00
crypto Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
encoding Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor. 2017-06-13 13:23:23 +03:00
events Bug 1372327 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj 2017-06-14 17:27:25 +02:00
fetch Bug 1372888 - FetchBody<Derived>::BeginConsumeBody should check the return value of nsEventTarget::Dispatch, r=bkelly 2017-06-14 15:53:04 +02:00
file Backed out 6 changesets (bug 1371699) for various failures including frequent img-blobURI-2.html failures and leaks a=backout 2017-06-13 17:50:11 -07:00
filehandle Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
filesystem Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
flyweb Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
gamepad Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
geolocation
grid
html Bug 1372349 - Use LookupForAdd instead of GetWeak+Put to avoid unnecessary hashtable lookups. r=froydnj 2017-06-14 17:27:25 +02:00
imptests Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron 2017-05-25 11:26:12 +08:00
indexedDB Merge mozilla-central to mozilla-inbound 2017-06-14 14:50:11 +02:00
interfaces Bug 1345365 - PaymentRequest API canMakePayment(), abort() and show() implementation. r=baku 2017-06-14 15:59:00 +08:00
ipc Bug 1365927 - Part 4. Replace PCompositorBridge integration hooks with PCompositorManager. r=dvander 2017-06-14 11:39:59 -04:00
json Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor. 2017-06-13 13:23:23 +03:00
jsurl Bug 1363560 - Name more runnables (r=mccr8) 2017-05-09 21:53:25 -07:00
locales Bug 1024557 - Ignore x-frame-options if CSP with frame-ancestors exists. r=smaug 2017-06-07 21:17:49 +02:00
manifest Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
mathml Bug 1365092 - Move side effects of SetAttr, UnsetAttr, and ParseAttribute functions to BeforeSetAttr and AfterSetAttr r=bz 2017-06-07 10:28:20 -07:00
media Bug 1365927 - Part 1. Add missing headers and other build housekeeping. r=dvander 2017-06-14 11:39:59 -04:00
messagechannel Bug 1359718 - Get rid of PBlob - part 2 - PBlob, r=smaug, r=kanru 2017-05-23 18:05:19 +02:00
network Backed out 6 changesets (bug 1371699) for various failures including frequent img-blobURI-2.html failures and leaks a=backout 2017-06-13 17:50:11 -07:00
notification Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
offline
payments Bug 1345365 - PaymentRequest API canMakePayment(), abort() and show() implementation. r=baku 2017-06-14 15:59:00 +08:00
performance Bug 1217238 - Reduce time precision when privacy.resistFingerprinting is on. r=mystor 2017-06-06 11:45:14 +08:00
permission
plugins Backed out 6 changesets (bug 1371699) for various failures including frequent img-blobURI-2.html failures and leaks a=backout 2017-06-13 17:50:11 -07:00
power Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
presentation Backed out 6 changesets (bug 1371699) for various failures including frequent img-blobURI-2.html failures and leaks a=backout 2017-06-13 17:50:11 -07:00
promise Bug 1345284 - Move variable declarations in test_promise_argument.html, and test_promise_callback_retval.html. r=jmaher 2017-06-05 12:35:53 -04:00
push Bug 1369314 - Get rid of nsScriptSecurityManager::GetAppCodebasePrincipal, r=bholley 2017-06-02 11:05:28 +02:00
quota Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug) 2017-06-12 20:20:08 -07:00
res
script Bug 1372207 - Schedule JSBC encoding to be executed at the next idle time after the onload event. r=smaug 2017-06-14 14:37:14 +00:00
secureelement
security Backed out 6 changesets (bug 1371699) for various failures including frequent img-blobURI-2.html failures and leaks a=backout 2017-06-13 17:50:11 -07:00
smil Bug 1358966 - Enable shorthand properties for SMIL. r=birtles 2017-06-09 06:19:38 +09:00
storage Bug 1370087 - GenerateOriginKey cannot assert the existence of nsIPrincipal, r=smaug 2017-06-12 12:26:08 +02:00
svg Bug 1369904 - Bounding box should not include control points. r=lsalzman 2017-06-14 06:34:01 +01:00
system Bug 1370027: Part 1 - Cleanly handle a subprocess child being reaped by NSPR. r=aswan 2017-06-06 16:00:53 -07:00
tests Bug 1345421 - Part 2: Ensure mOriginsHavingData is up-to-date via flushing. r=baku 2017-06-12 04:52:21 -04:00
time
u2f Bug 1366072 - Change promises to take nsISerialEventTarget instead of AbstractThread (r=jwwang) 2017-06-13 14:51:01 -07:00
url Bug 1368955 - Split URL.cpp in URLMainThread.{cpp,h} and URLWorker.{cpp,h}, r=qdot 2017-05-31 21:18:56 +02:00
vr
webauthn Bug 1366072 - Change promises to take nsISerialEventTarget instead of AbstractThread (r=jwwang) 2017-06-13 14:51:01 -07:00
webbrowserpersist Bug 1372014 - Remove a redundant hashtable Contains call. r=froydnj 2017-06-14 01:54:26 +02:00
webidl Bug 1345365 - PaymentRequest API canMakePayment(), abort() and show() implementation. r=baku 2017-06-14 15:59:00 +08:00
workers Bug 1372356 part 2 - Use mWindowMap.LookupForAdd instead of Get+Put, and LookupRemoveIf instead of Get+Remove, to avoid unnecessary hashtable lookups. r=froydnj 2017-06-14 17:27:25 +02:00
worklet
xbl Merge mozilla-central to mozilla-inbound 2017-06-14 14:50:11 +02:00
xhr Bug 1367110 - Expose XHRMT's ErrorCode to chrome JS. r=baku 2017-05-24 08:52:15 -04:00
xml Bug 1365506 - fix XHTML/XUL tests that use data: URI. r=smaug 2017-05-23 09:02:06 +08:00
xslt
xul Bug 1290276 Part 8 - Update test expectations after implementing XBL <stylesheet> for stylo. r=heycam 2017-05-31 16:44:38 -07:00
jar.mn
moz.build Backed out changeset 437d6df1859c (bug 1345361) for ESLint failures. 2017-05-25 18:05:15 -04:00