Closed
Bug 191996
Opened 22 years ago
Closed 22 years ago
XPathEvaluator gone in nightly builts?
Categories
(SeaMonkey :: Installer, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Laurens, Assigned: ssu0262)
References
Details
Attachments
(2 files)
42 bytes,
text/html
|
Details | |
562 bytes,
patch
|
jst
:
review+
dveditz
:
superreview+
dveditz
:
approval1.3+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030204
All my javascript code using the XPathEvaluator class is broken in the last few
nightly builts.
I couldn't find documentation about changes in the API, so i guess this is a
bug.
Reproducible: Always
Steps to Reproduce:
1. javascript:new XPathEvaluator();
Actual Results:
Error: XPathEvaluator is not defined
Source File: javascript:new XPathEvaluator();
Line: 1
Expected Results:
Either create the XPathEvaluator object or if that class is deprecated or has
become a singleton, tell me so.
Comment 1•22 years ago
|
||
Probably a duplicate of bug 191916.
reporter: could you try if this is fixed in the latests nightlies?
Reporter | ||
Comment 3•22 years ago
|
||
Reporter | ||
Comment 4•22 years ago
|
||
This is not fixed in the latest nightly build/1.3b:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
However, the bug is not reproducible in the way i mentioned earlier.
javascript:new XPathEvaluator(); in the address bar does work, but the attached
script:
<script>
new XPathEvaluator();
</script>
does not.
Also: javascript:XPathEvaluator.prototype.constructor results in an error:
Error: XPathEvaluator.prototype has no properties
Source File: javascript:XPathEvaluator.prototype.constructor
Line: 1
While: javascript:DOMParser.prototype shows:
[xpconnect wrapped native prototype]
Comment 5•22 years ago
|
||
Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3b) Gecko/20030210
tested on my 1.3b talkback install, worksforme.
could you try a fresh install (prune previous installs good, too) on a fresh
profile?
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
this works for me too on a 1.3b-release on Win98SE.
Laurens: Did you test this on a release build?
Reporter | ||
Comment 7•22 years ago
|
||
I've tested this in 1.3 Beta
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
And the lastest nightly build:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030218
In both versions the bug is not fixed.
javascript:new XPathEvaluator(); works, but the new test case I attached still
generates an error.
Comment 8•22 years ago
|
||
I'm seeing this too on Win2k. My installed build is missing dom_xpath.xpt so
this might be a packaging problem.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Comment 9•22 years ago
|
||
The checkin for bug 186703 removed dom_xpath.xpt from packages-win but didn't
add it anywhere else, so DOM Level 3 XPath is completely broken on Windows. I
have no idea where we need to re-add it, I suppose packages-win since that's
where transformiix.dll is.
Assignee: peterv → ssu
Status: UNCONFIRMED → NEW
Component: XSLT → Installer
Ever confirmed: true
Flags: blocking1.3?
Assignee | ||
Comment 10•22 years ago
|
||
Sorry, peterv. I'll add it back in and recheck the packages-win patch file list
from bug 186703 to see if there are any other files in the same situation.
Status: NEW → ASSIGNED
Assignee | ||
Comment 11•22 years ago
|
||
Assignee | ||
Comment 12•22 years ago
|
||
Comment on attachment 114910 [details] [diff] [review]
patch v1.0
dom_xpath.xpt is added to the [browser] section of packages-win
Attachment #114910 -
Flags: superreview?(dveditz)
Attachment #114910 -
Flags: review?(chak)
Comment 13•22 years ago
|
||
Isn't XPath support a basic Gecko-like thing? the dom_* naming of the .xpt seems
to hint at this. If that's the case this might better go in the GRE rather than
in the browser application.
Updated•22 years ago
|
Attachment #114910 -
Flags: review?(chak) → review?(jst)
Comment 14•22 years ago
|
||
Comment on attachment 114910 [details] [diff] [review]
patch v1.0
r/sr=jst
Attachment #114910 -
Flags: review?(jst) → review+
Comment 15•22 years ago
|
||
Comment on attachment 114910 [details] [diff] [review]
patch v1.0
sr=dveditz given jst's blessing for the browser.xpi placement
Attachment #114910 -
Flags: superreview?(dveditz) → superreview+
Attachment #114910 -
Flags: approval1.3?
if transformiix is included in the GRE you should include dom_xpath.xpi, if
transformiix is not included there is very little point in including dom_xpath.xpi.
Assignee | ||
Comment 17•22 years ago
|
||
patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → FIXED
Comment 18•22 years ago
|
||
Comment on attachment 114910 [details] [diff] [review]
patch v1.0
safe packaging fix, a=dveditz
Attachment #114910 -
Flags: approval1.3? → approval1.3+
Reporter | ||
Comment 19•22 years ago
|
||
Thanks guys!
Updated•22 years ago
|
Flags: blocking1.3?
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•