Catalin Badea
fc6ab5f0ea
Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv
2017-10-03 11:09:08 +01:00
Samael Wang
7cb5ac2fbd
Bug 1364364 - Part 3: Clear dynamic subframe entries in RemoveFromBFCacheSync/Async. r=smaug
...
MozReview-Commit-ID: F8OTxbWIp5O
2017-08-24 15:17:39 +08:00
Samael Wang
8eb171b2eb
Bug 1364364 - Part 2: Extract a part of EvictExpiredContentViewerForEntry to a new function FindTransactionForBFCache, and implement RemoveDynEntriesForEntry on top of it. r=smaug
...
MozReview-Commit-ID: EzK2U0c94v8
2017-08-24 14:32:23 +08:00
Samael Wang
b6fd73d16e
Bug 1364364 - Part 1: Why are we declaring private virtual functions? r=smaug
...
MozReview-Commit-ID: KQxFTrEO1aq
2017-08-24 11:27:11 +08:00
Nicholas Nethercote
e8236888ee
Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
...
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.
2017-09-22 14:35:46 +10:00
Ryan VanderMeulen
e07311eba2
Backed out 7 changesets (bug 1364364) for causing bug 1399182.
...
Backed out changeset c517d8071dfb (bug 1364364)
Backed out changeset 809036cfd7d9 (bug 1364364)
Backed out changeset c394b06dc30c (bug 1364364)
Backed out changeset c5a737bbfdeb (bug 1364364)
Backed out changeset 21ee8f318a47 (bug 1364364)
Backed out changeset 074475da0f2c (bug 1364364)
Backed out changeset de6c153ec533 (bug 1364364)
2017-09-12 13:21:17 -04:00
Samael Wang
d717fc52c1
Bug 1364364 - Part 3: Clear dynamic subframe entries in RemoveFromBFCacheSync/Async. r=smaug
...
MozReview-Commit-ID: F8OTxbWIp5O
2017-08-24 15:17:39 +08:00
Samael Wang
10612c2ac6
Bug 1364364 - Part 2: Extract a part of EvictExpiredContentViewerForEntry to a new function FindTransactionForBFCache, and implement RemoveDynEntriesForEntry on top of it. r=smaug
...
MozReview-Commit-ID: EzK2U0c94v8
2017-08-24 14:32:23 +08:00
Samael Wang
1aad9dd2d3
Bug 1364364 - Part 1: Why are we declaring private virtual functions? r=smaug
...
MozReview-Commit-ID: KQxFTrEO1aq
2017-08-24 11:27:11 +08:00
Sebastian Hengst
4d4c1bd3c5
Backed out changeset 24edc3618b45 (bug 1364364) for failing mochitest dom/workers/test/test_multi_sharedWorker_lifetimes.html on Android. r=backout
2017-09-07 16:50:38 +02:00
Sebastian Hengst
9614ee7a4d
Backed out changeset 58fe37290a82 (bug 1364364)
2017-09-07 16:49:45 +02:00
Sebastian Hengst
e88581c38c
Backed out changeset e07ddefd4a8e (bug 1364364)
2017-09-07 16:49:39 +02:00
Samael Wang
75835cb9fa
Bug 1364364 - Part 3: Clear dynamic subframe entries in RemoveFromBFCacheSync/Async. r=smaug
...
MozReview-Commit-ID: F8OTxbWIp5O
2017-08-24 15:17:39 +08:00
Samael Wang
78f4c27c23
Bug 1364364 - Part 2: Extract a part of EvictExpiredContentViewerForEntry to a new function FindTransactionForBFCache, and implement RemoveDynEntriesForEntry on top of it. r=smaug
...
MozReview-Commit-ID: EzK2U0c94v8
2017-08-24 14:32:23 +08:00
Samael Wang
9a80cd1a20
Bug 1364364 - Part 1: Why are we declaring private virtual functions? r=smaug
...
MozReview-Commit-ID: KQxFTrEO1aq
2017-08-24 11:27:11 +08:00
Wes Kocher
07eb2c1398
Backed out 7 changesets (bug 1364364) for failures in test_multi_sharedWorker_lifetimes.html a=backout
...
Backed out changeset 6298563c1a81 (bug 1364364)
Backed out changeset 285633e277cb (bug 1364364)
Backed out changeset 6abd3298188a (bug 1364364)
Backed out changeset 6a0ec9eff8c3 (bug 1364364)
Backed out changeset f23aa9861e9b (bug 1364364)
Backed out changeset 5d6bf02b495a (bug 1364364)
Backed out changeset c9420f4e27f7 (bug 1364364)
MozReview-Commit-ID: IAFeH325T14
2017-09-06 13:07:13 -07:00
Samael Wang
4f4dbbd484
Bug 1364364 - Part 3: Clear dynamic subframe entries in RemoveFromBFCacheSync/Async. r=smaug
...
MozReview-Commit-ID: F8OTxbWIp5O
2017-08-24 15:17:39 +08:00
Samael Wang
71d5bb658d
Bug 1364364 - Part 2: Extract a part of EvictExpiredContentViewerForEntry to a new function FindTransactionForBFCache, and implement RemoveDynEntriesForEntry on top of it. r=smaug
...
MozReview-Commit-ID: EzK2U0c94v8
2017-08-24 14:32:23 +08:00
Samael Wang
ca7751e8c4
Bug 1364364 - Part 1: Why are we declaring private virtual functions? r=smaug
...
MozReview-Commit-ID: KQxFTrEO1aq
2017-08-24 11:27:11 +08:00
Nicholas Nethercote
d24ecfe191
Bug 1387381 - Remove nsXPIDLString local variables. r=erahm.
...
nsXPIDLStrings are marked as VOIDED upon initialization. Most of these local
nsXPIDLString variables are immediately set via getter_Copies(), which will
either assign a string value (using Adopt()) or do SetIsVoid(). These can be
trivially converted to nsString, which will get the same treatment.
The patch suitably converts the remaining nsXPIDLString local variable as well.
2017-08-08 16:07:55 +10:00
Honza Bambas
7139fb2880
Bug 1380012 - Copy nsSHEntry::mResultPrincipalURI in its copy constructor. r=bz
2017-07-29 13:04:39 -04:00
Bevis Tseng
2ecbda13e2
Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
2017-07-26 16:13:35 +08:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Honza Bambas
d9b2cc5343
Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz, r=mikedeboer
2017-05-30 18:07:59 +02:00
Samael Wang
c42e6928d2
Bug 1363036 - Part 2: Reject AddEntry / ReplaceEntry if the entry has been associated to another SHistory. Cleanup mHistoryTracker if root docshell changes. r=smaug
...
MozReview-Commit-ID: 9s4dQG18JUN
2017-05-22 15:36:06 +08:00
Samael Wang
67a5223b80
Bug 1363036 - Part 1: Remove MOZ_DIAGNOSTIC_ASSERTs previously added for bug hunting. r=smaug
...
MozReview-Commit-ID: BAkuRlHtMcP
2017-05-22 11:25:54 +08:00
Bob Owen
b1374436d4
Bug 1351358 Part 1: Add flag to nsISHEntry to indicate if it was originally loaded in this process. r=bz
...
This flag is for when we've loaded a URI in a remote type that is not the default
for compatibility reasons (for example related http in the file content process).
So that we can load the history entry in that same process as well.
2017-05-18 12:08:56 +01:00
Samael Wang
14a9fce4b8
Bug 1363036 - Add MOZ_DIAGNOSTIC_ASSERTs for bug hunting. r=smaug
...
MozReview-Commit-ID: JPnkkJlkwDY
2017-05-16 10:54:01 +08:00
Samael Wang
b2811aef50
Bug 1347823 - Part 2: Move HistoryTracker to nsSHistory and bind its event target to the TabGroup. r=smaug
...
Convert the singleton HistoryTracker implementation to a per-nsSHistory based
implementation so that it can be bound to a TabGroup.
MozReview-Commit-ID: 7cMtArsO5lQ
2017-04-27 18:59:11 +08:00
Samael Wang
0a768cbd2e
Bug 1347823 - Part 1: Reorder includes and data members. r=smaug
...
Re-order includes to meet gecko's coding style, and move bool data members
to the bottom for slightly better alignment (nsSHEntry down from 192->176,
nsSHEntryShared down from 208->200 on a Linux64 build).
MozReview-Commit-ID: CG1M6Hh39uI
2017-04-27 18:16:46 +08:00
Christoph Kerschbaumer
9044a8bb83
Bug 1359092 - Extend loadURI within nsIWebNavigation.idl by a triggeringPrincipal argument. r=bz
2017-04-25 12:22:25 +02:00
Carsten "Tomcat" Book
c9c22f180a
Backed out changeset 3e42f84996ea (bug 1359092) for causing assertion failures
2017-04-25 10:46:31 +02:00
Christoph Kerschbaumer
2d7ff6175c
Bug 1359092 - Extend loadURI within nsIWebNavigation.idl by a triggeringPrincipal argument. r=bz
2017-04-24 21:57:25 +02:00
Paul Bignier
b6d8bcaff5
Bug 1356896 - Convert the shistory to use mozilla/LinkedList.h rather than prclist.h. r=erahm
2017-04-19 10:05:00 -07:00
Bevis Tseng
c3fd5aedf3
Bug 1350177 - Part 2: Fix compiling error after ExpirationTrackerImpl is introduced. r=mystor
2017-03-29 15:48:47 -04:00
Jan Henning
4c7f7eb17d
Bug 1265818 - Part 2 - Add scriptable methods for getting and setting PresStates from JS. r=jst
...
This will allow the session store to store and restore scroll positions (and pinch zoom on Android) for past session history entries as well, whereas today only the scroll position of the current page is saved.
As a LayoutHistoryState saves its PresStates in a hash table that doesn't allow direct access to its contents if you don't already know the entry's key, we provide a function to iterate over all stored PresStates and retrieve their keys, which can then be used to get access to each individual PresState in turn. Since nsPresState is little more than a fancy struct and we don't want to have to turn it into a full-blown XPCOM-compatible interface, we just pass the scroll/zoom-related values we're interested in as in/out parameters from/to JS via the LayoutHistoryState.
We also require a helper method for initialising an SHEntry's LayoutHistoryState, since normally this doesn't happen until the PresShell wants to capture the history state in it. We on the other hand require a LayoutHistoryState to be present immediately after creation of a fresh SHEntry object, so we can feed it the session store data during history restoration.
MozReview-Commit-ID: FfZf8KDsVWl
***
2017-03-25 14:01:29 +01:00
Samael Wang
2c372834c1
Bug 1339707 - Replace NS_DispatchToCurrentThread to DocGroup / TabGroup dispatch method and set nsITimer target. r=smaug
2017-03-07 16:58:59 +08:00
Christoph Kerschbaumer
307617fb05
Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal. r=jwatt
2017-03-08 13:08:59 +01:00
Xidorn Quan
be19ce7716
Bug 1342303 part 3 - Remove nsCOMArray::EnumerateForwards uses in docshell. r=smaug
...
MozReview-Commit-ID: FJen0p0c54u
2017-02-24 21:32:20 +11:00
Wes Kocher
29eb490f36
Backed out 6 changesets (bug 1342303) for build bustage a=backout
...
Backed out changeset 89137679a68c (bug 1342303)
Backed out changeset 20a1bcb47c33 (bug 1342303)
Backed out changeset bc3b2e7a383b (bug 1342303)
Backed out changeset bdc491b9ebde (bug 1342303)
Backed out changeset 5c6042dee665 (bug 1342303)
Backed out changeset b5de1dfff82f (bug 1342303)
MozReview-Commit-ID: BjlVAX480jI
2017-03-02 16:35:43 -08:00
Xidorn Quan
fb1d1f92e3
Bug 1342303 part 3 - Remove nsCOMArray::EnumerateForwards uses in docshell. r=smaug
...
MozReview-Commit-ID: FJen0p0c54u
2017-02-24 21:32:20 +11:00
Christoph Kerschbaumer
d161cb85e1
Bug 1307736 - Ensure History loads pass valid triggeringPrincipal. r=bz
2017-01-27 11:19:13 +01:00
Samael Wang
b971cf4b9a
Bug 1326251 - Part 1: Remove dynamic entries on unloading & evicting bfcache. r=smaug
...
MozReview-Commit-ID: 4pBy0vO5yD9
2017-01-24 14:56:37 +08:00
Christoph Kerschbaumer
81c125990e
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs
2017-01-18 08:24:55 +01:00
Wes Kocher
aa51fd7f3a
Backed out 2 changesets (bug 1329032) for failures a=backout
...
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)
MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer
1e6a940fa1
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs
2017-01-17 21:52:01 +01:00