Andrea Marchesini
507c00cb9f
Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot
...
--HG--
rename : caps/nsPrincipal.cpp => caps/ContentPrincipal.cpp
rename : caps/nsPrincipal.h => caps/ContentPrincipal.h
2017-03-22 11:39:31 +01:00
Michael Layzell
ccc519e3f4
Bug 1347983 - Part 1: Make forms submitted from a large-allocation page not leave the large-allocation process, r=smaug
...
MozReview-Commit-ID: 7SEdTJN9Xd2
2017-03-16 14:32:26 -04:00
David Major
96a06f7f02
Bug 1344629 - Part 9: Bonus fix: Remove heap allocation in nsChromeTreeOwner. r=dbaron
...
Now that nsLiteralStrings are "free", they can just be static globals.
MozReview-Commit-ID: 4d4ZObxiHF8
--HG--
extra : rebase_source : 184e8a41b959550df217732cb4c605b302e2a1ac
2017-03-14 15:26:37 +13:00
Iris Hsiao
5cece96e1c
Backed out 12 changesets (bug 1344629) for stylo build bustage
...
Backed out changeset cf4273d3ac30 (bug 1344629)
Backed out changeset a96390e044e0 (bug 1344629)
Backed out changeset d9b330f9bc24 (bug 1344629)
Backed out changeset 2b460fe020af (bug 1344629)
Backed out changeset 0ada91b0452e (bug 1344629)
Backed out changeset 083304fcd6bd (bug 1344629)
Backed out changeset 53d7d1ce2c97 (bug 1344629)
Backed out changeset 55eee7078ae4 (bug 1344629)
Backed out changeset 7d3c06b3eca9 (bug 1344629)
Backed out changeset e5df14c3db61 (bug 1344629)
Backed out changeset 636095ff2815 (bug 1344629)
Backed out changeset 0be052ad24c1 (bug 1344629)
2017-03-14 11:52:24 +08:00
David Major
1b75e4c73d
Bug 1344629 - Part 9: Bonus fix: Remove heap allocation in nsChromeTreeOwner. r=dbaron
...
Now that nsLiteralStrings are "free", they can just be static globals.
MozReview-Commit-ID: 4d4ZObxiHF8
--HG--
extra : rebase_source : 184e8a41b959550df217732cb4c605b302e2a1ac
2017-03-14 15:26:37 +13:00
Xidorn Quan
db62454204
Bug 1344544 - Use nsTObserverArray for listeners of nsWindowMediator. r=erahm
...
MozReview-Commit-ID: 2PHwh4Htlhz
--HG--
extra : rebase_source : 540b7fd24298e552c2e30d1de12828da4127f32b
2017-03-06 12:50:52 +11:00
Xidorn Quan
148c3a3e9a
Bug 1342303 part 5 - Remove nsCOMArray::EnumerateForwards uses in xpfe. r=erahm
...
MozReview-Commit-ID: j8csvjSYUM
--HG--
extra : rebase_source : bea5c441cb87645f53ea9f830cee020e24e3f14a
2017-02-24 22:01:42 +11:00
Wes Kocher
5bb9a497ef
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
c949dd86c9
Bug 1342303 part 5 - Remove nsCOMArray::EnumerateForwards uses in xpfe. r=erahm
...
MozReview-Commit-ID: j8csvjSYUM
--HG--
extra : rebase_source : 8f0b64f184f4cbe7fb3ee9d2d276cad33e3fdbf9
2017-02-24 22:01:42 +11:00
Tom Tromey
f8ab4ddf02
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
--HG--
extra : rebase_source : 08460997dc3fd91f3065c718e17b41bb4acf8bae
2016-12-09 10:00:01 -10:00
Mike Conley
170479eb55
Bug 1336230 - Rename macsuppressanimation and CHROME_MAC_SUPPRESS_ANIMATION to be platform agnostic. r=jimm
...
MozReview-Commit-ID: HWyrm1lVwdY
--HG--
extra : rebase_source : ed8d71d9187a8afff0d3ca65641b335337e20f9d
2017-02-03 16:04:33 -05:00
Kartikaya Gupta
cf091ea0eb
Bug 1328066 - Don't broadcast the live-resize events to all browser windows unnecessarily. r=mstange
...
The machinery for suppressing the displayport during live resizes
was using the Observer service. However, in the case of multiple
browser windows, this meant that all the open browser windows would
have their displayport suppressed if *any* of the browser windows
was being resized. This was mostly ok, as the displayport suppression
would be turned off once the resize ended. However, the code to
kick off a repaint with the unsuppressed displayport would only get
triggered on one of the windows (whichever happened to process the
unsuppress message last).
This patch stops using the Observer service for the implementation
machinery, and instead locates the active TabParent of the relevant
nsWindow, and invokes the displayport suppression directly on that.
This fixes the repainting bug and also avoids unnecessarily
broadcasting the suppression/unsuppression notification to windows
that don't neccessarily need it.
MozReview-Commit-ID: LBHOgOW9KUp
2017-02-01 10:38:16 -05:00
Michael Layzell
59bf5ae02d
Bug 1334586 - Propagate reload flags when reloading pages with Large-Allocation headers, r=smaug
...
MozReview-Commit-ID: ESfCqSc0BJK
2017-01-31 14:08:20 -05:00
Christoph Kerschbaumer
be82c7af85
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs
2017-01-18 08:24:55 +01:00
Wes Kocher
cb7e0bda60
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
05287d4fa8
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs
2017-01-17 21:52:01 +01:00
Michael Layzell
0fa642800b
Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
...
MozReview-Commit-ID: ARET98o1FTU
--HG--
extra : rebase_source : fd549baa1a4a180db1ca6701191f081033811d0f
2016-12-19 15:05:31 +08:00
Nicholas Nethercote
a28c8f38b2
Bug 1299335 (part 7) - Streamline nsIWidget::{Move,Resize}. r=mstange.
...
This patch changes them from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.
--HG--
extra : rebase_source : 6207df5a46aeb6b8aaa0f697447a51bc6a6dc366
2016-12-19 20:54:03 +11:00
Carsten "Tomcat" Book
51614d31e4
Backed out changeset 059753ec9117 (bug 1315105) for test failures in own test
...
--HG--
extra : rebase_source : de2846d1205d3e885c1040379f2816629a925d22
2016-12-19 15:59:14 +01:00
Michael Layzell
b5fd619e72
Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
...
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Gijs Kruitbosch
a64e4f1b0e
Bug 1322414 - part 1 - remove GetContentShellById and id passing, r=bz
...
MozReview-Commit-ID: FggtlNAP6ax
--HG--
extra : rebase_source : 3e20f36001d5b19e334941c2638573ba838d2df7
extra : histedit_source : 3f47eea51d257f23b0a5ba655911aab4d43ba8d1
2016-12-08 11:12:36 -10:00
Michael Layzell
65b516822e
Bug 1318767
- Part 3: Use SessionStore to recover from missing GroupedSHistory segments, r=ehsan, r=mconley
...
MozReview-Commit-ID: FDmQIjiHox7
2016-12-13 16:32:54 +08:00
Boris Zbarsky
e0e53c48ae
Bug 1310796 part 3. Remove the aTargetable argument of contentShellAdded. r=mystor
2016-12-08 16:41:45 -10:00
Boris Zbarsky
55f0730a5b
Bug 1310796 part 2. Get rid of the now-unused nsXULWindow::mTargetableShells. r=mystor
2016-12-08 16:41:45 -10:00
Boris Zbarsky
846587070f
Bug 1310796 part 1. Get rid of GetTargetableShellCount in favor of a more explicit GetTabCount. r=mystor,gijs
2016-12-08 16:41:45 -10:00
Andrea Marchesini
1ed1649bb7
Bug 1322440 - Get rid of contextFlags in nsIWindowCreator2, r=smaug
2016-12-07 16:20:08 -10:00
Bob Owen
f5830d5e44
Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
...
This also means window.open returns null in the same circumstance.
2016-11-24 15:08:31 +00:00
Bob Owen
9d6013aa66
Bug 1147911 Part 3: Add remote type parameter to forceInitialBrowserRemote. r=gijs
...
Also change talos pageloader.js to force type to match test URLs.
2016-11-24 15:08:30 +00:00
Sebastian Hengst
0333e0a2b0
Backed out changeset ec84ee6acb88 (bug 1147911)
2016-11-23 18:33:06 +01:00
Sebastian Hengst
3e560293d1
Backed out changeset f8ff074e9145 (bug 1147911)
2016-11-23 18:32:50 +01:00
Bob Owen
3f62d10e4d
Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
...
This also means window.open returns null in the same circumstance.
2016-11-23 13:36:58 +00:00
Bob Owen
c547888b81
Bug 1147911 Part 3: Add remote type parameter to forceInitialBrowserRemote. r=gijs
...
Also change talos pageloader.js to force type to match test URLs.
2016-11-23 13:36:57 +00:00
Sebastian Hengst
9318d3bb24
Backed out changeset a236e690e2f6 (bug 1147911)
2016-11-18 00:58:52 +01:00
Sebastian Hengst
f02ffed0dd
Backed out changeset f768dac3f7a9 (bug 1147911)
2016-11-18 00:58:51 +01:00
Bob Owen
ce1bc7d820
Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
...
This also means window.open returns null in the same circumstance.
2016-11-17 15:48:53 +00:00
Bob Owen
c9055e97ff
Bug 1147911 Part 3: Add remote type parameter to forceInitialBrowserRemote. r=gijs
...
Also change talos pageloader.js to force type to match test URLs.
2016-11-17 15:48:52 +00:00
Ehsan Akhgari
eac76d9772
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
3eacc680db
Backed out changeset 7d1f7dd996f7 (bug 1310845)
2016-11-16 14:50:44 +01:00
Ehsan Akhgari
cb369370b3
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Sebastian Hengst
007ffb1e11
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: xpfe. r=RyanVM
...
MozReview-Commit-ID: 1Om7EAPzSD4
--HG--
extra : rebase_source : e2cca16b146e99cb613573fea6b97524395c986c
2016-11-05 11:29:22 +01:00
Michael Layzell
209fba3a7f
Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug
...
MozReview-Commit-ID: 5KBIu6Fc3Ea
2016-10-31 16:38:54 -04:00
Michael Layzell
de29c95ed2
Bug 1303196 - Part 7: Updates to apply correctly after noopener changes, r=smaug
...
MozReview-Commit-ID: 25Ew2PLpP5c
2016-10-27 15:53:35 -04:00
Michael Layzell
029a7def5d
Bug 1303196 - Part 3: Update the named window resolution logic to be scoped to TabGroup instead of being process-global, r=bz
...
MozReview-Commit-ID: FaGoj6wmEuG
2016-10-27 15:53:35 -04:00
Michael Layzell
f9eea2d135
Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
...
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Ehsan Akhgari
8ca93a6416
Bug 1301488 - Remove an unneeded null check from nsWebShellWindow::Initialize; r=bzbarsky
...
mDocShell is being checked before this part in the same function.
2016-09-08 18:50:17 -04:00
Ehsan Akhgari
67f68a06ad
Bug 1300851 - Don't use expanded principals when creating the about:blank content viewer eagerly; r=bzbarsky
2016-09-08 14:32:28 -04:00
Nicholas Nethercote
cc993d1772
Bug 1293596 (part 4) - Tweak nsIWidget::Create. r=mstange.
...
They don't need to be NS_IMETHOD, but they should be MOZ_MUST_USE. Adding the
latter catches a few missing checks, which the patch adds.
The patch also gives PuppetWidget an InfallibleCreate() function, which makes
the infallibility of PuppetWidget creation clear.
2016-08-19 09:03:17 +10:00
Nicholas Nethercote
67af4817e9
Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
...
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.
The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00