3605 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
2c07af0008 Change one DEBUG_smaug comment to start a new qm-win2k3-01 build.
git-svn-id: svn://10.0.0.236/trunk@248361 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 13:16:08 +00:00
reed%reedloden.com
011b865264 Bug 424093 - "CNN Video page will not load" [p=dcamp@mozilla.com (Dave Camp) r=Enn sr=jst a1.9b5=beltzner]
git-svn-id: svn://10.0.0.236/trunk@248347 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 06:46:57 +00:00
jwalden%mit.edu
0bdf22f652 Also run createElement(?:NS)? tests on XML/XHTML documents, in addition to on an HTML document. We don't have any bugs that this exposes, but it seems like a good idea to add them, since another implementation (WebKit) was passing all our tests but failing the Yahoo! webmail does-it-work smoketest due to this. a=itsatest
git-svn-id: svn://10.0.0.236/trunk@248333 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 01:23:49 +00:00
sayrer%gmail.com
6f27c1ca0b Bug 424035. Crash [@ JS_IsArrayObject] when trying to decode a bogus JSON string. r=shaver
git-svn-id: svn://10.0.0.236/trunk@248309 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 20:34:39 +00:00
bzbarsky%mit.edu
75f1b92fe5 Don't leave an exception just hangin' out on the JSContext. Bug 422009,
r+sr=jst, a=shaver


git-svn-id: svn://10.0.0.236/trunk@248233 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 00:42:48 +00:00
bent.mozilla%gmail.com
ed629277bd Bug 412862 - "Change the 'allow scripts to move or resize existing windows' pref to a whitelist". Properly back out changes to nsGlobalWindow.
git-svn-id: svn://10.0.0.236/trunk@248207 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 21:32:20 +00:00
bent.mozilla%gmail.com
da04c63e3a Bug 412862 - Bustage fix, undoing these changes until I figure out why the merge failed.
git-svn-id: svn://10.0.0.236/trunk@248194 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 20:27:34 +00:00
bent.mozilla%gmail.com
9d85bee71e Bug 412862 - "Change the 'allow scripts to move or resize existing windows' pref to a whitelist". Backing out this patch.
git-svn-id: svn://10.0.0.236/trunk@248190 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 20:15:13 +00:00
dcamp%mozilla.com
9038ce97e4 Bug 407839: restrict globalStorage to same host. r=enndeakin, sr=jst, blocking1.9=pavlov
git-svn-id: svn://10.0.0.236/trunk@248162 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 01:27:35 +00:00
Olli.Pettay%helsinki.fi
961e3ba5c1 Bug 329385, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@248153 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 00:06:22 +00:00
jst%mozilla.org
e64c2f234f Fixing bug 418776. Don't resolve standard classes on non-global objects. r+sr=mrbkap@gmail.com
git-svn-id: svn://10.0.0.236/trunk@248130 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 20:42:19 +00:00
reed%reedloden.com
9e29e7ae36 Bug 375457 - "toDataURL has incorrect type-checking logic" (a simple test that just ensures we throw an exception when calling toDataURL with null and objects) [p=joe@drew.ca (Joe Drew [JOEDREW!])]
git-svn-id: svn://10.0.0.236/trunk@248120 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 19:55:12 +00:00
dtownsend%oxymoronical.com
3a7a9e1a44 Bug 419582: Unblocklisted plugin should be set to enable on startup.
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@248060 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 10:38:16 +00:00
jst%mozilla.org
e23524b919 Fixing bug 420603. Don't run scripts while wrapping DOM objects. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@248022 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 21:19:25 +00:00
dbaron%dbaron.org
670292513c Make nsJSONWriter::Write not crash when given buffer greater than 1024 characters. b=423152 r=sayrer a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248010 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 18:58:39 +00:00
igor%mir2.org
7c207155cb bug=421274 r=brendan a=beltzner
Eliminating SAVE_SP_AND_PC() macro


