Граф коммитов

14 Коммитов

Автор SHA1 Сообщение Дата
Shih-Chiang Chien e1a55792f5 Bug 1314229 - return undefined/null for defaultRequest/receiver if not in corresponding UA or context. r=smaug.
MozReview-Commit-ID: KUWdfz1u55O

--HG--
extra : rebase_source : 8720563524bfd58f8be65d84cda48984f134f074
2016-11-02 17:53:31 +08:00
Shih-Chiang Chien 7f0bead091 Bug 1311375 - promise reject when there is an unsettled presentation start procedure. r=smaug
MozReview-Commit-ID: AL0QeyXBwzb

--HG--
extra : rebase_source : 4a80f8589a5f497747b754b6246ebecbf046ae2b
2016-10-31 15:49:32 +08:00
Shih-Chiang Chien e51e9349e9 Bug 1291971 - Part 1, enable controller idlharness test. r=smaug.
MozReview-Commit-ID: bDuOdLpPDh

--HG--
rename : dom/webidl/PresentationConnectionClosedEvent.webidl => dom/webidl/PresentationConnectionCloseEvent.webidl
extra : rebase_source : eca8bec6b6200247fbc9c743c13822f02373cc3d
2016-10-04 00:22:34 +02:00
Shih-Chiang Chien 5695b2c3e7 Bug 1278205 - use preference for exposing presentation API. r=smaug.
MozReview-Commit-ID: AXkZmPe9J6k

--HG--
extra : rebase_source : 4edf7b15349f235f0f655edadbce340b22a6abf7
2016-06-03 19:50:30 +08:00
Shih-Chiang Chien 427d2ea1b5 Bug 1234128 - Part 2, use mozpresentation to identify presented content. r=smaug. 2016-05-24 14:19:22 +08:00
Ryan VanderMeulen 9d4120d4eb Backed out 3 changesets (bug 1234128) for Android crashtest failures.
Backed out changeset 11db59507360 (bug 1234128)
Backed out changeset 8a0848fb59ac (bug 1234128)
Backed out changeset 7cf300dda85a (bug 1234128)

CLOSED TREE

--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html
2016-05-19 10:32:02 -04:00
Shih-Chiang Chien ec8b96d49f Bug 1234128 - Part 2: Use mozpresentation to identify presented content. r=smaug
--HG--
extra : rebase_source : 0006f94fb02ef8bfa64d2f56a0d0a918b2691ac1
2016-05-17 11:18:16 +08:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
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
Sean Lin 3ddd640b1b Bug 1205222 - [Presentation WebAPI] Add PresentationReceiver and navigator.presentation.receiver. r=smaug 2015-09-22 18:36:47 +08:00
Sean Lin 97f0121975 Bug 1192101 - Part 2 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 2 - Change notification & event dispatching. r=smaug 2015-09-10 16:29:08 +08:00
Sean Lin 702df0ae17 Bug 1192101 - Part 1 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 1 - WebIDL Bindings. r=smaug 2015-09-14 10:39:57 +08:00
Sean Lin 0a8b5f2ba1 Bug 1069230 - Presentation API implementation. Part 4 - Establish session (sender) & available changes. r=smaug 2015-03-30 14:27:27 +08:00
Sean Lin 1da14adfbd Bug 1069230 - Presentation API implementation. Part 1 - WebIDL Bindings. r=smaug 2015-03-19 15:48:28 +08:00