Wes Kocher
1368633e1f
Merge m-c to inbound, a=merge
2015-10-27 14:15:23 -07:00
Ben Kelly
1b7211eb69
Bug 1217501 P4 Fill headers before setting guard when reading response from Cache. r=ehsan
2015-10-27 09:23:34 -07:00
Yoshi Huang
2fde96952c
Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
...
From 7bb0fbba24f4f65d3fa83efe223b1431cd71fdb6 Mon Sep 17 00:00:00 2001
---
dom/apps/tests/test_third_party_homescreen.html | 8 +-
.../test/test_messagemanager_assertpermission.html | 4 +-
dom/base/test/test_messagemanager_targetchain.html | 16 +--
...rowserElement_AllowEmbedAppsInNestedOOIframe.js | 11 +-
.../mochitest/browserElement_CopyPaste.js | 9 +-
.../browserElement_DisallowEmbedAppsInOOP.js | 9 +-
.../mochitest/browserElement_Proxy.js | 10 +-
.../browserElement_SetInputMethodActive.js | 3 +-
.../mochitest/browserElement_SetVisibleFrames.js | 17 ++--
.../mochitest/browserElement_SetVisibleFrames2.js | 16 +--
.../priority/test_ExpectingSystemMessage2.html | 16 +--
.../mochitest/priority/test_NestedFrames.html | 16 +--
dom/cache/test/mochitest/driver.js | 11 +-
.../test/mochitest/test_cache_orphaned_body.html | 33 +-----
.../test/mochitest/test_cache_orphaned_cache.html | 33 +-----
dom/cache/test/mochitest/test_cache_restart.html | 11 +-
dom/cache/test/mochitest/test_cache_shrink.html | 33 +-----
dom/indexedDB/test/file.js | 12 +--
dom/indexedDB/test/helpers.js | 9 +-
dom/indexedDB/test/webapp_clearBrowserData.js | 6 +-
dom/inputmethod/mochitest/test_bug1043828.html | 5 +-
dom/inputmethod/mochitest/test_bug944397.html | 5 +-
.../mochitest/test_focus_blur_manage_events.html | 5 +-
.../mochitest/test_input_registry_events.html | 5 +-
.../mochitest/test_simple_manage_events.html | 5 +-
.../tests/test_permission_for_nested_oop_app.html | 3 +-
.../tests/test_permission_for_two_oop_apps.html | 3 +-
dom/ipc/tests/test_permission_helper.js | 21 ++--
.../test_permission_when_oop_app_crashes.html | 3 +-
dom/tv/test/mochitest/head.js | 5 +-
.../test_SpecialPowersPushAppPermissions.html | 14 ++-
.../tests/Harness_sanity/test_bug816847.html | 6 +-
.../components/SpecialPowersObserver.js | 4 +-
.../content/SpecialPowersObserverAPI.js | 24 +----
testing/specialpowers/content/specialpowersAPI.js | 111 ++++++++-------------
35 files changed, 173 insertions(+), 329 deletions(-)
2015-10-07 14:35:43 +08:00
Yoshi Huang
9990f7b730
Backout e54c3b878993
2015-10-27 15:49:11 +08:00
Yoshi Huang
f50f2068e7
Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
2015-10-07 14:35:43 +08:00
Ehsan Akhgari
61c5d32697
Bug 1216697 follow-up: enable the dom.requestcache.enabled pref in DOM Cache tests
2015-10-23 16:39:55 -04:00
Jonas Sicking
04721f08a3
Bug 1215746
: Remove RequestMode::Cors_with_forced_preflight. r=bkelly
2015-10-19 18:24:36 -07:00
Nathan Froyd
e4e2da55c9
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
2015-10-18 01:24:48 -04:00
Ben Kelly
338d9a71b5
Bug 1215290 Cache API should store unfiltered Response URL. r=ehsan
2015-10-15 14:07:49 -07:00
Ben Kelly
f7e034b18a
Bug 1210128 Ensure Cache API context internal state is consistent when shutdown during initialization. r=janv
2015-10-15 14:07:49 -07:00
Andrew McCreight
ebefdc0be5
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-05 09:38:14 -07:00
Wes Kocher
15f8ac0988
Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
2015-10-02 16:17:05 -07:00
Andrew McCreight
48a2601390
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 15:09:02 -07:00
Andrew McCreight
be7e493588
Backed out changeset 6fa9cdf4002b for breaking the build.
2015-10-02 10:49:28 -07:00
Andrew McCreight
4428f7b6fa
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 10:42:08 -07:00
Carsten "Tomcat" Book
404e79482a
merge mozilla-inbound to mozilla-central a=merge
2015-10-02 11:52:49 +02:00
Ehsan Akhgari
6b511bdea1
Bug 1204596 - Part 2: Update the schema of the DOM Cache database to remove the response_redirected and response_redirected_url columns; r=bkelly
2015-10-01 18:47:05 -04:00
Ehsan Akhgari
7c34ae4247
Bug 1204596 - Part 1: Avoid overriding the channel final URI when it gets intercepted; r=nsm,bkelly
2015-10-01 18:47:04 -04:00
Yoshi Huang
697bf63dd6
Bug 1167100 - User originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Wes Kocher
832bf936d8
Backed out changeset d0e88c95f3c5 (bug 1167100) for crashes a=backout
2015-09-29 10:25:20 -07:00
Yoshi Huang
4ce0a4b561
Bug 1167100 - User nsIPrincipal.originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Jeff Walden
a33c1c9f14
Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits
2015-08-28 21:55:40 -07:00
Henry Chang
4a65cddb1a
Bug 1163254 - Add signedPkg to OriginAttributes. r=bholley
2015-09-18 15:11:58 +08:00
Christoph Kerschbaumer
fee0447dc8
Bug 1048048 - add preload content policy types (r=ehsan)
2015-09-20 14:55:44 -07:00
Wes Kocher
9c40f87100
Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
...
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
aeb5625206
Bug 1048048 - add preload content policy types (r=ehsan)
2015-09-20 14:55:44 -07:00
Carsten "Tomcat" Book
a4ed3b54c3
Backed out 2 changesets (bug 1169633, bug 1163254) for linux Mn-e10s test bustage on a CLOSED TREE
...
Backed out changeset 47ccf6689101 (bug 1169633)
Backed out changeset 503eab197a2d (bug 1163254)
2015-09-17 16:01:25 +02:00
hchang
18ad8c69ce
Bug 1163254 - Add signedPkg to OriginAttributes. r=bholley
2015-09-16 19:42:00 +02:00
Phil Ringnalda
e9e29e9a15
Back out 3 changesets (bug 1204596) for b2g test_fetch_cors.html failures
...
Backed out changeset 2662a1ad4cad (bug 1204596)
Backed out changeset cfc4c4ecbbf5 (bug 1204596)
Backed out changeset d10c6f32ce46 (bug 1204596)
2015-09-16 20:51:17 -07:00
Ehsan Akhgari
84ec2a7a34
Bug 1204596 - Part 2: Update the schema of the DOM Cache database to remove the response_redirected and response_redirected_url columns; r=bkelly
2015-09-16 20:38:21 -04:00
Ehsan Akhgari
69e3accaae
Bug 1204596 - Part 1: Avoid overriding the channel final URI when it gets intercepted; r=nsm,bkelly
2015-09-16 20:38:19 -04:00
Ehsan Akhgari
3cf853e5af
Bug 1198078 - Add support for TYPE_INTERNAL_SERVICE_WORKER; r=ckerschb,tanvi
2015-09-16 19:15:30 -04:00
Ben Kelly
f76c498fa6
Bug 1184607 P7.8 Test Cache API schema verison migrations. r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
734ffffabb
Bug 1184607 P7.6 Expose CacheStorage .caches property on xpcshell global. r=smaug
...
* * *
7.6 interdiff
2015-08-31 14:26:30 -07:00
Ben Kelly
ce076455ed
Bug 1184607 P7.5 Add RequestRedirect to Cache API schema with migration. r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
fd7cb07044
Bug 1184607 P7.4 Infrastructure for running Cache schema migrations. r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
e8a2e90fbd
Bug 1184607 P7.3 Rename Cache "max wipe version" constant to "first shipped version". r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
ed5fbacacc
Bug 1184607 P7.2 Validate Cache schema in debug builds. r=ehsan
2015-08-31 14:26:30 -07:00
Ben Kelly
211ea4ed3f
Bug 1184607 P7.1 Move Cache schema SQL into separate constants. r=ehsan
2015-08-31 14:26:29 -07:00
Ben Kelly
cd54636a36
Bug 1112071 Change Cache ManagerId to use QuotaManager's concept of origin. r=ehsan
2015-08-31 14:26:29 -07:00
Nicholas Nethercote
69d088e45f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Michael Layzell
c5c146c203
Bug 1145744 - Update CacheStorage to use common StorageAllowedForWindow logic, r=bkelly
2015-08-28 10:10:33 -04:00
Yoshi Huang
de4b8a9d76
Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley
2015-08-18 15:01:42 +08:00
Bobby Holley
8f42e826dc
Backed out 3 changesets (bug 1165272) for b2g sanity blocker.
2015-08-25 11:16:21 -07:00
Yoshi Huang
cfa9db9f8e
Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley
2015-08-24 01:18:00 -04:00
Antonio de Luna Lopez
1978833c40
Bug 1110476 - Stripped url fragment from Request::GetUrl() by calling either nsIURI::SetRef() or workers::URL::SetHash() in Request's url getter utility methods. Stripped url fragment from Response::GetUrl() by adding the method InternalRequest::StripFragmentAndSetUrl() which calls nsIURI::SetRef(). Added a test in dom/tests/mochitest/fetch/test_request.js for Request::GetUrl(). Removed manual url stripping from dom/cache/TypeUtils.cpp. r=bkelly
2015-08-13 08:22:19 -07:00
Christoph Kerschbaumer
84a031411b
Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource (r=sicking,ehsan)
2015-08-06 11:17:24 -07:00
Carsten "Tomcat" Book
5341b6ceb3
Backed out 2 changesets (bug 1191107, bug 1180273) for causing xpcshell and m-oth testfailures on a CLOSED TREEi IGNORE IDL
...
Backed out changeset c5f710ed8718 (bug 1191107)
Backed out changeset d98d82f9981b (bug 1180273)
2015-08-06 08:39:05 +02:00
Christoph Kerschbaumer
cef4742d86
Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource - IGNORE IDL (r=sicking,ehsan)
2015-08-05 12:58:05 -07:00
David Anderson
fa120e53db
Use the same graphics device parameters across processes. (bug 1183910 part 7, r=mattwoodrow)
2015-08-02 13:59:33 -07:00