git-svn-id: svn://10.0.0.236/trunk@247972 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 08:58:29 +00:00
jonas%sicking.cc
546ba272ce Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@247875 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 23:08:59 +00:00
jst%mozilla.org
0cf313d564 Fixing bug 414291. Make window.open() ignore modal=yes for backwards compatibility. r+sr=bzbarsky@mit.edu and jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@247869 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 21:31:38 +00:00
jwalden%mit.edu
17d40f32c3 Bug 199692 - Update and reenable the document.elementFromPoint tests that didn't work when initially committed due to window sizing issues; there may still be some issues, but we'll todo aggressively in followup commits if necessary -- better halfway in than not at all. Patch is partly me, partly Ben Karel <web+moz@eschew.org>, r from Ben and r=roc. a=itsatest
git-svn-id: svn://10.0.0.236/trunk@247854 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 18:45:32 +00:00
igor%mir2.org
988d79a946 bug 421274: backing out again due to crashes on 64 bit Linux.
git-svn-id: svn://10.0.0.236/trunk@247745 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 18:03:02 +00:00
igor%mir2.org
3e33b57170 bug=421274 r=brendan a1.9=mtschrep
eliminating SAVE_SP_AND_PC and friends from the interpreter loop


git-svn-id: svn://10.0.0.236/trunk@247716 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 06:48:23 +00:00
igor%mir2.org
45ee880fc5 backing out bug 421274
git-svn-id: svn://10.0.0.236/trunk@247715 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 06:23:09 +00:00
igor%mir2.org
22a66cf4d4 bug=421274 r=brendan a1.9=mtschrep
eliminating SAVE_SP_AND_PC and friends from the interpreter loop


