Commit Graph

1300 Commits

Author SHA1 Message Date
Trevor Saunders
64d5d5a8ed bug 331376 - merge nsIDocShellTreeNode into nsIDocShellTreeItem r=smaug 2014-01-06 17:34:15 -05:00
Andrea Marchesini
a78e19a577 Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 19:53:31 +01:00
Andrea Marchesini
3b6ab3516b Bug 952079 - Porting nsIDOMWakeLock to WebIDL, r=smaug 2014-01-07 13:16:07 +01:00
Wes Kocher
1789589121 Backed out changeset e451b39305f6 (bug 949488) for breaking mochitest-8 on at least b2g 2014-01-06 18:10:34 -08:00
Andrea Marchesini
80df46356b Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 00:05:01 +01:00
Andrew McCreight
bd11c4fff8 Bug 956455, part 1 - WrapNative's holder argument is unnecessary. r=smaug 2014-01-06 11:54:43 -08:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Boris Zbarsky
46618df149 Bug 951245. Forwarding to outer should check for active document, not current inner, to handle document.open() cases. r=peterv 2013-12-20 14:28:18 -05:00
Shu-yu Guo
7ee17a1024 Bug 951413 - Really unsuppress inner window docs on detach from docshell. (r=smaug) 2013-12-19 15:34:26 -08:00
Blake Kaplan
8e23aa0ed3 Bug 933483 - Don't fire events (and especially request animation frame events) when we're in a modal dialog. r=smaug 2013-12-17 16:12:33 -08:00
Ehsan Akhgari
e363f2fa61 Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky 2013-12-17 09:12:33 -05:00
Ehsan Akhgari
4c2a1dba1d Bug 950659 - Remove nsIDOMMediaQueryList and nsIDOMMediaQueryListListener; r=bzbarsky
X-Git-Commit-ID: 8584a27a3b3f2a749273cf6c56057b0276854f3b
2013-12-17 08:40:06 -05:00
Ehsan Akhgari
c5a5de09b4 Bug 950523 - Part 2: Move MediaQueryList to WebIDL bindings; r=bzbarsky 2013-12-16 09:03:34 -05:00
Trevor Saunders
c2b2fcd3d4 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Peter Van der Beken
96cb8f849a Bug 938640 - Make forwarding to outer conditional on current inner. r=bz. 2013-12-14 18:52:13 +01:00
Peter Van der Beken
3fc92d7b48 Bug 938640 - Move GetTopImpl. r=bz. 2013-12-14 18:52:12 +01:00
Eric Faust
0f5f80e1bb Bug 926012 - Part 3: Convert wrappers to using dynamic prototype hooks. (r=bholley) 2013-12-13 12:01:30 -08:00
Steve Fink
aabce3a3e5 Bug 937317 - Root around GC call GetIncumbentGlobal. r=bz 2013-12-11 17:51:58 -08:00
Bobby Holley
c2e3e33a71 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-11 17:51:58 -08:00
Bobby Holley
7f8af296c3 Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-11 17:51:58 -08:00
Nathan Froyd
836f887bc6 Bug 946781 - part 4 - revert measuring the proto and iface cache on nsGlobalWindow (bug 922094); r=me 2013-12-06 13:11:53 -05:00
Peter Van der Beken
ce61bc6fe4 Bug 936129 - nsGlobalWindow::InnerForSetTimeoutOrInterval is a no-op for bareword setTimeout. r=bz.
--HG--
extra : rebase_source : 3a7875435f6443c67af9030fa4e39cac6aac8a49
2013-11-26 16:28:34 +01:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Phil Ringnalda
d1ba8751f2 Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test 2013-12-07 11:08:56 -08:00
Phil Ringnalda
041bddc35a Merge m-c to m-i 2013-12-06 21:11:17 -08:00
Shu-yu Guo
fad663f8cf Bug 946641 - Part 1: Clear delayed events on closed documents. (r=smaug) 2013-12-06 19:31:09 -08:00
Phil Ringnalda
45aef54be4 Back out 567d2bba4f97 (bug 933483) for causing bug 946726 2013-12-06 19:11:11 -08:00
Bobby Holley
9fc70d3f91 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-06 12:01:42 -08:00
Bobby Holley
b548f86f52 Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-06 12:01:42 -08:00
Carsten "Tomcat" Book
8797042644 Backed out changeset 767065f0560b (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:59 +01:00
Carsten "Tomcat" Book
abe0ad0b33 Backed out changeset 374e44c835a8 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:42 +01:00
Bobby Holley
f6b033e681 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-05 21:34:17 -08:00
Bobby Holley
2e847fca05 Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-05 21:34:17 -08:00
Ryan VanderMeulen
402473c083 Merge m-c to inbound. 2013-12-05 17:56:44 -05:00
Blake Kaplan
ba9bdb989b Bug 933483 - Don't fire events (and especially request animation frame events) when we're in a modal dialog. r=smaug 2013-12-04 21:03:21 -05:00
Nathan Froyd
0b960b9239 Bug 922094 - part 2 - make nsGlobalWindow report its proto/iface cache size, if appropriate; r=bz 2013-11-20 08:55:09 -05:00
Mark Hammond
44f5fc86c7 Bug 943668 - ensure window.screenX and .screenY return css pixels. r=roc 2013-12-03 16:36:33 +11:00
Ryan VanderMeulen
fd1c979402 Backed out changeset 77c1f23afc1c (bug 933483) for mochitest-bc failures. 2013-12-02 20:31:18 -05:00
Blake Kaplan
83ecf86bbc Bug 933483 - Don't fire events (and especially request animation frame events) when we're in a modal dialog. Also protect ourselves from resuming events on a closed window. r=smaug 2013-12-02 15:38:36 -08:00
Ms2ger
183598fd46 Bug 866689 - Add more inner / outer window assertions; r=mrbkap 2013-11-28 15:07:55 +01:00
Jan Beich
ab1fb63ebb Bug 942921 - Explicitly include unistd.h for getpid() for non-Linux debug builds. r=smaug 2013-11-26 17:25:24 -05:00
Olli Pettay
8811aec37f Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
--HG--
extra : rebase_source : ed7e687229a92075657d9b665fbc7af42d9eb5cc
2013-11-24 21:35:34 +02:00
Boris Zbarsky
a7501e7c35 Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug 2013-11-21 07:51:16 -05:00
"Kan-Ru Chen (陳侃如)"
bb2c790047 Bug 931746 - Make sure all mozbrowser mm are in the target chain. r=smaug
---
 dom/base/nsGlobalWindow.cpp                        |    8 ++
 dom/base/test/file_empty.html                      |    1 +
 dom/base/test/mochitest.ini                        |    2 +
 dom/base/test/test_messagemanager_targetchain.html |  129 ++++++++++++++++++++
 4 files changed, 140 insertions(+)
 create mode 100644 dom/base/test/file_empty.html
 create mode 100644 dom/base/test/test_messagemanager_targetchain.html
2013-11-17 01:07:24 +08:00
Ryan VanderMeulen
f90de9eccd Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Peter Van der Beken
3bba715683 Bug 935786 - Assertion failure: !IsInnerWindow() || IsCurrentInnerWindow() at nsGlobalWindow.cpp:8909. r=smaug
CLOSED TREE
2013-11-13 09:47:37 +01:00
Bobby Holley
23cf12e7bb Bug 840488 - Remove per-JSContext script toggling. r=bz
Note that the checks in nsJSEnvironment::EvaluateString and EvalInWindow
can safely go away, because we call ssm->ScriptAllowed() in
nsJSUtils::EvaluateString.
2013-11-12 16:43:35 -08:00
Bobby Holley
a10c940425 Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
260c41dfe4 Bug 840488 - Introduce a mechanism to temporarily or permanently block script for a given scope, and use it for unsafe channels. r=bz 2013-11-12 16:43:33 -08:00
Michael Henretty
9d1c4d1612 Bug 882186 - [System] Replace blue offline error page with new UX. Window.close part. r=fabrice 2013-11-07 17:42:32 -08:00