Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Phil Ringnalda
9ea53214d8
Merge f-t to m-c, a=merge
2015-10-17 11:19:46 -07:00
Masatoshi Kimura
3c8f7945a7
Bug 1207137 - Add an error code for weak crypto override. r=bz
2015-10-17 09:38:30 +09:00
Olli Pettay
9a9ce1ed03
Bug 1003100 - pushState() in iframe fails when reloading with CTRL+F5, r=bz
2015-10-16 20:05:54 +03:00
Wes Kocher
e3ef408502
Backed out 3 changesets (bug 1204983) for various talos failures
...
Backed out changeset 5bdf50e82ca8 (bug 1204983)
Backed out changeset 602e91d48e43 (bug 1204983)
Backed out changeset c7d3635f771a (bug 1204983)
2015-10-16 09:29:36 -07:00
Christoph Kerschbaumer
8d976b10b7
Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana)
2015-10-09 22:03:27 -07:00
Nathan Froyd
6e137587df
Bug 1207161 - fix run-by-dir leak in test_bug846906.xul; r=mccr8
2015-10-12 21:41:35 -04:00
Gijs Kruitbosch
0e5eaa117d
Bug 1210439, r=smaug
...
--HG--
extra : commitid : C69q7RrWYoC
extra : rebase_source : ef3f6584fa0c62c55bd3b233638b3a2a1db0f865
2015-10-01 13:23:27 -04:00
Xidorn Quan
57b9d7be94
Bug 1212299 part 1 - Forbid documents inside elements other than iframe from requesting fullscreen. r=smaug
...
--HG--
extra : source : b995b57bc1dd2003eeff6f568f5f22298ff81608
2015-10-12 11:24:23 +11:00
Dragana Damjanovic
eebb3ae788
Bug 1211690 - Remove not needed nsILoadInfo get. r=ckerschb
2015-10-11 18:13:10 +02:00
Ehsan Akhgari
202348d36c
Bug 1213514 - Don't bother checking for third party URLs at interception time unless if the user needs it; r=jdm
...
The current code is wasteful for the vast majority of our users.
2015-10-10 19:05:27 -04:00
Ehsan Akhgari
f303ed36f2
Bug 1213150 - Part 2: Rework ShouldPrepareForIntercept() in terms of subresource requests; r=jdm
2015-10-09 10:52:55 -04:00
Ehsan Akhgari
fbd4c8c55b
Bug 1213150 - Part 1: Add a nsContentUtils::IsNonSubresourceRequest helper; r=jdm
2015-10-09 10:52:54 -04:00
Valentin Gosu
9b9fcccc66
Bug 1199430 - update to tests. r=gijs
2015-10-08 11:57:58 +02:00
Ehsan Akhgari
1869e89340
Bug 1212636 - Add a better error message for the content corrupcted error caused by the Promise being passed to FetchEvent.respondWith; r=bkelly
2015-10-07 18:06:26 -04:00
Bill McCloskey
1b6da7ed71
Back out bug 967873 - Test changes for async removeTab
2015-10-07 11:15:11 -07:00
Bill McCloskey
919ed9ae86
Back out bug 967873 - browser_onbeforeunload_navigation.js fix for e10s
2015-10-07 11:15:11 -07:00
Bill McCloskey
c5d5457154
Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process
2015-10-07 11:15:11 -07:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Ehsan Akhgari
158253749d
Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking
2015-10-06 20:26:46 -04:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Kaustabh Datta Choudhury
92494c4d5f
Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop debug builds. r=jmaher
2015-10-06 09:46:24 -04:00
Ben Kelly
eaa946bccc
Bug 1210941 P4 Use LOAD_BYPASS_SERVICE_WORKER instead of ForceNoIntercept in nsDocShell. r=ehsan
2015-10-06 06:37:07 -07:00
Dragana Damjanovic
ba3f41bc1e
Bug 1211269 - Store the information whether the channel is LOAD_REPLACE into history entry. r=bz
2015-10-05 12:33:00 +02:00
Michael Madsen
5722288db7
Bug 1208124 - changed a check such that post data only depends on nsIUploadChannel and not nsIHttpChannel. r=bz
2015-09-29 19:50:46 +02:00
Carsten "Tomcat" Book
e91d5a31b6
Merge m-c to mozilla-inbound
2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
ca77b70a8d
merge mozilla-inbound to mozilla-central a=merge
2015-10-02 11:52:49 +02:00
Bobby Holley
c74861b35c
Bug 1210508 - Handle null OriginAttributes from JS-implemented nsILoadContext. r=me
2015-10-01 18:10:18 -07:00
Wes Kocher
296abd21ee
Merge m-c to inbound a=merge
...
--HG--
extra : rebase_source : 38a51b2c491658bc19cfac0d227b04ef6e5f6718
2015-09-30 14:10:21 -07:00
Wes Kocher
7c2b0c515f
Merge inbound to central, a=merge
2015-09-30 13:49:27 -07:00
Dragana Damjanovic
5f14316a80
Bug 1185256 - Save originURI to the history. r=bz
...
--HG--
extra : rebase_source : 4321df591ab16127ca4cd6549fcdca7e20c2e890
2015-09-30 08:54:39 +02:00
Gijs Kruitbosch
314c978904
Bug 1206879 - fire onlocationchange from pushState in frames when the URI changes, r=smaug
...
--HG--
extra : commitid : AuCEnWCXk6y
extra : rebase_source : e825b13db3edccb115b7fdd2569154bbc434cfec
2015-09-29 13:50:55 -04:00
Tooru Fujisawa
ee5f570ffb
Bug 1207499 - Part 3: Remove use of expression closure from docshell/. r=bz
...
--HG--
extra : commitid : L3WI3cTiD8P
extra : rebase_source : fcaabc7b817c736a392b827223706df5343f2301
2015-09-21 02:36:39 +09:00
Bill McCloskey
207404ad2d
Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs)
2015-10-01 21:18:48 -07:00
Bill McCloskey
057e0bf85a
Bug 967873 - browser_onbeforeunload_navigation.js fix for e10s (r=Gijs)
2015-10-01 21:18:06 -07:00
Bill McCloskey
633d4a3ecf
Bug 967873 - Test changes for async removeTab (r=Gijs)
2015-10-01 21:18:05 -07:00
Gijs Kruitbosch
5dd3837ea4
Bug 636905 - part 3: flip prefs in tests to keep them working, r=jaws
...
--HG--
extra : commitid : 5ctg1uTZzZd
extra : rebase_source : 953ba9df408b24a340074abeb1a05a2c02b2bbf6
2015-09-26 15:01:51 +01:00
Brian Grinstead
d23fa8b95a
Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
...
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound
2015-09-24 08:23:32 -07:00
Ehsan Akhgari
aa774fb7e3
Bug 1208903 - Eliminate a repeated condition in nsDocShell::EndPageLoad; r=baku
...
Found by Viva64.
2015-09-28 09:08:43 -04:00
Yoshi Huang
d38b78ae54
Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley
2015-09-23 16:10:21 +08:00
Wes Kocher
04128a0432
Merge m-c to inbound, a=merge
2015-09-24 17:14:17 -07:00
Wes Kocher
0eeafe1fa4
Merge inbound to central, a=merge
2015-09-24 16:46:34 -07:00
Wes Kocher
e1ad19c1cb
Backed out 2 changesets (bug 1034110) for test_mutationobserver_anonymous.html bustage CLOSED TREE
...
Backed out changeset 7b145ea2fbde (bug 1034110)
Backed out changeset 3a8904e50016 (bug 1034110)
2015-09-24 11:29:11 -07:00
J. Ryan Stinnett
c0dffd8c52
Bug 1201535 - Mark srcdoc as safe for loading in child. r=bz
...
When showing view source of a srcdoc frame in a tab, we load the frame content
via a page descriptor and use the URI "view-source:about:srcdoc".
Since we are creating a browser tab, the docshell's `InternalLoad` triggers the
browser's `shouldLoadURI` machinery that checks if we are in the correct process
for the given URI. This machinery will unwrap "view-source:" to "about:srcdoc"
and check if such an about page can be loaded in the child.
Marking "about:srcdoc" as safe for the child to load allows the view source
content of the frame to be displayed as expected.
2015-09-24 12:39:08 -05:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Brian Grinstead
e1174022ee
Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
...
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound
--HG--
extra : commitid : 6TG2gUAljQC
2015-09-24 08:23:32 -07:00
Kaustabh Datta Choudhury
d64ac7ea6b
Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop opt builds. r=jmaher
2015-09-23 13:39:45 -04:00
Ehsan Akhgari
0bc360edc4
Bug 1204581 - Add a deprecation warning for the usage of AppCache when service worker fetch interception is enabled; r=mcmanus,baku
2015-09-24 10:09:10 -04:00
Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00