git-svn-id: svn://10.0.0.236/trunk@247714 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 05:52:54 +00:00
roc+%cs.cmu.edu
ab49173849 Bug 421662. Rename TextRectangle* to ClientRect*. r+sr=sicking,a=damon
git-svn-id: svn://10.0.0.236/trunk@247601 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 00:59:15 +00:00
roc+%cs.cmu.edu
d2a2ed91c4 Bug 421662. Rename TextRectangle* to ClientRect*. r+sr=sicking,a=damon
git-svn-id: svn://10.0.0.236/trunk@247599 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 00:51:19 +00:00
jonas%sicking.cc
fbfd1bd5fa Back out due to failed mochitest
git-svn-id: svn://10.0.0.236/trunk@247519 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 02:18:16 +00:00
jonas%sicking.cc
99b2e4ecd5 Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst.
git-svn-id: svn://10.0.0.236/trunk@247516 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:49:20 +00:00
jwalden%mit.edu
5a0c0b1bcf Bug 421767 - element.attributes.removeNamedItemNS(<non-existent attribute NS and name>) returns null instead of throwing. acid3++ r+sr=jst, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@247506 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 23:02:36 +00:00
reed%reedloden.com
767f146e2e Bug 417994 - "navigator object does not fully reflect user agent settings" [p=gfleischer+bugzilla@gmail.com (Gregory Fleischer) r+sr=jst a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@247380 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 11:19:22 +00:00
dbaron%dbaron.org
bfd66c266b Add string needed if we implement :nth-*() pseudo-classes. b=75375 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@247355 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 07:39:35 +00:00
jwalden%mit.edu
19b6f29fed Make one test that relies on popup blocking being disabled fail quickly if popup blocking is enabled, and make another test non-Mozilla-specific because HTML5 got updated and now matches our behavior with respect to the origin of data: URIs (they have the origin of the window/script that opened them). rs=sicking
git-svn-id: svn://10.0.0.236/trunk@247286 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 02:32:21 +00:00
mrbkap%gmail.com
f4e51c2f77 Fix compile warnings. No bug, debug only, r+rs=jst
git-svn-id: svn://10.0.0.236/trunk@247254 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 23:00:01 +00:00
mrbkap%gmail.com
8773c74b88 Don't assume that chrome:// implies system principals. bug 419848, r=brendan sr=jst
git-svn-id: svn://10.0.0.236/trunk@247253 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 22:52:58 +00:00
jst%mozilla.org
326f9d18bf Fixing bug 396443. Make SVG documents act like all our other documents wrt enumeration hooks. r+sr=mrbkap@gmail.com
git-svn-id: svn://10.0.0.236/trunk@247234 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 20:20:42 +00:00
jst%mozilla.org
4b10805fa0 Fixing bug 420858. Don't define fast expandos when binding names in JS. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@247069 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 04:43:57 +00:00
brendan%mozilla.org
66e065ec86 More un-nesting #include fallout (r=mrbkap, bustage fix).
git-svn-id: svn://10.0.0.236/trunk@247061 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-05 00:44:30 +00:00
jst%mozilla.org
cbe5e18016 Fixing bug 419093. Make access to undeclared global properties fast too! r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@246968 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 01:52:34 +00:00
jst%mozilla.org
a82801d807 Fixing bug 413200. Make sure script termination functions run when XPConnect is done executing script on a context and there's no other script running on that context. r+sr=mrbkap@gmail.com
git-svn-id: svn://10.0.0.236/trunk@246967 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 01:44:16 +00:00
mrbkap%gmail.com
d708bc5c0b Outerize |this| always. bug 418069, r/sr=jst/brendan a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246820 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-01 00:17:38 +00:00
bent.mozilla%gmail.com
e47fc69e78 Bug 419655 - "Refreshing a page leaks an nsGlobalWindow until shutdown". r=peterv, sr=jst, a1.9b4+=schrep.
git-svn-id: svn://10.0.0.236/trunk@246770 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 02:05:57 +00:00
peterv%propagandism.org
f062134582 Fix for bug 391209 (cycle collector crash with python objects). r/sr=jst, a=beltzner.
git-svn-id: svn://10.0.0.236/trunk@246721 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 13:12:43 +00:00
jwalden%mit.edu
0628cf2ab0 Add a test for postMessage(msg, undefined), which must be a syntax error as |undefined| is both present and not null.
git-svn-id: svn://10.0.0.236/trunk@246639 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 06:03:38 +00:00
jwalden%mit.edu
9d49b58dbc Bump UUID, forgotten on last checkin.
git-svn-id: svn://10.0.0.236/trunk@246627 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 05:02:56 +00:00
jwalden%mit.edu
d3ebb55032 Bug 417075 - Update postMessage and MessageEvent to reflect domain/uri being replaced by origin, optional origin argument. r+sr=sicking, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@246617 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:48:56 +00:00
jonas%sicking.cc
35f305467d Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@246616 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:45:32 +00:00
reed%reedloden.com
669355826a Bug 417617 - [p=Olli.Pettay@gmail.com (Smaug) r+sr=jst a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@246606 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:03:28 +00:00
reed%reedloden.com
f635420f32 Bug 409349 - [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=Enn sr=dveditz a1.9=damons a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@246592 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 01:01:02 +00:00
dcamp%mozilla.com
99394ad0f6 Bug 397417: monitor disk usage of offline apps in the UI. r=enndeakin (nsDOMStorage change), r/sr=mconnor, ui-r/blocking-firefox3=beltzner
git-svn-id: svn://10.0.0.236/trunk@246565 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 21:13:18 +00:00
Olli.Pettay%helsinki.fi
643d30c4fd Bug 415025, try to improve CC scheduling, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@246445 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 17:47:26 +00:00
reed%reedloden.com
ef160fa4e6 Bug 417710 - "Use JS_GET_CLASS, not JS_GetClass" [p=gyuyoung.kim@samsung.com (gyu-young kim) r=jorendorff r=jst sr+a1.9=brendan]
git-svn-id: svn://10.0.0.236/trunk@246437 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 08:59:21 +00:00